Drupal

From Omnia
Jump to navigation Jump to search

every page is a node

content types


See UTOSC 2008 - Drupal: From Blank to Blog in 30 Minutes

http://drupal.org/


Installation

Installation guide : http://drupal.org/getting-started/install


Install dependencies:

yum install httpd mysql-server php php-mysql

Download drupal:

# within your web path:
wget http://ftp.drupal.org/files/projects/drupal-6.19.tar.gz
tar -zvxf drupal-6.19.tar.gz
cd drupal-6.19

Copy default settings:

cp ./sites/default/default.settings.php ./sites/default/settings.php
chown apache ./sites/default/settings.php
mkdir ./sites/default/files
chown apache ./sites/default/

Create database:

mysql -u root -e "create database drupal"
mysql -u root -e "grant all on drupal.* to drupal@localhost identified by 'drupal'"
mysql -u root -e "flush privileges"

Visit control panel: http://[host]/drupal-6.19 and follow the remaining installation instructions