WordPress
Deploy WordPress with Nginx + PHP-FPM + MySQL/MariaDB.
Insert screenshot of Marketplace → WordPress here
Prereqs
Ubuntu LTS VM (2 vCPU, 4 GB RAM)
Security group: 22, 80, 443
Steps ▶️
# Packages
sudo apt update && sudo apt -y install nginx mysql-server php-fpm php-mysql php-xml php-gd php-curl php-zip php-mbstring unzip
# DB
sudo mysql -e "CREATE DATABASE wp; CREATE USER 'wp'@'%' IDENTIFIED BY 'StrongPass!'; GRANT ALL ON wp.* TO 'wp'@'%'; FLUSH PRIVILEGES;"
# WordPress
cd /var/www && sudo wget https://wordpress.org/latest.zip && sudo unzip latest.zip && sudo chown -R www-data:www-data wordpress
Configure Nginx server block for root /var/www/wordpress;
and enable HTTPS.
Insert screenshot of WordPress installer here
Last updated
Was this helpful?