Board index Linux Installation Stuffs

Moderator: chandranjoy

Wordpress

Postby chandranjoy » Sun Mar 07, 2010 6:00 pm

Wordpress Installation steps:

Before going the wordpress installation, please Verify that the server
supports the following programs.

1. PHP version 4.2 or greater
2. MySQL version version 4.0 or greater
3. The Apache mod_rewrite module


Getting Started with MySQL

Setup your MySQL database from within your control panel and note the
followings to proceed further.

1. Database Name
2. User Name
3. Password
4. Host Name


OR
We can create a db and db user manually using given below steps.

mysql -u root -p
Enter root mysql password.
then,
mysql> CREATE DATABASE wp_db;
mysql> CREATE USER 'wp_user'@'localhost' IDENTIFIED BY 'wpass';
mysql> GRANT ALL PRIVILEGES ON wp_db.* TO 'wp_user'@'localhost' WITH GRANT
OPTION;
mysql> CREATE USER 'wp_user'@'%' IDENTIFIED BY 'wpass';(for remote db access)
mysql> GRANT ALL PRIVILEGES ON wp_db.* TO 'wp_user'@'%' WITH GRANT OPTION;

Download the wordpress from the following Url:
http://wordpress.org/latest.tar.gz

After this,
#cd /usr/local/src/




Untar the tar file,
#tar -xvzf latest.tar.gz


then proceed the following stpes.

1. Inside the WordPress folder is a file named wp-config-sample. Change
that file name to wp-config.
2. Open the same file that you just renamed. Within that file you will see
the following:

define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', 'username'); // Your MySQL username
define('DB_PASSWORD', 'password'); // ...and password
define('DB_HOST', 'localhost'); // you won't need to change this value


After the this, follow the below given stpes

Upload WordPress Files:
Using your FTP program, upload all of the files from within the WordPress
folder.
You will upload these files to the directory you have previously selected
for your blog.
Only upload the files INSIDE the WordPress folder. DO NOT upload the
folder itself.

Begin the WordPress Installation:

To begin the WordPress installation, you will need to run the WordPress
installation script by accessing the wp-admin/install.php file from your
browser window.

Run WordPress Install Command:

Example: http://www.domain.com/wp-admin/install.php Or if you want to
install wordpress installation on the subfolder

In the address bar of your browser window, enter the URL of the domain or
subdomain where you uploaded the
WordPress files to, followed by: wp-admin/install.php


A new window will open. Click First Step >>

When you click the First Step link, another new window will open.

1. Enter the name you have selected for your blog.

2. Enter your email address and double check it before continuing.

3. Place a check in the box for I would like my blog to appear in search
engines like Google and Technorati. (This is important!)

4. Click "Continue to Second Step"

Once you have followed the instructions on each new window, your blog will
be created automatically for you. Make sure to save the user name and
password provided.

Now the the wordpress basic installation is completed.
chandranjoy
Site Admin
 
Posts: 283
Joined: Fri Oct 23, 2009 11:19 pm

Return to Installation Stuffs

Who is online

Users browsing this forum: No registered users and 1 guest


cron