Audience: System administrators installing and configuring Sapho Server
This is step-by-step guide for Ubuntu/Debian and CentOS based operating systems and these steps may vary slightly depending on your configuration and environment.
Step 1: Install Apache HTTP Server
sudo apt-get install -y apache2
CentOS based distributions
sudo yum install -y httpd24
Step 2: Configure Apache HTTP Server
- Download https://github.com/saphoinc/config-templates/blob/master/httpd.conf to
- If you are installing Apache HTTP Server on a server other than the one Sapho/Tomcat is on, then update these tomcat.conf directives as needed:
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
- Restart Apache HTTP Server
sudo service httpd restart
Step 3: Enable SSL (Optional)
For SSL Certificate Installation in Apache see the how to by DigiCert.