Important configuration files needed to set up servers that are symlinked into /etc
to setup:
on nyc1 (running HAProxy and Apache):
ln -s /et-cetera/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg
ln -s /et-cetera/apache2/nyc1-ports.conf /etc/apache2/ports.conf
ln -s /et-cetera/apache2/sites-available/nyc1.conf /etc/apache2/sites-available/environmentaldashboard.org.conf
ln -s /et-cetera/letsencrypt/cli.ini /etc/letsencrypt/cli.ini
ln -s /et-cetera/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/mysql.conf.d/mysqld.cnf
# Before running this command, make sure you take the backup of existing crontab in case of any rollback
crontab /et-cetera/crontab/nyc1
on any worker node (running apache):
ln -s /et-cetera/apache2/node-ports.conf /etc/apache2/ports.conf
ln -s /et-cetera/apache2/sites-available/node.conf /etc/apache2/sites-available/environmentaldashboard.org.conf
ln -s /et-cetera/letsencrypt/cli.ini /etc/letsencrypt/cli.ini
# Before running this command, make sure you take the backup of existing crontab in case of any rollback
crontab /et-cetera/crontab/node
apache needs the following modules enabled:
a2enmod access_compat alias auth_basic authn_core authn_file authz_core authz_host authz_user autoindex deflate dir env filter headers mime mpm_prefork negotiation php7.2 proxy_http proxy reqtimeout rewrite setenvif socache_shmcb ssl status