The locker you want to use (your own locker, or a group's locker that you control) must already be signed up for the Scripts service and sql.mit.edu. Visit http://scripts.mit.edu for more information on the signup process.
You should be able to type commands at the Athena command line. You may connect via SecureCRT, the Mac OS X terminal, or you can run these commands at an Athena workstation.
You should have basic familiarity with the command line.
Installation
Visit sql.mit.edu and create a database for drupal ("drupal" is a good name). Note that sql.mit.edu will prepend "lockername+" to your database name. Make a note of the database name you choose (including the lockername+ prefix), and also make a note of your sql.mit.edu username and password (which can be found in ~/.sql/my.cnf). NEVER use your Kerberos password for your sql.mit.edu password.
Visit the Drupal website to identify the latest version of Drupal. (These instructions were tested with Drupal 7.32). In the "Downloads" section, find the link to the .tar.gz version of Drupal, and copy that link to your clipboard.
In your terminal window, change to your web_scripts directory. (e.g. cd ~/web_scripts). Type "wget" and paste in the URL you copied in the previous step. The final command should look something like: wget http://ftp.drupal.org/files/projects/drupal-7.32.tar.gz
After the file has been downloaded, extract it with the following command: tar -xzvf drupal-7.32.tar.gz (substitute the filename that was actually downloaded)
Create a symbolic link named "drupal" for easier access: {{ ln -s drupal-7.32 drupal}}
Drupal needs some PHP extensions enabled. In your "drupal" directory, create a php.ini file with the following content:
A Standard or Minimal installation (if unsure, select Standard)
Any additional language support (if you wish Drupal's administrative interface to use a language other than English)
Your database information. Enter your database name (including the lockername+ prefix, e.g. joeuser+drupal), and enter the username and password found in your ~/.sql/my.cnf file.
When prompted for your database information, be sure to click Advanced Options and specify the host as sql.mit.edu.
Community
Documentation and information provided by the MIT Community →