Drupal

From DreamHost
Jump to: navigation, search

Overview

Drupal.png

Drupal is a full Content Management System (or CMS) that can be deployed with any number of purposes. It has been developed as an open-source project and released under the highly open GPL license. Drupal prides itself on being a system wherein the openness allows any developer to easily add functionality using modules, effectively creating an infinite platform for expansion and growth. Drupal is written in the PHP scripting language.

Note2 icon.png Note: DreamHost does not offer Drupal as a One-Click Install. You must manually install this program yourself. If you receive errors during the installation, DreamHost support may not be able to assist.


Drupal adoption advice

Drupal is a highly flexible and powerful tool, and as such should be used by those with knowledge of HTML, web applications, and at least a vague notion of how databases (such as MySQL) function. You don't have to actually know PHP and SQL to make it function, but a working knowledge of phpMyAdmin, the web-based MySQL administration tool, is helpful, if not mandatory, for using Drupal.

If your goal is simply to maintain a blog (or weblog, something Drupal is quite capable of), you might consider using a simpler and more targeted application such as WordPress, which is less confusing and more stable due to its simplicity.

Installing Drupal 7

  1. Visit Drupal’s download page.
  2. Download the version you wish.
  3. Upload the files via FTP to your site’s web directory.
  4. Create a MySQL database in your panel. View the MySQL article for instructions.
  5. Visit your website where you uploaded the Drupal files to begin the installation.
01 Drupal.png
  • During the installation process, you’ll need to know your database credentials. You must also change the ‘Database host’ field from localhost to your actual DreamHost database hostname. View the PhpMyAdmin article for further details.
Note2 icon.png Note: Changing the database port isn’t required. However, the DreamHost Database port is 3306. Choose an appropriate table prefix if you feel inclined to do so.


It's recommended that you either deactivate account creation requests (in /admin/config/people/accounts) or install a spam-reducing module such as Mollom in order to stop spam user accounts right away. This requires more time and expertise.

Important icon.png Warning: If you are installing Drupal 7 with multiple modules, you may trigger an error message stating that the installation cannot find a needed table in the MySQL database. This usually means that the Drupal installation of the MySQL database on DreamHost has not finished populating the full list of tables with data. Give it some time and try the installation again. The length of time is dependent on the number of modules you have selected to install. If you are installing a fresh version of Drupal 7, you may have better results if you first install the slimmer version when the installation asks. You can always add more modules later.


Note2 icon.png Note: Drupal 7 demands more resources, especially from the MySQL database. If you wish to use Drupal 7, you should seriously consider upgrading to a private MySQL server on DreamHost, which displays pages much more quickly.


Drupal cron jobs

Drupal cron jobs can be tricky for many novice Drupal users and website designers/developers, and it's a good idea to check out the Crontab page for detailed instructions.

Additional instructions are found on the Configuring cron jobs on DreamHost page or the Cron Module at Drupal.org.

If you're installing Drupal 7

Make sure to use a cron.php URL that includes your "cron key", a query string variable provided by Drupal. The unique URL to the cron script including the cron key can be found on the Status Report page, under the Cron heading.

Multisite

View the Drupal multi-site guide for instructions on this configuration. Please note that DreamHost support is unable to assist with any errors that may occur as this is a customized setup.

See also

External links-
  • Drupal – Drupal's Main site.
  • Download – Download page for Latest version of Drupal.
  • Handbook – Drupal's Official Handbook (not perfect)
  • Forum – Drupal's forum, search before asking a question.
  • Videos – Bittorrents for some videos of presentations at a Drupal Conference.
  • Podcasts – Podcasts (video and audio) by Drupal developers Lullabot.
  • Themes – Some preset themes that can easily be used in your Drupal installation.