Drupal Installtion in linux Easy steps

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/drupal-versionno”

then u might be able to see the drupal page

with an error message, that “settings.php not found copy from sites/default/default.settings.php ”

then open terminal type this “sudo cp  /usr/var/drupal-“version num”/sites/default/default.settings.php /usr/var/drupal-“version num”/sites/default/settings.php”

this will make a copy of default.settings.php as settings.php.

open that by typing “gedit /usr/var/drupal-“version num”/sites/default/settings.php”

in that PHP go down and u can see this wriiten there $db_url = ‘mysql://username:password@localhost/databasename’;

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

then type “http://localhost/drupal-versionno”

u can see drupal,

now u can play with drupal by applying new themes…

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s