Tag : Drupal

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 ...

— Andrew


Site theme originally by styleshout.com