Deploy Wordpress with LEMP Stack Ubuntu 24.04
Install Nginx
sudo apt update
sudo apt install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
Install MariaDB
sudo apt install mariadb-server
sudo systemctl start mariadb
sudo systemctl enable mariadb
sudo mysql_secure_installation
Create a Database for WordPress
sudo mysql -u root -p
Then in the MariaDB shell: