Last active
February 25, 2021 16:25
-
-
Save LinauxTerminology/2db182897b618427e418ccab57828ef9 to your computer and use it in GitHub Desktop.
I Will Do Install Wordpress with LEMP
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
| ##Install Nginx | |
| sudo apt update | |
| sudo apt install nginx | |
| systemctl restart nginx | |
| systemctl enable nginx | |
| sudo service nginx status | |
| sudo ufw allow OpenSSH | |
| sudo ufw allow 'Nginx HTTP' | |
| sudo ufw enable | |
| sudo ufw status | |
| ip a | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1' | |
| sudo nano /var/www/html/index.nginx-debian.html | |
| To save and close nano, press CTRL + X and then press y and ENTER to save changes. | |
| Step 2 — Installing MySQL | |
| sudo apt install mysql-server | |
| sudo service mysql status | |
| sudo mysql_secure_installation | |
| sudo mysqladmin -p -u root version | |
| CREATE DATABASE school; | |
| CREATE USER 'trainee'@'localhost' IDENTIFIED WITH mysql_native_password BY 'D@y-7869'; | |
| ALTER USER 'trainee'@'localhost' IDENTIFIED WITH mysql_native_password BY 'D@y-7869'; | |
| use school; | |
| FLUSH PRIVILEGES; | |
| exit | |
| #wordpress lemp #install wordpress lemp ubuntu 18.04 #wordpress |
LinauxTerminology
commented
Feb 25, 2021
Author




Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment