lemp-stack
lemp-stack copied to clipboard
🤖 LEMP w/ PHP7.X & MariaDB on Ubuntu 16/17/18 x64
Based on some of these tips https://github.com/A5hleyRich/wordpress-nginx
Include the logrotate for each vhost in logrotate config? Renaming the vhost logs to $HOSTNAME-{access,error}.log for better logrotate logging?
Especially include the HTTPS version -> https://irulan.net/nginx-http-and-https-default-server/
## 1. Create the sftp group and put desired user to that group. ```bash $ sudo groupadd sftp $ sudo usermod -g sftp yournewuser ``` ## 2. Update the SSH...
👉 https://gist.github.com/lucien144/dc34bb91cde424681ac1d701d7f6e8e6
Ref: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-mongodb-on-ubuntu-16-04
```sh $ apt-get install -y sendmail $ sudo sendmailconfig $ hostname $ sudo nano /etc/hosts # 127.0.0. localhost localhost.localdomain hostname $ sudo ufw allow 587 $ sudo service ufw restart...