Setup Linux Web Server (CentOS)
Setup Linux Web Server
sudo apt-get install php libapache2-mod-php
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash –
sudo apt-get install nodejs
sudo systemctl enable vsftpd
sudo systemctl restart vsftpd
sudo systemctl restart apache2
sudo chmod -R 755 ./*
Apache2, change root directory
Apache2 configuration
Add configuration file from conf-enabled sudo a2enconf nominatim
SSL configuration
Set path to certificate files at SSLCertificateFile, SSLCertificateChainFile, SSLCertificateKeyFile