Install WordPress (turnkey site)
The most used CMS to create a showcase site, blog or store.
What this tutorial does
The tutorial "Install WordPress (turnkey site)" helps you achieve this goal:
The most used CMS to create a showcase site, blog or store.
Debian/Ubuntu
-
Go to web folder: cd /var/www/html -
Download WordPress: wget https://wordpress.org/latest.zip -
Install unzip if necessary: apt install -y unzip -
Unzip: unzip latest.zip -
Assign rights: chown -R www-data:www-data /var/www/html/wordpress -
Create the database: mysql -u root -p -
In MySQL: CREATE DATABASE wordpress; -
CREATE USER "wpuser"@"localhost" IDENTIFIED BY "strong_password"; -
GRANT ALL PRIVILEGES ON wordpress.* TO "wpuser"@"localhost"; FLUSH PRIVILEGES; -
Go to http://IP/wordpress and complete the setup from the web interface.