How To Install OpenProject on Centos 7 Step-by-Step Guide

There are a few caveats that may not be obvious to everyone so I am going to cover them here but keep this in mind before starting.
 

Before starting install epel or you will be missing tesseract:

yum -y install epel-release

#1) When you specify your SSL certificate with a full path, it really needs to exist where you tell it to (including the default location of /etc/ssl/certs and /etc/ssl/certs/private).

Also note to make a cert there is a quick shell script in /etc/ssl/certs called "make-dummy-cert" that you can run to make the cert.

#2) server/hostname where you enter the fqdn of www.yourdomain.com is an actual vhost that gets created.  This means if you want the public to easily access the domain that you must control it and point it to your OpenProject server.

Here is where the vhost conf is and what it looks like (in case you want to change the vhost domain)

vi /etc/httpd/conf.d/openproject.conf


Include /etc/openproject/addons/apache2/includes/server/*.conf


  ServerName areebopenproject.com
  RewriteEngine On
  RewriteRule ^/?(.*) https://%{SERVER_NAME}:443/$1 [R,L]



  ServerName areebopenproject.com
  DocumentRoot /opt/openproject/public

  ProxyRequests off

  Include /etc/openproject/addons/apache2/includes/vhost/*.conf

  # Can't use Location block since it would overshadow all the other proxypass directives on CentOS
  ProxyPass / http://127.0.0.1:6000/ retry=0
  ProxyPassReverse / http://127.0.0.1:6000/

 

 

If not you can use your hosts file in linux or Windows to hardcode the IP to the FQDN.

 

Step - 1 Add Repo and install openproject:

wget -O /etc/yum.repos.d/openproject.repo \ https://dl.packager.io/srv/opf/openproject/stable/11/installer/el/7.repo

yum -y install openproject
openproject configure

*Note if the wget fails you are probably using an old repo so you will need to find the latest by visiting here:

https://docs.openproject.org/installation-and-operations/installation/packaged/#el-7

Step - 2 Curses Config

 

 

 

 

 

 

 

Note below that you are saying the cert is located exactly where the installer has it by default.

You can change it or leave it as is if you plan to copy the exact same cert there.

 

 The same issue goes for below, take a note of where the prviate key should be located.

Also note to make a cert there is a quick shell script in /etc/ssl/certs called "make-dummy-cert" that you can run to make the cert.

 

 

 

 

 


 

 

 

 

 

After that visit your domain to access OpenProject:

*Note that for a few minutes you may get this "Service Unavailable" message as OpenProject starts (this happens each time you start it such as after reboots).

 

 

The default login is admin/admin

 

 


Tags:

install, openproject, centos, guidethere, caveats, specify, ssl, certificate, default, etc, certs, cert, shell, quot, dummy, server, hostname, fqdn, www, yourdomain, vhost, domain, conf, vi, httpd, addons, apache, includes, virtualhost, servername, areebopenproject, rewriteengine, rewriterule, https, server_name, documentroot, opt, proxyrequests, overshadow, proxypass, directives, http, retry, proxypassreverse, hosts, linux, hardcode, ip, repo, wget, yum, repos, dl, packager, io, srv, opf, ce, installer, configure, curses, config, located, prviate,

Latest Articles

  • How high can a Xeon CPU get?
  • bash fix PATH environment variable "command not found" solution
  • Ubuntu Linux Mint Debian Redhat Youtube Cannot Play HD or 4K videos, dropped frames or high CPU usage with Nvidia or AMD Driver
  • hostapd example configuration for high speed AC on 5GHz using WPA2
  • hostapd how to enable and use WPS to connect wireless devices like printers
  • Dell Server Workstation iDRAC Dead after Firmware Update Solution R720, R320, R730
  • Cloned VM/Server/Computer in Linux won't boot and goes to initramfs busybox Solution
  • How To Add Windows 7 8 10 11 to GRUB Boot List Dual Booting
  • How to configure OpenDKIM on Linux with Postfix and setup bind zonefile
  • Debian Ubuntu 10/11/12 Linux how to get tftpd-hpa server setup tutorial
  • efibootmgr: option requires an argument -- 'd' efibootmgr version 15 grub-install.real: error: efibootmgr failed to register the boot entry: Operation not permitted.
  • Apache Error Won't start SSL Cert Issue Solution Unable to configure verify locations for client authentication SSL Library Error: 151441510 error:0906D066:PEM routines:PEM_read_bio:bad end line SSL Library Error: 185090057 error:0B084009:x509 certif
  • Linux Debian Mint Ubuntu Bridge br0 gets random IP
  • redis requirements
  • How to kill a docker swarm
  • docker swarm silly issues
  • isc-dhcp-server dhcpd how to get longer lease
  • nvidia cannot resume from sleep Comm: nvidia-sleep.sh Tainted: Linux Ubuntu Mint Debian
  • zfs and LUKS how to recover in Linux
  • [error] (28)No space left on device: Cannot create SSLMutex Apache Solution Linux CentOS Ubuntu Debian Mint