my net house

WAHEGURU….!

How to install Drupal 7 on ubuntu for newbies

Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization.

Drupal is open source software maintained and developed by a community of 630,000+ users and developers. It’s distributed under the terms of the GNU General Public License (or “GPL”), which means anyone is free to download it and share it with others. This open development model means that people are constantly working to make sure Drupal is a cutting-edge platform that supports the latest technologies that the Web has to offer. The Drupal project’s principles encourage modularity, standards, collaboration, ease-of-use, and more.

HOW TO INSTALL DRUPAL ON UBUNTU 11.04

1.install Lamp(if you are not aware of lamp then read my earlier post)

2.Type the following commands in ubuntu

$ sudo a2enmod rewrite

$ sudo /etc/init.d/apache2 restart

3.DOWNLOAD AND INSTALL DRUPAL

$ wget http://ftp.drupal.org/files/projects/drupal-7.7.tar.gz

$ tar -xvzf drupal-7.7.tar.gz

$ sudo mkdir /var/www/drupal

$ sudo mv drupal-7.7/* drupal-7.7/.htaccess /var/www/drupal

$ sudo mkdir /var/www/drupal/sites/default/files

$ sudo chown www-data:www-data /var/www/drupal/sites/default/files

$ sudo cp /var/www/drupal/sites/default/default.settings.php /var/www/drupal/sites/default/settings.php

$ sudo chown www-data:www-data /var/www/drupal/sites/default/settings.php

4.Create Mysql DATABASE for drupal and Manually configure MySQL database

You need to create a MySQL drupal database and then load the database schema into it. You can do this via the command line:

TYPE FOLLOWING COMMANDS IN TERMINAL.

$ mysqladmin -u root -p create drupal

$ mysql -u root -p

Note:-after entering the mysql type the following commands.in the commands which are given below change drupaluser with your desired username and also drupalpass with desired password.

mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON drupal.* TO 'drupaluser'@'localhost' IDENTIFIED BY 'drupalpass';

mysql> FLUSH PRIVILEGES;

mysql> \q

in the above commands change drupaluser with your desired username and also
drupalpass with desired password.

6.Reload apache

$ sudo /etc/init.d/apache2 restart

$ sudo chown www-data:www-data -R /var/www/drupal/sites

7.Complete Drupal Installation through a Browser

now open your Browser and type the following:

http://localhost/drupal/install.php

after typing the above link you will see the simple manual installation of drupal just follow the simple steps and you will easily able to install the drupal.
if you are unable to install drupal using the above tutorial you van find the original one here it is bit complicated but good for advance users
“click here to find out the original tutorial for drupal installation “

Advertisements

2 responses to “How to install Drupal 7 on ubuntu for newbies

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

%d bloggers like this: