Installing Drupal

November 24, 2010 by
Filed under: Uncategorized 

yum install mysql-server, httpd, and drupal.  Follow the directions here for setting up the database. In case that link changes, see the following:

mv drupal-x.x /var/www/
cp sites/default/default.settings.php sites/default/settings.php
chmod a+w sites/default/settings.php
chmod a+w sites/default
mysqladmin -u username -p create databasename
mysql -u username -p
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES
ON databasename.*
TO 'username'@'localhost' IDENTIFIED BY 'password';

Change lines in /etc/httpd/conf/httpd.conf:

DocumentRoot "/var/www/drupal-x.x"
...
<Directory "/var/www/drupal-x.x">

Comments

Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!