A series of steps to follow for installing LEMP stack on Linux
-
sudo apt update
-
sudo apt install nginx
-
sudo apt install mysql-server
-
sudo apt install php-fpm php-mysql php-mbstring php-dom php-curl php-zip
-
sudo mysql mysql> CREATE USER 'example_user'@'%' IDENTIFIED WITH mysql_native_password BY 'password'; mysql> GRANT ALL ON example_database.* TO 'example_user'@'%'; mysql> exit