Installing Drupal

From Redbrick Wiki
Revision as of 18:55, 12 June 2011 by Isaac702 (talk | contribs) (New page: [http://drupal.org/ Drupal] is an open source content management system. ==Installation== Download your preferred version of Drupal to your public_html folder.<br/> Extract the tar.gz wit...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Drupal is an open source content management system.

Installation

Download your preferred version of Drupal to your public_html folder.
Extract the tar.gz with the following command.

 tar -pzxf drupal-$version.tar.gz

This will extract drupal into a folder with the name drupal-$version.
You can now rename the folder or move the files to where you see fit.

 mv drupal-$version drupal

To complete the installation follow the steps onscreen at http://redbrick.dcu.ie/~username/drupal

Enabling Proxy Support

At the time of writing (June 2011) Drupal does not have proxy support by default. However there is a patch which will add support for it to the current version of Drupal 7.

Without proxy support on redbrick Drupal is unable to use automatic updates and module installation.

To apply this patch follow the following instructions.

 cd ~/public_html/drupal/
 wget http://drupal.org/files/issues/7881-proxy-please-341.patch
 chmod u+w ./sites/default/ 
 patch -p1 < ./7881-proxy-please-341.patch
 chmod u-w ./sites/default/ 

Then add the following lines to the bottom of ~/public_html/drupal/sites/default/settings.php

 $conf['proxy_server'] = 'http://proxy.dcu.ie';
 $conf['proxy_port'] = 8080;
 $conf['proxy_exceptions'] = array('127.0.0.1', 'localhost');