Installing the latest version of WordPress on your Linux hosting is a pretty straight forward and simple task. Anything is simple in the technical world once you know how, right?
There are two ways you can install WordPress – via cPanel software or manual installation. In this guide we will cover both options.
1. Install WordPress via cPanel
Most hosting companies will provide software application installers free of charge. The two most popular installers are named Fantastico and Softaculous. These are directly accessible via cPanel. You can use either of these installers to easily and quickly install your new WordPress site.
2. Install WordPress Manually
Some people do not have access to software application installers via cPanel, and some prefer to install WordPress manually. This is a very straight forward process, providing that you have direct access to your cPanel account. These details can be provided to you by your hosting company. Once you have your cPanel details ready, and you are logged in, follow the simple steps below to manually install your WordPress site.
1) Download the latest version of WordPress, available at: https://wordpress.org/download/. The files will download to your Download folder and will come in a ZIP file.
2) Upload the zip file directly to your /public_html folder (if you want to install your site on your main domain e.g. www.yoursite.com), or the directory in which you want to install WordPress (if you want to install it on a subfolder e.g. www.yoursite.com/mysite).
3) Extract the zip folder to your /public_html or chosen directory.
4) If you are using a Windows operating system, all files will be extracted directly to your chosen folder. If you’re using Mac OS, the zip file will extract a new subfolder, visible at /public_html/wordpress. It’s important that you move the folders and files from /public_html/wordpress to /public_html as outlined below:
5) You’re now ready to set up WordPress. Visit www.yoursite.com via your browser. You should see the following page:
6) Go ahead and choose your language and click “Continue” and the “Let’s Go” button on the following page. You should now see the following page:
7) This is when we’ll need to set up a few things in cPanel before proceeding. Go to your cPanel account and select MySQL Databases:
8) In this section, we will need to set up two things – a new database, and a new database user. Go ahead and create each, and copy and paste the names of each in to your WordPress setup page. It does not matter what names you give to your database and user, although it’s highly recommended that you assign a very strong password to your user.
95% of the time, SQL database names and user names have a prefix which will look like “yourname_database” and “yourname_user”.
9) Once you have pasted the three sets of data (Database Name, Database User, Database Password), your WordPress setup page should look like this:
10) Before you click Submit, you will need to go back to the SQL Databases section in cPanel, and assign some privileges so that your database user has full access to your database.
11) Select the user and database names you have just set up, and click the blue “Add” button. On the following page, select the checkbox that says “All Privileges” and click the “Make Changes” button at the bottom:
12) You are now ready to click the “Submit” button on your WordPress setup page. If you get a message which says “All right, sunshine!”, you are ready to proceed. If you get an error message, please ensure you have followed Steps 10 and 11 correctly.
13) Click the “Run the install” button on your setup page.
14) This is where you’ll need to provide the name of your blog, and to set up your administrator logins. Here’s an example of what you should enter. It’s advisory to assign a username other than “admin”, and to assign a strong password for security purposes.
15) Once you have filled in the information, you are ready to click the “Install WordPress” button.
16) You’ve now successfully installed your new WordPress site manually. You can access your WordPress dashboard at any time through the default admin URL at http://www.yoursite.com/wp-admin
17) You’re now ready to start building your WordPress site. Enjoy!