WordPress is a free open source software, which you can install on your hosting account. Webmasters use WordPress to create any kind of websites. From simple blogs to complex e-commerce websites – anything can be built using WordPress. Due to its simplicity and versatility WordPress has become one of the most popular CMS. Many premium hosting companies like SharkHosting have the option to install WordPress by using auto installers. It literally takes just a few mouse clicks to have WordPress up and running on your hosting account. If you’ve decided to create a WordPress website, this tutorial is for you. You will learn how to install WordPress by using auto installers as well as how to manually install WordPress with the famous 5-minute WordPress installer.
What you’ll need
Before you begin this guide, you’ll need the following:
- Access to your hosting control panel
- FTP client (optional)
Option 1 – Installing WordPress with Softaculous Auto Installer
Because of its easy installation and maintenance, Softaculous is a popular auto installer on hosting providers who use cPanel. With Softaculous you can install a handful of different CMS and Apps with just a few mouse clicks.
Follow these steps to install WordPress with Softaculous:
- After accessing cPanel, find the Softaculous icon and click it.
- Click on WordPress icon. It should be on the very first page of Softaculous.
- You will see Softaculous WordPress installation window. It has quite a few different settings: Press Install button and Softaculous will begin installing WordPress.
- Choose Protocol – Choose protocol for your WordPress site. If you have SSL installed, it’s highly recommended to install WordPress on HTTPS protocol.
- Choose Domain – If you have subdomains or add-on domains in your cPanel, you can select them here.
- In Directory – Enter WordPress installation directory. If you want to install WordPress on root domain name, leave it empty.
- Site Name – Enter the name for your WordPress site.
- Site Description – Your WordPress site description goes here.
- Enable Multisite – Choose whether or not to enable WordPress Multisite. This feature allows creating multiple WordPress sites using the same WordPress installation.
- Admin Username – Choose the username for your administrator account.
- Admin Password – Password for your WP administrator account.
- Admin Email – Enter your email address here. Be sure to enter a working email as it will be used to send notifications and password reset requests.
- Select Language – WordPress supports a lot of languages. Choose your language here.
- Select Plugins – Choose plugins you want to pre-install.
Option 2 – Installing WordPress Manually on cPanel
To setup WordPress manually on cPanel, you will have to follow these steps:
- Download WordPress installation files.
- Upload WordPress files using cPanel’s File Manager.
- Create a MySQL database.
- Run WordPress 5-minute installation wizard.
Step 1 – Download WordPress installation
The latest version can be downloaded from the official page here. Click Download WordPress button in order to start the download. Save .zip archive to your computer. You will need it in the next step.
Step 2 – Upload WordPress files using File Manager
As you may already know there are quite a few ways to upload WordPress files to hosting account. One of them is by using cPanel’s File Manager:
- Access cPanel and open File Manager.
- Open public_html directory and press Upload button.
- Press Select File and choose WordPress .zip archive you have downloaded in the first step.
- Once the upload is completed status bar will turn green. Press Go Back to “/home/username/public_html” button.
- Select .zip archive, press Extract button and Extract File(s) to proceed.
- WordPress files are in the folder named wordpress. Unless you want to access your blog via http://yourdomain.com/wordpress you need to move WP files to the public_html directory. In order to do so, access wordpress folder, select all files and click on Move button.
- Delete wordpress from file path that you want to move files to and press Move File(s)button.
- Finally, select wordpress folder and .zip archive while holding the SHIFT key and press Delete button.
Step 3 – Create MySQL Database
There are 2 ways to create a MySQL database on cPanel. You can either do this manually on MySQL Databases section or use MySQL Database Wizard. The second option is more user-friendly:
- Head to cPanel and click on MySQL Database Wizard icon.
- Enter the name for your MySQL database.
- On this step enter username and password. It’s recommended to use Password Generator tool as it’ll generate random, secure password for you. Once you are done, hit Create User button.
- You would want to assign all privileges for your user. Select ALL PRIVILEGES and click on Next Step.
- That’s it, MySQL database along with the user has been created successfully.
IMPORTANT: Write down MySQL database credentials. You will need them in the next step.
Step 4 — Run WordPress 5-minute installation wizard
At this step, all WordPress files must be already uploaded and MySQL database must be created. Let’s go ahead and start the installation process. Open your domain name in a web browser and follow these steps:
- Choose preferred language and press Continue button.
- On the next screen, you will be asked to gather all required information for manual WordPress installation. You can proceed and press Let’s Go button since you already have everything you need.
- Now enter information of the MySQL database you created in Step 3 and press Submit button.
- WordPress will check if MySQL credentials are correct. Press Run the install.
- On the next screen, you will be asked to enter your blog and administrator account details. Enter all required details and press Install button. It is strongly recommended to enter your real email address as it will be used to reset WordPress admin area password in case you lose it.
- Congratulations, you have just manually installed WordPress.
By finishing this tutorial you’ve learned how to install WordPress manually and by using auto installers.