Automated Installer for a Pre-configured CiviCRM Site
Contributed by Larry Hedrick of DharmaTech.org
The following 2 scripts are used to install a drupal/civicrm system. When the scripts complete a user will be able to login as civiadmin with pw civiadmin01. The script works from a tar file built from a working template and uses a database import file built with mysql dump. A new user is created in the /etc/passwd file and a perl script is used to generate an encrypted password.
There is a template settings.php and civicrm.settings.php file which has marker strings which are replaced with new values for the new site using the sed editor.
The install script also appends the name of the new user account to a file. This file is holds the names of sites. A cron job will then loop through the names doing a tar file backup and a mysql dump each day.
This is a work in progress. If others can offer suggestions or see problems please post or send email to lhedrick at dharmatech dot org.