Drupal Quickstart Guide

, Add comments

Drupal is a free modular content management system written in PHP.

Required PHP Extension

  • MySQL
    $ sudo apt-get install php5-mysql
  • GD Library
    $ sudo apt-get install php5-gd

Installation

Download the latest Drupal release from http://drupal.org.

$ wget http://drupal.org/files/projects/drupal-6.2.tar.gz

Extracting the .tar.gz file will create a new directory drupal-6.2 which contains all the Drupal files and directories.

$ tar -zxvf drupal-6.2.tar.gz

Move all the files inside the directory into a directory within your web server’s document root or your public HTML directory.

$ mv drupal-6.2/* /var/www/drupal

Create a database for drupal. For MySQL:

mysql> create database databasename
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password';

Make sure that you have write permission on the directory ./sites/default/

$ chmod 777 ./sites/default

Run the install script by pointing your browser to the base url of your website (e.g http://www.vincentkong.com), which will bring you through an installation wizard to setup Drupal.

Choose language:

Choose language

Database configuration:

Database configuration

Configure site:

Configure site

After the installation has been completed the write permission should be removed from the .sites/default directory.

$ chmod 755 .sites/default

For more information refer to the Getting Started guide for Drupal.

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in