How to Install Drupal on CentOS 5 in five minutes flat

Ok so you're in a hurry to install Drupal. Don't fret. It is esay as pie!

Run the following commands from a root shell!

yum -y install mysql-server httpd php php-mysql unzip wget

chkconfig httpd on
chkconfig mysqld on

/etc/init.d/mysqld start
/etc/init.d/httpd start

echo 'CREATE DATABASE drupal;' | mysql
echo "GRANT ALL PRIVILEGES ON drupal.* TO 'drupal'@'localhost' IDENTIFIED BY 'drupal';" | mysql
echo "FLUSH PRIVILEGES;" | mysql

cd /var/www/html/
wget http://ftp.drupal.org/files/projects/drupal-6.16.tar.gz
tar -xzf drupal-6.16.tar.gz --strip-components=1
rm drupal-6.16.tar.gz
chown -R apache.apache .

cp ./sites/default/default.settings.php ./sites/default/settings.php

Next open your web browser and point it at your server to continue the installation.

— Andrew


Next entry

Previous entry

Related entries

Similar entries


Comments

No comments yet.


Pingbacks

Pingbacks are open.


Post your comment





Site theme originally by styleshout.com