Wednesday, February 6, 2008

How to Install a Wordpress Blog on Your Server?

Wordpress blog creation will take you about 30 minutes. It is not a complicated thing to do provided you follow all the instructions. The whole process consists of several main parts:

1) Wordpress.2.0. installation pack downloading;

2) Wordpress 2.0. installation pack uploading on your own server;

3) My SQL Data base creation;

4) Your Wordpress blog installation and setting up.

Let’s now scrutinize the mentioned above actions step-by-step.

1. You can download a wordpress.2.0. installation pack at http://wordpress.org/download/.

Click on DOWNLOAD.ZIP button and start downloading your wordpress installation pack.

2. As soon as you downloaded the installation pack onto your computer, unzip it with the help of some decoding software like WinRar or WinZip, or any other you will find available to decode zipped files. After that, the next thing to do is to open up the FTP connection for your server yourdomainname.com.

As soon as you get access to your server, open your root directory (meaning the public_html directory) and upload the unzipped wordpress installation pack right into the root dir. (Do not create any subsidiary folders – your wordpress blog should be placed in the root directory to be then available at http://www.yourdomainname.com).

We shall now prepare for our My SQL data base creation. For this we need to edit our wp-config-sample.php file. Let’s now make it clear what changes we should make to this file to make our My SQL data base function properly. Look at the content below:

// ** MySQL settings ** //

define('DB_NAME', 'your FTP username_blog'); // The name of the database

define('DB_USER', 'your FTP username_ blog'); // Your MySQL username

define('DB_PASSWORD', 'any password you like'); // ...and password

define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

// You can have multiple installations in one database if you give each a unique prefix

$table_prefix = 'wp_'; // Only numbers, letters, and underscores please!

// Change this to localize WordPress. A corresponding MO file for the

// chosen language must be installed to wp-includes/languages.

// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'

// to enable German language support.

define ('WPLANG', '');

/* That's all, stop editing! Happy blogging. */

define('ABSPATH', dirname(__FILE__).'/');

require_once(ABSPATH.'wp-settings.php');

?>

Underlined is the info you should change. You see that your database name should consist of your FTP username and any name you like, for example, blog, separated from each other with underscore _ .

Your database username should be the same as your database name (this is important!)

You can choose any password you like. Only, remember it – you will need it soon to create a My SQL database.

After you made the necessary changes to wp-config-sample.php file, rename it into wp-config.php.

3. Now, you are ready to create you’re my SQL database.

The first thing to do in to enter your c-panel, which is available at: http://www.yourdomainname.com/cpanel. As you get in your c-panel, press the “My SQL Databases” button. Remember you edited your wp-config.php file? Now, you will need the information you entered in there to enter into these lines:

New Database: enter the name of your database which follows the second as you entered for your wp-config.php file. Click on Create Database button. Go back.

Then below you’ll see the passage: Current Users. Here you will need the username and password that you used for your wp-config.php file. Your username should coincide with your database name. Click on Create User. Go back. Then, look below: Add Users to Your Databases. Find the User you just created, find the Database you just created and click on Add User to Database.

That’s it. The main thing is to have all the information you enter here identical with the infomation you entered for your wp-config.php file. Otherwise, you’ll get a Wordpress error.

If everything is ok, you can log out and go to http://www.yourdomainname.com/ - this is the destination of your future blog. If you did everything correctly, you’ll get a message at the top of the window: “It seems like you did not install your wordpress blog yet. Please, try running install.php”. Click on install.php link and it will automatically bring you to http://www.yourdomainname.com/install.php.

No comments: