Linux - Wordpress installation, Steps to install wordpress
Wordpress installation
Follow the steps below to install wordpress:
These steps will help you to install wordpress easily, follow these simple steps one by one.Requirements:
1. PHP version 4.2 or greater
2. MySQL version version 4.0 or greater
3. The Apache mod_rewrite module
Setup your MySQL database from within your control panel and note the followings to proceed further.
Getting Started with MySQL
1. Database Name
2. User Name
3. Password
4. Host Name
OR
We can create a mysql database and mysql user manually using given below steps for wordpress installation.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
Steps to Install Wordpress in Linux Machine
wget http://wordpress.org/latest.tar.gz
Untar the tar file,
tar -xvzf latest.tar.gzThen proceed the following steps.
1. Inside the WordPress folder find the file named wp-config-sample. Change
that file name to <b>wp-config</b>.
2. Open the same file that you just renamed. Within that file you will see
the following:
define('DB_NAME', 'wordpress'); // Database name
define('DB_USER', 'username'); // MySQL username
define('DB_PASSWORD', 'password'); // Mysql password
define('DB_HOST', 'localhost'); // HostName
Upload WordPress Files:
Upload all of the files from within the WordPress
folder using your ftp client.
You have to upload all the files into the directory you have previously selected
for your blog.
You have to upload only the files INSIDE the WordPress folder and not the worpress folder itself.
some people do this mistake often.
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 Installation form Browser window:
Example: http://www.w3calculator.com/wp-admin/install.phpIn the address bar of your browser window, enter the URL of the domain or
subdomain where you uploaded the WordPress files, 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.
Check the blog by adding new blog or scraps to your wordpress.
Now the the wordpress basic installation is completed.
The topic on Linux - Wordpress installation is posted by - Samy
Hope you have enjoyed, Linux - Wordpress installationThanks for your time