Standard Drupal Installation

Update: All of this configuration is now available with my Drupal Template installations.

This is a list of the standard stuff I do when I initiate a new site.

Install drupal with

This sets everything else up for ease of future maintenance, etc.

Install standard contributed modules.

Again, using, install the standard modules I seem to install on all sites: admin_menu, advanced_help, ckeditor, imce, cck, views, pathauto (which requires token)

for mod in admin_menu advanced_help ckeditor imce cck views pathauto token; do -noconfirm install module $mod <site>

The CKEditor requries the library be installed: install ckeditor <site>

Hit the site and enable all those modules.

Reset install directory permissions on new site

This will fix everything with the installation and the site settings file after installation. <site>

Set up target roles.

This needs to be done before setting up CKEditor.

Set up CKEditor/IMCE

Grant permissions to use the CKEditorto the target roles.

The CKEditor needs to be set to use IMCE for file uploads.

Set up input formats

The Full HTML format needs to be made the default and needs to have the linebreak evaluator unchecked as it doesn't agree w/ CKEditor created content.


Free Tag:


I am very new to Drupal. I usually download Drupal from my host but they do not have 6.15. I would rather learn how to do quick installs and updates on my own. What I am looking for is a step-by-step guide that actually shows what the commands are & where they are written i.e. in the terminal window etc. Can you recommend a site or book (I was hoping to wait for 7 before investing in a book) has this information. I am upgrading a brand new site that doesn't have any content yet so all I need to do is upgrade the version. Any help is appreciated Alan

Drupal does have a high learning curve -- but stick with it!  It's a powerful system that can make website development a much faster process than w/o it.

As far as a tutorial -- I've been meaning to write a tutorial on performing an installation using my Drupal Script Library.

Until I do, here's an abridged version:

  • Install the Drupal Script Library somewhere.  Add the directory to your path and make sure you call the '' file from your .bashrc file
  • Decide where your common Drupal webroot is, export the variable DRUPAL_INSTALL_ROOT as that directory. (This goes in your .bashrc file too.)
  • Install your site (here, we'll use ''): install drupal
  • Ensure that your webserver points to the directory '$DRUPAL_INSTALL_ROOT/' for requests to the site ''.
  • Create a database for -- you can use the script for help.
  • Hit and with a browser and configure the database connection.
  • Your site is now live!  To install additional modules, run again for each module.

good luck.

I updated this entry to reflect changes that have come down the pipe.

  • ->  Read more in my post on converting the Drupal Script Library to use Git.
  • fckeditor (module) -> ckeditor -- Since ckeditor is the evolution of the fckeditor and I was making the previous change anyway.


Updated the deployment script again: -> (and now uses Drush).  See post on converting the Drupal Script Library to use Drush.