Create a CentOS 7 VPS.
Update your system & disable SELinux
Start the installation by updating system packages to the latest release.
#sudo yum -y update
Next, disable SELinux in CentOS
edit /etc/selinux/config file and run a command setenforce 0 to disable SELinux in CentOS.
![](https://172.105.20.94/wp-content/uploads/2021/12/image-108.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-109.png)
Reboot Linux VPS server.
Add the OpenProject Repository
Next is to add OpenProject Repository by executing the below commands in your terminal.
# sudo yum -y install wget # sudo wget -O /etc/yum.repos.d/openproject.repo https://dl.packager.io/srv/opf/openproject/dev/installer/el/7.repo
Install OpenProject on CentOS 7
Run the commands below to install OpenProject on CentOS 7 # sudo yum -y install openproject
Run the command below to configure OpenProject
#sudo openproject configure Select “Install a new PostgreSQL server and database locally”
![](https://172.105.20.94/wp-content/uploads/2021/12/image-110.png)
Select “Install Apache2 server”
![](https://172.105.20.94/wp-content/uploads/2021/12/image-111.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-112.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-113.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-114.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-115.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-116.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-117.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-118.png)
Choose Sendmail application as the default send email service on CentOS.
![](https://172.105.20.94/wp-content/uploads/2021/12/image-119.png)
Enter admin email to be used for access and notifications.
![](https://172.105.20.94/wp-content/uploads/2021/12/image-122.png)
Choose to install Memcache server.
![](https://172.105.20.94/wp-content/uploads/2021/12/image-123.png)
The installation was failed because the issue below
![](https://172.105.20.94/wp-content/uploads/2021/12/image-124.png)
Run the command below to generate a self-signed certificate for OpenProject. # sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/certs/openproject.cisa2380.tk.key -out /etc/ssl/certs/openproject.cisa2380.tk.crt
![](https://172.105.20.94/wp-content/uploads/2021/12/image-125.png)
# mkdir /etc/ssl/private/
# cp /etc/ssl/certs/openproject.cisa2380.tk.key /etc/ssl/private/
Run the command below to complete the installation
#sudo openproject reconfigure
Allow port 80 and 443 on the CentOS firewall.
![](https://172.105.20.94/wp-content/uploads/2021/12/image-126.png)
After finishing OpenProject installation, log into OpenProject with default user/password is admin/admin.
![](https://172.105.20.94/wp-content/uploads/2021/12/image-127.png)
Install certbot on OpenProject.
![](https://172.105.20.94/wp-content/uploads/2021/12/image-128.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-129.png)
Restart Apache web service.
![](https://172.105.20.94/wp-content/uploads/2021/12/image-130.png)
# cat /etc/httpd/conf.d/openproject.conf
![](https://172.105.20.94/wp-content/uploads/2021/12/image-131.png)
![](https://172.105.20.94/wp-content/uploads/2021/12/image-133.png)
Log into the OpenProject and see the interface will be redirected to HTTPS.
![](https://172.105.20.94/wp-content/uploads/2021/12/image-132.png)