Do-It-Yourself WordPress Installation

Posted on May 5, 2008 by Yan

If you're new here, you may want to subscribe to my RSS feed or via Email. Thanks for visiting!

Installing WordPress on your web server shouldn’t be too much of a task. It is relatively easy to perform even for a beginner.

In my pervious article on How To Use FTP- The Basic, I’ve introduced to you what FTP is and recommended several FTP clients for your perusal. Knowing how to use FTP is the first essential step to WordPress Installation. The other is to know how to setup your WordPress Database.

Today I am writing a simple tutorial on How to Setup Your MySQL Database and How To Install WordPress on your web server.

What is MySQL Database?

MySQL Database allows you to organize and store your data such as your posts, pages of your blog and other information which can be easily accessed by the user you have assigned.

How to Setup your Database?

  1. Go to your www.yourdomain.com/cpanel
  2. Once you are login to the cPanel, somewhere at the bottom, usually under Databases, you probably would see MySQL Database icon. Click on it to access.
  3. Under Create New Database, choose an appropriate name of your database (for simplicity, WP is good) and click ‘Create Database‘ button.
  4. Now under MySQL Users, you need to Add New User.
  5. Finally you need to Add User To Database. Select the the right User to assign to the Database from the dropdown menu and click the ‘Add’ button.

That’s it. You are done with your database setup.

How to Install WordPress?

Once your database has been setup, the next necessary step is to tell WordPress which database will be assigned to and which user has the access privilege. This is done by editing your wp-config-sample.php found in your WordPress download folder.

The first thing you need to do is to rename wp-config-sample.php to wp-config.php. Open the file using any text editor and find the following lines of code inside

// ** MySQL settings ** //
define('DB_NAME', 'putyourdbnamehere');    // The name of the database
define('DB_USER', 'usernamehere');     // Your MySQL username
define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value

All you need to do is to define the relevant database values and save the file.

Uploading WordPress files via FTP

Using your choice of FTP client, you would now upload all the WordPress Installation files to your directory /public_html or /www.Please note that you do not upload the folder itself, only those files inside the folder. If you plan to install your WordPress on a subdirectory i.e www.yourdomain.com/blog, you have to create a folder named ‘blog’ on the server and upload those files to /public_html/blog or /www/blog.

Upon successful upload, go to www.yourdomain.com/wp-admin/install.php to run WordPress installation script. When you see the WordPress Installation page, you have successfully installed your WordPress on your web server. From here Wordpress will guide you through with the next step of installation.

You're done.

I hope you will find this simple tutorial helpful and I do appreciate your comments and feedbacks. If you are still not inclined to do the installation yourself, you can ask me to help you with the WordPress Installation.

Did you miss any of these?

Readers who viewed this page, also viewed:

  • N/A

Got something to say?

Your input matters. If you have any thoughts on ' Do-It-Yourself WordPress Installation', I'll be pleased to hear from you.

Name

Email

Website