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 http://ftp.drupal.org/files/projects/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;
exit

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:

http://127.0.0.1/drupal
OR:
http://localhost/drupal

http://3.bp.blogspot.com/-O0ahLNvlQxk/UBvT0y_s87I/AAAAAAAAFFA/5NJCybJ4A_k/s400/drupal-database-configuration-page.png

Scroll to Top