Drupal

From Amahi Wiki
Jump to: navigation, search

You now can install Drupal with one click in Amahi!

If you would like to use a lower version, or are feeling adventurous, you will need to manually install Drupal as a web-app. Here are some steps to help you along.

  1. Use the instructions here to help you create the web-app from the control panel and create an associated database.
  2. Download your Drupal tarball and install. The second page of this presentation is very helpful.
  3. Now open your Drupal app and complete Drupal's initial setup. You may have to check the readme for specific instructions.
  4. You will now need to change the app's conf file to allow Drupal to have full functionality.
  • Use these instructions to find Drupal's conf file.
  • Once you have opened the file, find the portion that looks like this:
<Directory "/var/hda/web-apps/drupal/html">
                Options Indexes FollowSymLinks +ExecCGI
                AddHandler fcgid-script .fcg
                AllowOverride AuthConfig
                Order allow,deny

You need to change the AllowOverride value to all. Here, you'll see that the default is commented out (#) and the new value is added below:

<Directory "/var/hda/web-apps/drupal/html">
                Options Indexes FollowSymLinks +ExecCGI
                AddHandler fcgid-script .fcg
                #AllowOverride AuthConfig
                AllowOverride all
                Order allow,deny

After restarting apache services, your Drupal installation should be ready for action.

service httpd restart

Aljachimiak 17:03, 20 March 2012 (PDT)