Office of Museum TechnologyFLMNH Linux Pages |
![]() |
cd /var/www/html wget http://drupal.org/files/projects/drupal-4.6.2.tar.gz tar -xvzf drupal-4.6.2.tar.gz mv drupal-4.6.2 drupalCorrect the filesystem permissions on the drupal folder. By default, they are owned by user and group number 302. Change them to what makes sense for your organization.
chown -R root drupal chgrp -R root drupal2. Set up the MySQL database and database user that will hold the Drupal content. You will need this mysql username and password in the next step.
mysql -u root -p mysql> CREATE DATABASE drupal; mysql> GRANT ALL PRIVILEGES ON drupal.* TO 'drupal_user'@'localhost' IDENTIFIED BY 'thepassword'; mysql> FLUSH PRIVILEGES;Load the required drupal information from the provided sql file:
mysql -u drupal_user -p drupal < drupal/database/database.mysql3. Modify the settings for your Drupal site. They are contained in drupal/sites/default/settings.php. To get started, you most likely only need to modify two lines:
$db_url = 'mysql://drupal_user:thepassword@localhost/drupal'; $base_url = 'http://mywebserver.flmnh.ufl.edu/drupal'; [Remember, we put drupal in a subdirectory.]
yum -y install php-gd5. Access the drupal site and create the first user (click the link in the center blob of text on your new drupal site). The first account is automatically the site administrator, so choose your account carefully. To add additional site administrators, you will need to create a new role that has the administrative privileges you want (essentially, all of the checkboxes) and assign it to an individual account.
| Send us an email: linuxpages-at-flmnh.ufl.edu (Replace '-at-' with '@') |
FLMNH Linux Pages Home |
OMT Home |