drupal

How to install Drupal 7 on ubuntu

7

Professional budget Web hosting starts from $1.50. Cpanel -Control Panel,Softaculous -Auto Script Installer.PHP and Mysql.RVSkin

To install Drupal 7 on your localhost, you must setup apache and mysql first. We have already posted a tutorial on How to install and configure Apache,PHP,MySql and phpMyadmin on ubuntu.Please read first.

1.Download Drupal 7
Go to Drupal website
and download the latest Drupal 7 version in zip format on your desktop and 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 -> Accessories -> Terminal. And type the below code in terminal and hit enter.

gksudo nautilus

Type your ubuntu password if needed. Just copy and paste the drupal folder from desktop to your /var/www folder.
OR
Method 2:
Go to Application -> Accessories -> Terminal. And type the below code in terminal and hit enter.

cd Desktop
sudo mv drupal /var/www

Type your ubuntu password if needed.

3.Create a database using phpMyAdmin

follow these steps:

For phpmyadmin,apache,mysql,php installation click here

Open your browser and type

http://localhost/phpmyadmin/

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 click Create.

4.Install and configure drupal

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

gksudo nautilus

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 the same 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.

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

Open

http://localhost/drupal/

in your browser. If you are getting below error “Forbidden You don’t have permission to access /drupal/ on this server”. just change the permission of your drupal folder.To do this
Go to Application -> Accessories -> Terminal. And type the below code in terminal and hit enter.

sudo chmod 777 -R /var/www/drupal

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.

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

Fill all the mandatory details and click Save and continue.


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

40% lifetime off - Tekecho Web hosting

avatar
Author :  

Hello visitor! Subscribe to the RSS feed or subscribe via email to receive updates.

Browse related articles

How to Install VLC 2.0.0 on Ubuntu 11.10 How to Install VLC 2.0.0 on Ubuntu 11.10

Professional budget Web hosting starts from $1.50. Cpanel -Control Panel,Softaculous -Auto Script Installer.PHP and Mysql.RVSkin To install vlc media player 2.0.0 on ubuntu 11.10 1.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field. And click Terminal. 2.Type the below code in terminal and hit enter. 3.Type your [...]

How to install Ubuntu Tweak on ubuntu 11.10 How to install Ubuntu Tweak on ubuntu 11.10

Professional budget Web hosting starts from $1.50. Cpanel -Control Panel,Softaculous -Auto Script Installer.PHP and Mysql.RVSkin Ubuntu Tweak is an application to config Ubuntu easier. To install Ubuntu Tweak on ubuntu 11.10 1.Go to ubuntu tweak download page and download the latest version deb package file. 2.Double click the .deb package file or open with ubuntu [...]

How to install Firefox Aurora on ubuntu How to install Firefox Aurora on ubuntu

Professional budget Web hosting starts from $1.50. Cpanel -Control Panel,Softaculous -Auto Script Installer.PHP and Mysql.RVSkin Mozilla Firefox Aurora is a new Firefox release channel designed to show the first look of the latest firefox features. It is a pre-Beta build of Firefox. Firefox channels: Aurora: Newest innovations in an unstable environment Beta: Aurora features but [...]

How to install Cinnamon desktop environment on Linux mint How to install Cinnamon desktop environment on Linux mint

Professional budget Web hosting starts from $1.50. Cpanel -Control Panel,Softaculous -Auto Script Installer.PHP and Mysql.RVSkin Cinnamon is a free desktop environment from Linux Mint.It looks like a traditional GNOME 2 desktop but it is based on the modern GNOME Shell. To install Cinnamon desktop environment on Linux mint 1.Open linux mint software manager. To open [...]

7 Comments on How to install Drupal 7 on ubuntu

  1. [...] How to install Drupal 7 on ubuntu | CONNECTwww.comDescription : To install Drupal 7 on your localhost, you must setup apache and mysql first. We have already posted a tutorial on How to install and configure Apache,PHP,MySql.http://connectwww.com/how-to-i .. [...]

  2. avatar Andrew Palmer says:

    excellent guide — worked on 1st install

    nice eone

  3. avatar xal says:

    Amazing tut. I have not seen many flowing like this. Bravo.

  4. avatar ME says:

    Beautiful! Worked on Linux Mint no problems! Thanks.

  5. avatar God says:

    Easy install.
    Good work.
    Thanks.

  6. [...] If you try to go to your new site and are told that you are forbidden to do so, you may be trying to install Drupal. Or something else. In any case, change the permissions to your site’s directory and the [...]

  7. avatar Anthony says:

    That allowed me to finally get Drupal 7 installed but now everything is 777. How do I adjust permissions after install to make sure the site is secure? Because after I have developed the site I am pushing to production and want to push the write permissions. I think that the sites/default file needs that permissions you mentioned but I think there is more than that. Thank you!

Leave a Reply