Created
October 2, 2017 03:53
-
-
Save donaldsteele/1479b1f16f63d8a6cb19ec50d57d6ea6 to your computer and use it in GitHub Desktop.
Linux eNginx Mysql Php (LEMP) auto install script for ubuntu 16.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt-get update && apt-get upgrade | |
systemctl stop apache2 | |
apt-get remove --purge apache2 | |
apt-get install -y nginx | |
systemctl start nginx | |
systemctl enable nginx | |
systemctl status nginx | |
apt-get install -y php-fpm php-mysql | |
apt-get install -y mysql-server | |
mysql_secure_installation | |
systemctl start mysql | |
systemctl enable mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment