DevOps Tools/Issue Tracking/OpenProject
From r00tedvw.com wiki
Contents |
Manual Installation
Note: Done on CentOS7
Create user/group
~$ sudo useradd openproject -d /home/openproject -G openproject ~$ sudo passwd openproject
Install dependencies
~$ sudo yum install -y epel-release ~$ sudo yum install -y zlib-devel gcc gcc-c++ glibc-devel make openssl-devel readline-devel libyaml-devel gdbm-devel ncurses-devel automake libtool bison libffi-devel git curl poppler-utils unrtf tesseract catdoc libxml2 libxml2-devel libxslt-devel ImageMagick memcached
Install PostgreSQL
~$ sudo yum install -y postgresql-server postgresql-contrib libpqxx-devel
Create User and DB
~$ sudo postgresql-setup initdb ~$ sudo systemctl start postgresql.service ~$ sudo su - postgres bash$ psql postgres=# CREATE USER openproject WITH PASSWORD 'Password1'; postgres-# createdb -O openproject openproject postgres-# \q
Install rbenv
dependencies
~$ sudo yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel
Setup ENV
~$ sudo su openproject ~$ git clone git://github.com/sstephenson/rbenv.git .rbenv ~$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile ~$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile ~$ exec $SHELL ~$ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build ~$ echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profile ~$ exec $SHELL ~$ source ~/.bash_profile