How to Install Drupal 7 on Ubuntu

5
How to install Drupal 7 on ubuntu GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City , Philippines

Transcript of How to Install Drupal 7 on Ubuntu

Page 1: How to Install Drupal 7 on Ubuntu

8/6/2019 How to Install Drupal 7 on Ubuntu

http://slidepdf.com/reader/full/how-to-install-drupal-7-on-ubuntu 1/5

How to install Drupal 7 on ubuntu

GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines

Page 2: How to Install Drupal 7 on Ubuntu

8/6/2019 How to Install Drupal 7 on Ubuntu

http://slidepdf.com/reader/full/how-to-install-drupal-7-on-ubuntu 2/5

1.Download Drupal 7

Go to Drupal website and download the latest Drupal 7 version in zip format on your desktopand extract. Now you will get drupal-7.0 folder. just rename that folder to drupal

2.Copy Drupal to /var/www folder .

To do this

 Method 1:

Go to Application → Terminal. And type the below code in terminal and hit enter.

Type your ubuntu password if needed. Just copy and paste the drupal folder from desktop toyour /var/www folder.

OR

 Method 2:

Go to Application -> Accessories -> Terminal. And type the below code in terminal and hitenter.

Type your ubuntu password if needed.

3. Create a database using phpMyAdmin

follow these steps:

Open your browser and type

in the address bar and press enter. Type your mysql root username and password to login.choose a name for your drupal database,enter it in the Create new database field, and clickCreate.

GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines

gksudo nautilus

cd Desktop

sudo mv drupal /var/www

http://localhost/phpmyadmin/

Page 3: How to Install Drupal 7 on Ubuntu

8/6/2019 How to Install Drupal 7 on Ubuntu

http://slidepdf.com/reader/full/how-to-install-drupal-7-on-ubuntu 3/5

4.Install and configure drupal

Go to Application -> Accessories -> Terminal. And type the below code in terminal and hitenter.

Type your ubuntu password if needed.Go to the default folder in your drupal ie:/var/www/drupal/sites/default . and open default.settings.php file and save as settings.php in thesame folder (ie) /var/www/drupal/sites/default/settings.php.Open your terminal and type the below code and hit enter to change the file permission.

Open

in your browser. If you are getting below error “Forbidden You don’t have permission toaccess /drupal/ on this server”. just change the permission of your drupal folder. To do this

Go to Application → Terminal. And type the below code the terminal and hit enter.

Type your ubuntu password if needed.Now go to http://localhost/drupal/.Click Save and continue then click Save and continue.Type your database name, database username, database password and click save and continue.

GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines

gksudo nautilus

sudo chmod 777 -R /var/www/drupal/sites/default/settings.php

http://localhost/drupal/

sudo chmod 777 -R /var/www/drupal

Page 4: How to Install Drupal 7 on Ubuntu

8/6/2019 How to Install Drupal 7 on Ubuntu

http://slidepdf.com/reader/full/how-to-install-drupal-7-on-ubuntu 4/5

Just avoid the above warning message if you are installing drupal in your test server or if youneed it change the permissions.

GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines

Page 5: How to Install Drupal 7 on Ubuntu

8/6/2019 How to Install Drupal 7 on Ubuntu

http://slidepdf.com/reader/full/how-to-install-drupal-7-on-ubuntu 5/5

Fill all the mandatory details and click Save and continue.

Click visit your new site or go to http://localhost/drupal/

GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines