Using Drupal

Drupal is a popular web-based content management system written in PHP.

Installing the script

A recent Drupal package should be available on the server. Run the install.sh script in /var/www/drupal (or /var/www/drupal6 for 6.x series), to unpack into your target directory:

  $ cd ~/www
  $ sh /var/www/drupal/install.sh myblog.example.com
Database setup

Drupal uses MySQL as its database backend so before proceeding further, you need to create a database and a MySQL user. You can do this from the Databases section of the Control Panel, or alternatively from the Shell Interface:

  csoftadm> db mysql add myblog
  csoftadm> db mysql useradd mybloguser
  csoftadm> db mysql grant myblog mybloguser all

If you wish to reuse the contents of a previous Drupal installation, assuming mydump.txt was previously generated by mysqldump, you would use:

  $ cat mydump.txt | mysql -u mybloguser -p myblog
Using the web installer

Point your browser to the new URL (such as http://myblog.example.com) and proceed with standard installation. For better security, consider using a secure URL (https:// URL) (if you don't have an official SSL certificate, it is possible to generate one yourself).

Links

Csoft.net
© 2024 CubeSoft Communications
All Rights Reserved.