WordPress, the most powerful and popular content management systems (CMS) will see a new release this week, Tuesday November 14. WordPress 4.9RC is currently done.. but some tests might be needed… you can install it, but maybe not in a production environment.
WordPress in RC state means that core development is done and ready to be shipped… but some testing might be needed for the thousands of themes and plugins that it supports.
This brief tutorial is going to show students and new users how to install WordPress 4.9 on Ubuntu 17.04 / 17.10 with Nginx, MariaDB and PHP support. You should probably not install the RC version in production, but can reference this post when it’s finally released on Tuesday.
To get started with installing WordPress, follow the steps below:
Step 1: Install Nginx
WordPress requires a webserver to function and the second most popular webserver in used today is Nginx. So, go and install Nginx on Ubuntu by running the commands below:
sudo apt install nginx
Next, run the commands below to stop, start and enable Nginx service to always start up with the server boots.
Then run the commands below to open WordPress configuration file.
sudo nano /var/www/html/wordpress/wp-config.php
Enter the highlighted text below that you created for your database and save.
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
/** Database Charset to use in creating database tables. */
/** The Database Collate type. Don't change this if in doubt. */
After that, open your browser and browse to your domain name to launch WordPress configuration wizard.
You should see WordPress setup wizard to complete. Please follow the wizard carefully.
Then type the WordPress website name and create a new admin user and password.. the click install.
This should install WordPress.
Congratulations! You’ve successfully installed WordPress on Ubuntu.