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



Pingbacks

Pingbacks are open.


Post your comment





Site theme originally by styleshout.com
{"cc_re__cc_re__cc_by_3_0": ["   </div>\n    \n    <div class=\"col3\">\n        <h3>Resources</h3>\n        <ul>\n            <li><a href=\"/\">Home</a></li>\n            <li><a href=\"/sitemap/\">Site Map</a></li>\n            <li><a href=\"/feeds/latest/\">RSS Feed</a></li>\n            <li><a href=\"http://www.facebook.com/Adlibre\">Facebook</a></li>\n            <li><a href=\"http://twitter.com/adlibre\">Twitter</a></li>\n\n        </ul>\n\n    </div>\n\n    <div class=\"copywrite\">\n        <p>\n            Content on this site is licensed under a <a href=\"http://creativecommons.org/licenses/by/3.0/\">Creative Commons Attribution 3.0 License</a>.\n            <br /> Copyright 2019 <strong><a href=\"http://www.adlibre.com.au/\">Adlibre Pty Ltd</a></strong>\n        </p>\n    </div>\n\n</div></div>\n\n<div class=\"clearer\"></div>\n<!-- #footer ends here -->\n\n    <p align=\"center\"><small>Site theme originally by <a href=\"http://www.styleshout.com/\">styleshout.com</a></small</p>\n\n</div>\n\n\n\n\n<script type=\"text/javascript\">\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://ww"], "copyright__copyright__copyright": [" /var/www/html/\nwget http://ftp.drupal.org/files/projects/drupal-6.16.tar.gz\ntar -xzf drupal-6.16.tar.gz --strip-components=1\nrm drupal-6.16.tar.gz\nchown -R apache.apache .\n\ncp ./sites/default/default.settings.php ./sites/default/settings.php\n\nNext open your web browser and point it at your server to continue the installation.\n\n\u2014 Andrew\n\n\nNext entry\n\nPrevious entry\n\nRelated entries\n\nSimilar entries\n\n\n\nPingbacks\n\nPingbacks are open.\n\n\nPost your comment\n\n\n\n\n\nSite theme originally by styleshout.com"]}