Created
July 2, 2019 11:37
-
-
Save lessmore92/67f14d16c51c5856f895edc01892f174 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 LEMP Stack (PHP 7.2 - mariadb)
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
sudo apt update && sudo apt dist-upgrade | |
sudo apt update | |
sudo apt install nginx | |
sudo systemctl stop nginx.service | |
sudo systemctl start nginx.service | |
sudo systemctl enable nginx.service | |
sudo apt-get install mariadb-server mariadb-client | |
sudo systemctl stop mysql.service | |
sudo systemctl start mysql.service | |
sudo systemctl enable mysql.service | |
sudo mysql_secure_installation | |
apt-get update && apt-get upgrade | |
apt-get install python-software-properties | |
add-apt-repository ppa:ondrej/nginx | |
apt-get update | |
apt-get install php7.2 | |
apt install php7.2-fpm php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-intl php7.2-mysql php7.2-cli php7.2-zip php7.2-curl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment