How to Install Drupal 7.15 on Ubuntu 12.10, 12.04 and Linux Mint 14, 13

Hello Linux Geeksters.

Watch Free Movies

In this article I will show you how to install Drupal 7.15 on Ubuntu 12.10 Quantal Quetzal and Ubuntu 12.04 Precise Pangolin, Linux Mint 14 and Linux Mint 13.

Drupal 7.15 is a popular, open-source content management system (cms) platform written in PHP that allows you to run a small site/blog.

To use Drupal, you have to install the LAMP web server first. Install LAMP:

$ sudo apt-get install lamp-server^

Install Drupal 7.15:

$ sudo apt-get install php5-gd
$ cd /tmp && wget -O drupal-7.15.tar.gz
$ sudo tar -xzvf drupal-7.15.tar.gz -C /var/www/
$ sudo mv /var/www/drupal-7.15 /var/www/drupal
$ sudo chown -R www-data.www-data /var/www/drupal/
$ sudo su
# cd /etc/apache2/sites-available
# sed 's/www/www\/drupal/g' default > drupal
# a2ensite drupal
# /etc/init.d/apache2 restart

Create a MYSQL Database:

$ mysql -p
create database drupal;
CREATE USER 'drupal'@'localhost' IDENTIFIED BY '12345';
grant all privileges on drupal.* to drupal@localhost;

Next, type this:

Database name: drupal
Database user:   drupal
Database user password: 12345 (this password can be changed by the user)

To use drupal, type this as URL in the internet browser:

Scroll to Top