formats

Install Drupal 7 in Ubuntu 12.04

Published on August 8, 2012, by + in linux, sysadmin.




Drupal 7 is provided in Ubuntu 12.04. I’ll show you how to get it up and running!


1. Install the package drupal7:

$ sudo apt-get install drupal7




2. Create the following apache site configuration file:

$ sudo nano /etc/apache2/sites-available/drupal7


Alias /drupal7 "/usr/share/drupal7"
< Directory /usr/share/drupal7 >
  Options -Indexes FollowSymLinks MultiViews
< /Directory >




3. Enable the site:

$ sudo a2ensite drupal7




4. Restart apache:

$ sudo service apache2 reload




5. Go to http://myserver.com/drupal7/install.php to complete the installation.

drupal_site


Done! The server alias can of course be changed to anything desired.


2 Responses

  1. Zubair

    Hi, in some tutorial they are saying for creating some database too, while here I can not see the creation of any database, Is it tutorial is tested by some friend, Please let me know if it is working.

    Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Home linux Install Drupal 7 in Ubuntu 12.04