This guide installs WordPress on a LAMP/LEMP stack.
cd /tmp
wget https://wordpress.org/latest.tar.gz
tar -xzf latest.tar.gz
sudo rsync -av wordpress/ /var/www/html/
sudo mysql -u root -p
CREATE DATABASE wordpress_db CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE USER 'wordpress_user'@'localhost' IDENTIFIED BY 'StrongPassword123!';
GRANT ALL PRIVILEGES ON wordpress_db.* TO 'wordpress_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;
wp-config.phpcd /var/www/html
cp wp-config-sample.php wp-config.php
Edit wp-config.php and set:
DB_NAME to wordpress_dbDB_USER to wordpress_userDB_PASSWORD to StrongPassword123!DB_HOST to localhostOpen http://example.com and follow the web installer to create the admin account and site title.
Check the WordPress installation guide or reach out via our contact page.