STEP 1: Download and undo this
tarball:
[root@e-smith
root]# mkdir drupal
[root@e-smith root]# cd drupal [root@e-smith drupal]# wget http://drupal.org/drupal/drupal-4.2.0.tgz [root@e-smith drupal]# tar –xzvf drupal-4.2.0.tgz |
#!/bin/bash
## ##Adapted from http://www.contribs.com/contribs/nightspirit/RPM-scripts/ibays-create.txt ## echo "creating ibay 'drupal'" /sbin/e-smith/db accounts set drupal ibay Name "drupal" minUid=$(/sbin/e-smith/db configuration get MinUid) let "uid=minUid+1" while grep -q :$uid:$uid: /etc/passwd do let uid=uid+1 done /sbin/e-smith/db accounts setprop drupal Uid $uid Gid $uid /sbin/e-smith/db accounts setprop drupal PublicAccess local /sbin/e-smith/db accounts setprop drupal UserAccess wr-group-rd-group /sbin/e-smith/db accounts setprop drupal PasswordSet no CgiBin enabled /sbin/e-smith/db accounts setprop drupal Group Admin /sbin/e-smith/signal-event ibay-create drupal |
STEP 3: Move the extracted Drupal
files to ibay
[root@e-smith
root]# cd /home/e-smith/files/ibays/drupal/html
[root@e-smith html]# mv /root/drupal/drupal-4.2.0/* . |
STEP 4: Edit /home/e-smith/files/ibays/drupal/html/includes/conf.php
[root@e-smith
root]# pico /home/e-smith/files/ibays/drupal/html/includes/conf.php
## In this file change db-user:password [drupal:drupal] to something else $db_url = "mysql://drupal:drupal@localhost/drupal"; ## Change baseurl to your e-smith server IP or domain $base_url = "http://192.168.1.1/drupal";
|
STEP 5: Setup Mysql
##
Create the Mysql database
[root@e-smith root]# mysqladmin create drupal ## Set
permissions for a user called "drupal" using password "drupal" (Or use
what was specified in Step4)
## Setup
the database structure
|
Try
http://192.168.1.1/drupal/
## Drupal
uses role based administration. Use the link below to create a user[admin]
## Setup
an admin "role"
## Give
all permissions to "role" admin
## Edit
admin account and change "role" to "admin"(at the bottom)
|
If
you plan to let others have editorial control, create a "role" called "moderator"
and set
appropriate permissions.Now assign this role to any user who needs this facility. More info here.. http://drupal.org/node/view/253 If you would like to try other CMSs' try, http://www.opensourcecms.com/index.php OR http://www.cmsinfo.org ## (I plan to use this in my classroom for group projects(books), Discussions, and as a general news center.) |
|