This is for Ubuntu 16.04/17.10, Nginx, MySQL & PHP (LEMP)
Restart Nginxsudo systemctl restart nginx
sudo systemctl reload nginx (only reload config file)
Restart PHP
sudo systemctl restart php7.0-fpm
Nginx config file
sudo nano /etc/nginx/nginx.conf
PHP config file
sudo nano /etc/php/7.0/fpm/php.ini
PHP Hosts file (sites-available/default)
sudo nano /etc/nginx/sites-available/default
Check syntax
sudo nginx -t
Firewall Status
sudo ufw status
Extract .tar.gz
sudo tar -xvzf file.tar.gz
optionally add -C destination/
Comments