How to install LEMP. ( Linux, Nginx, MySQL, Php) on Ubuntu 22.04

preview_player
Показать описание
Learn how to install a LEMP server on the latest version of Ubuntu 22.04 Install Nginx, PHP, and MySQL

Issues Solutions:-

*Enable SSH
sudo ufw enable
sudo ufw allow ssh

*Mysql Secure Issue
sudo mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'my-secret-password';
exit;
Run sudo mysql_secure_installation command, and complete steps of securing Mysql.

*PHP page render issue

sudo nano /etc/nginx/sites-available/default

location / {
}

location ~ \.php$ {
include fastcgi_params;
fastcgi_read_timeout 180;
}

-----------------------------------------------------------------------
-----------------------------------------------------------------------
Please don’t Forget to Like, Share & Subscribe
Please Like and Subscribe our channel. This will really boost our confidence and encourage to make more videos for you. Thanks
-------------------------------------------------------------------------

#LEMP #Lempstack #ubuntu22.04 #coding #howtocode #server #servers #linux #nginx #mysql #php #aws #awsec2 #ec2
Рекомендации по теме