After preparing our database as illustrated in the previous tutorial, the next step is to download and configure the WordPress CMS and upload into the web server.
This tutorial does require a basic knowledge of PHP.
Things you’ll need:
- WordPress Core
- FTP Software (I am using Filezilla) free
- Code Editing Software (I am using notepad++) free
Here are the 5 easy steps to configure the WordPress CMS for installation.
1. Download the WordPress CMS Package
Download WordPress CMS package from the official WordPress repository and save the file into your local computer. I recommend downloading the zip format.
2. Extract the WordPress CMS
Extract the file using your favorite compression tool (I used WinZip to extract files in most cases). Wait for the extractor to finish then open the “
wordpress” folder afterwards. This will serve as your local root directory.
3. Create wp-config.php
This step is optional. You can skip this and just enter the database information upon WordPress installation.
Create a duplicate copy of the file
wp-config-sample.php that you can find in the local root directory. Rename the duplicate to
4. Edit wp-config.php
If you skip step 3 then this step is no longer necessary.
Using your favorite code editor, open the
wp-config.php and edit the database information.
DB_NAME is your database name,
DB_USER is your database user,
DB_PASSWORD is your database user’s password, and
DB_HOST is your database host name (usually this is
localhost but this may differ in every web host. Ask your web host if you are not sure.).
You can also change the database prefix which is optional but recommended for security purpose. Changing this after installation is a bit tricky so you better decide if you will change it or not.
5. Upload WordPress
This final step is only applicable if you want to install WordPress into a remote live server. If you want to install WordPress locally, skip this step.
Upload all the files within the local root directory into the website server’s root directory using your favorite FTP software.
Finally, we are ready to install WordPress.