Tuesday, January 11, 2011

Wordpress Installation

Wordpress Installation :

Step 1: Download and Extract

If you will be uploading the wordpress to a remote server, download the WordPress package to your computer with a web browser and unzip the package.

If you have shell access to your web server, and are comfortable using console-based tools, you may wish to download WordPress directly to your web server using wget (or lynx or another console-based web browser) if you want to avoid FTPing:
• wget http://wordpress.org/latest.tar.gz
• Then unzip the package using:
tar -xzvf latest.tar.gz

The WordPress package will extract into a folder called wordpress in the same directory that you downloaded latest.tar.gz.


Step 2 : Create the database and a user

If you are using a hosting provider, you may already have a WordPress database set up for you, or there may be an automated setup solution to do so. Check your hosting provider's support pages or your control panel for clues about whether or not you'll need to create one manually.
If you determine that you'll need to create one manually, follow the instructions for accessing phpMyAdmin on various servers, or follow the instructions for Using cPanel or Using phpMyAdmin below.
If you are installing WordPress on your own web server, follow the Using phpMyAdmin or Using the MySQL Client instructions below to create your WordPress username and database.
If you have only one database and it is already in use, you can install WordPress in it - just make sure to have a distinctive prefix for your tables, to avoid over-writing any existing database table.



Step 3 Set up wp-config.php
In word press you can either creater or edit the wp-config.php file or skip try to do this by itself .
In word press config file add the database information and save the config file
DB_NAME
The name of the database you created for WordPress in Step 2 .
DB_USER
The username you created for WordPress in Step 2.
DB_PASSWORD
The password you chose for the WordPress username in Step 2.
DB_HOST
The hostname you determined in Step 2 (usually localhost, but not always; see some possible DB_HOST values).
DB_CHARSET
The database character set, normally should not be changed (see Editing wp-config.php).
DB_COLLATE
The database collation should normally be left blank (see Editing wp-config.php).
Enter your secret key values under the section labeled
* Authentication Unique Keys.

Save the wp-config.php file.

Step 4 Upload the files
• In the root directory of your web site. (For example, http://example.com/)
• In a subdirectory of your web site. (For example, http://example.com/blog/)
In a root directory
• If you need to upload your files to your web server, use an FTP client to upload all the contents of the wordpress directory (but not the directory itself) into the root directory of your web site.
• If your files are already on your web server, and you are using shell access to install WordPress, move all of the contents of the wordpress directory (but not the directory itself) into the root directory of your web site.


In a Subdirectory
• If you need to upload your files to your web server, rename the wordpress directory to your desired name, then use an FTP client to upload the directory to your desired location within the root directory of your web site.
• If your files are already on your web server, and you are using shell access to install WordPress, move the wordpress directory to your desired location within the root directory of your web site, and rename the directory to your desired name.

Step – 5 Run the install script

In root directory you should visit http://localhost/wp-admin/install.php
If you placed the WordPress files in a subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php

Setup the configuration file

If wordpress can’t find the configuration file then create-edit the file itself but wordpress required the database details and write it wp-config.php file.


Step 6 Finish the installation

No comments:

Post a Comment