Jump to content

Postgres Plus Drupal Tutorial

This tutorial will take you through the steps required to get Drupal installed and working on Postgres Plus.

Drupal requires that you have an application stack installed and working on your computer, if any of the following apply to you:

  • What is a Stack?
  • How do I install the Postgres Plus Stack?
  • I can't remember what ports the Database and Web Server are running on
  • How do I get my stack started?

Then you should check out these prerequisites.

When you have a stack installed and active and know what ports it is using, installing Drupal is straightforward.

The steps that you will go through will be to:

  1. Download and Extract Drupal to a web accessible directory on your server (i.e. ../apache/htdocs)
  2. Create a User and Database to hold your data
  3. Configure Drupal

Step 1. Download and Extract Drupal.

Download the latest version of Drupal from here

 

 

You should extract Drupal to the htdocs directory that was installed as part of the Apache prerequisite and
call it drupal (i.e. ../htdocs/drupal). For example in Windows, this would be C:\PostgresPlus\8.3\apache\htdocs\drupal
and on Linux it would be /opt/PostgresPlus/8.3/apache/htdocs/drupal

Make sure that your Postgres Plus database is up and running because the Drupal installer will use it

Step 2. Create the Drupal Database and User.

You should go into the database and set up a new user, see below.

If you need help setting up new database objects (like Users, Database and Tables), here is a quick cheat sheet

 

 

Then you should create a database to hold your data with the just created user as the owner of the database

 

The database user and the database will be used in the Wiki Installer below

 

Step 3. Configure Drupal.

In your web browser, go to http://localhost:8080/drupal (Use the port number you have Apache configured on)

In the next screen, enter the database name, database user and password

 

 

Finally, configure Drupal to match your environment's needs

 

 

When you see the following screen, you have successfully set up Drupal on Postgres Plus.

 

 

That's it! You are now logged on to Drupal as an administrative user.