Skip to content

Instantly share code, notes, and snippets.

@LinauxTerminology
Last active March 7, 2021 17:00
Show Gist options
  • Select an option

  • Save LinauxTerminology/b4f255614b8c27e90d1f177e9f42cb10 to your computer and use it in GitHub Desktop.

Select an option

Save LinauxTerminology/b4f255614b8c27e90d1f177e9f42cb10 to your computer and use it in GitHub Desktop.
I Will Do Lemp Stack Setup Ubuntu 18.04
If you need LEMP Setup contact with me:
Email: urmirohman218@gmail.com
Skype: https://join.skype.com/
Telegram: https://t.me/LinauxTerminology
WhatsApp: +8801408694088
Imo: +8801408694088
twiteer:https://twitter.com/LinauxTerminoal
facebook:https://www.facebook.com/LinauxTerminology
bip:01314582960
instagram:urmirohman218@gmail.com
##Step 1 - Install Nginx
sudo apt update
sudo apt install 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';
GRANT CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT on *.* TO 'trainee'@'localhost' WITH GRANT OPTION;
use school;
FLUSH PRIVILEGES;
exit
@LinauxTerminology

Copy link
Copy Markdown
Author

Screenshot from 2021-02-21 12-58-32
Screenshot from 2021-02-21 12-55-45
Screenshot from 2021-02-21 12-58-13
Screenshot from 2021-02-21 12-58-29

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