Created
February 8, 2020 09:41
-
-
Save khoa-le/892826443182fb35443b60925b093818 to your computer and use it in GitHub Desktop.
install lemp ubuntu 18.04
This file contains hidden or 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/bash | |
| sudo apt update && sudo apt upgrade | |
| sudo apt install nginx | |
| sudo apt install php-fpm | |
| sudo sed -i 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php/7.2/fpm/php.ini | |
| sudo apt install php7.2-xml php7.2-mbstring php7.2-intl php7.2-curl php7.2-gd php7.2-mysql php7.2-zip | |
| sudo apt install unzip | |
| sudo apt install mysql-client-core-5.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment