Skip to content

Instantly share code, notes, and snippets.

@banna360
Created December 31, 2017 16:55
Show Gist options
  • Save banna360/8419575f8a89bf6bf75ba2de25bb25cc to your computer and use it in GitHub Desktop.
Save banna360/8419575f8a89bf6bf75ba2de25bb25cc to your computer and use it in GitHub Desktop.
$ sudo apt-get update
$ sudo apt-get install nginx
$ sudo ufw allow 'Nginx HTTP'
$ sudo ufw status
# You should see HTTP traffic allowed in the displayed output:
Output
Status: active
To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
Nginx HTTP ALLOW Anywhere
OpenSSH (v6) ALLOW Anywhere (v6)
Nginx HTTP (v6) ALLOW Anywhere (v6)
$ sudo apt-get install mysql-server
$ mysql_secure_installation
# FULL TUTS https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment