wordpress installtion in linux

open Terminal

type “Sudo apt-get install lamp-server^”

This will install Lamp server in ur PC (Linux Apache MySQL PHP), these are the essential things to setup a web server in ur pc.

Creating a database using PHP

open web browser and

type “http://localhost/phpmyadmin”

in the new window, type “root”  as the username and leave the password as blank.

Then enter the name of the Data base u want to create in the data base

after that in the web browser type  “http://localhost/wordpress”

then u might be able to see the wordpress page

with an error message, that “wp-config.php is not found ”

then open terminal type this “sudo cp  /usr/var/wordpress/ wp-config-sample /usr/var/wordpress/wp-config.php”

this will make a copy of wp-sample-config.php as wp-config.php.

open that by typing “gedit /usr/var/wordpress/wp-config.php”

in that PHP go down and u can see this wriiten there “define(‘DB_USER’, ‘usernamehere’);” and “define(‘DB_PASSWORD’, ‘yourpasswordhere’);”

type the data base name and leave the password section as blank.

then type “http://localhost/wordpress”

u can see wordpress

now u can play with wordpress  by applying new themes…


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s