How to Install Openproject 8.3.1 on CentOS 7.6
- 00:17 sudo wget -O /etc/yum.repos.d/openproject-ce.repo https://dl.packager.io/srv/opf/openproject-ce/stable/8/installer/el/7.repo
- 00:24 sudo yum install openproject -y
- 00:36 openproject run env
- 00:43 openproject configure
- 01:22 systemctl start postgresql-10.service
- 01:28 sudo -u postgres psql
- 02:03 systemctl start postgresql-10.service
- 02:09 systemctl status postgresql-10.service
- 02:18 openproject reconfigure
- 03:22 systemctl restart openproject
Installation of OpenProject 8.3.1v On CentOS 7.6
Installation Procedure:
Add the openproject package to the yum repo in the following way.
[root@linuxhelp ~]# sudo wget -O /etc/yum.repos.d/openproject-ce.repo \
> https://dl.packager.io/srv/opf/openproject-ce/stable/8/installer/el/7.repo
--2019-06-01 07:07:38-- https://dl.packager.io/srv/opf/openproject-ce/stable/8/installer/el/7.repo
Resolving dl.packager.io (dl.packager.io)... 144.76.28.163
Connecting to dl.packager.io (dl.packager.io)|144.76.28.163|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 298 [text/plain]
Saving to: ‘/etc/yum.repos.d/openproject-ce.repo’
0% 0 --.-K/s 100% 298 --.-K/s in 0s
2019-06-01 07:07:38 (35.1 MB/s) - ‘/etc/yum.repos.d/openproject-ce.repo’ saved [298/298]
Install the openproject by executing the following command.
[root@linuxhelp ~]# sudo yum install openproject -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* epel: mirror2.totbb.net
* extras: mirrors.vhost.vn
* remi-php72: mirror.veriteknik.net.tr
* remi-safe: mirror.veriteknik.net.tr
* updates: mirrors.nhanhoa.com
openproject-ce/x | 473 B 00:00
Retrieving key from https://dl.packager.io/srv/opf/openproject-ce/key
Importing GPG key 0xBD33EEB8:
.
.
.
.
.
Installed:
openproject.x86_64 0:8.3.2-1556613669.e9ecaa3c.centos7
Dependency Installed:
dialog.x86_64 0:1.2-5.20130523.el7
postgresql-libs.x86_64 0:9.2.24-1.el7_5
Complete!
To configure the openProject,pass the ENV arguments
[root@linuxhelp ~]# openproject run env
XDG_VTNR=1
APP_WIZARDS=legacy-installer,postgres,apache2,repositories,smtp,memcached,openproject
SSH_AGENT_PID=15688
XDG_SESSION_ID=1
HOSTNAME=linuxhelp.com
IMSETTINGS_INTEGRATE_DESKTOP=yes
VTE_VERSION=5202
TERM=xterm-256color
SHELL=/bin/bash
.
.
.
.
PORT=6000
XDG_RUNTIME_DIR=/run/user/0
DISPLAY=:0
XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME
NODE_HOME=/opt/openproject/.heroku/node
COLORTERM=truecolor
XAUTHORITY=/run/gdm/auth-for-root-3E4VL8/database
Configure the openproject by installing PostGreSQL
[root@linuxhelp ~]# openproject configure
Launching installer for openproject...
Selected addons: legacy-installer postgres apache2 repositories smtp memcached openproject
[legacy-installer] ./bin/configure
[postgres] ./bin/configure
DONE
.
.
.
Dependency Installed:
postgresql10-libs.x86_64 0:10.8-1PGDG.rhel7
Complete!
Initializing database ... OK
Created symlink from /etc/systemd/system/multi-user.target.wants/postgresql-10.service to /usr/lib/systemd/system/postgresql-10.service.
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.45432"?
Get rid of the above warning by starting the service of postgresql.
[root@linuxhelp ~]# systemctl start postgresql-10.service
Log in to the postgresql database to configure the open-project
[root@linuxhelp ~]# sudo -u postgres psql
could not change directory to "/root": Permission denied
psql (10.8)
Type "help" for help.
postgres=# create database openproject;
CREATE DATABASE
postgres=# create user openpuser with encrypted password 'Linuxc@25';
CREATE ROLE
postgres=# grant all on database openproject to openpuser;
GRANT
postgres=# \q
After configuring the openproject,start and check the service of postgresql service
[root@linuxhelp ~]# systemctl start postgresql-10.service
[root@linuxhelp ~]# systemctl status postgresql-10.service
● postgresql-10.service - PostgreSQL 10 database server
Loaded: loaded (/usr/lib/systemd/system/postgresql-10.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2019-06-01 07:15:02 IST; 10min ago
Reconfigure the openproject to enter the database details that we have configured inside the postgresql database
[root@linuxhelp ~]# openproject reconfigure
Launching installer for openproject...
Selected addons: legacy-installer postgres apache2 repositories smtp memcached openproject
[legacy-installer] ./bin/configure
[postgres] ./bin/configure
.
.
.
memcached.x86_64 0:1.4.15-10.el7_3.1
Complete!
Note: Forwarding request to 'systemctl enable memcached.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/memcached.service to /usr/lib/systemd/system/memcached.service.
[openproject] ./bin/preinstall
[legacy-installer] ./bin/postinstall
[postgres] ./bin/postinstall
Now Restart the service of openproject
[root@linuxhelp ~]# systemctl restart openproject
Open the browser and enter the ip address
Click on Sign to enter the default admin credentials of openproject
Change the password of the openproject
Select the language in the dashboard of openproject.
With this,the method to install the openproject 8.3.1 version on centos 7.6 comes to end.
Comments ( 0 )
No comments available