CMS installation
- Drupal installation on opapa.
- Created Drupal database:
mysql -u root -p > CREATE DATABASE drupal; > GRANT ALL PRIVILEGES ON drupal.* TO iandexter IDENTIFIED \\ BY 'password'; > FLUSH PRIVILEGES; > q
- Decompressed Drupal package on
/var/www/html/ - Load database schema for Drupal:
cd /var/www/html/drupal-4.6.0 mysql -u iandexter -p drupal
- Edited configuration in
sites/default/settings.php:$db_url = "mysql://iandexter:password@localhost/drupal"; $base_url = "http://cms.openacademy.ph/"
- Created
filesdirectory:sudo mkdir files sudo chmod 664 files/
- Edited
httpd.conf:<VirtualHost *> ServerName cms.openacademy.ph DocumentRoot "/var/www/html/drupal-4.6.0" </VirtualHost> <Directory "/var/www/html/drupal-4.6.0"> Options Indexes AllowOverride All </Directory>
- Created
crontask:su - -c "crontab -e" 0 * * * * wget -O - q http://cms.openacademy.ph/cron.php
- Opened installation in browser, created first account, and logged in.
- Created Drupal database:
- Configuring Drupal:
- Added roles:
- Administrator
- Editor
- Author
- Enabled modules.
- Added roles:
- Added DNS entry (
CNAME) atdomains.ph.
Read more:
