lowendbox/lowendscript — pull request #12 by sk33lz (2012-02-03 23:50:07+00:00)
Title: Added functionality for Drupal installation, made readme file, and fixed some bugs.

Hi,

Great script. I was out looking for some automation scripts and found this last night. I am a Drupal developer, so when I saw there was an easy way to install Wordpress with this script, I had to try my hand at adding that functionality. I got all nutty professor last night until the wee hours of the morning and got it working. I also fixed a bug that was being caused by placing the PHP settings in the /var/run/www directory being deleted on rebooting my virtual server. I am placing them in the /var/lib/www directory instead without any issues after rebooting the server.

I have updated the main script to have a drupal command, so similar to setting up a Wordpress install, you can setup a Drupal installation with a MySQL database, MySQL user, and pass. The main difference in the process is that I wasn't able to figure out how to copy the values into the settings.php file quite yet, so they are just being echoed to the console for the time being. I plan on fixing this when I figure it out.

I have also added

FYI, this is my first try at any bash scripting, so feel free to fix any issues you see with my additional code.

Thanks,

Jason Moore