This documentation relates to CiviCRM version 3.2. It's not maintained anymore.
Current version of documentation.

Automated Installers

Skip to end of metadata
Go to start of metadata

This page refers to outdated version of CiviCRM. Check current version of documentation.


Documentation Search


CiviCRM 3.2 Documentation

Support and Participation

Developer Resources


CiviCRM book!

Make sure to check out Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

Use this section to share information and/or script code for automatically installing and/or replicating CiviCRM (and host CMS) sites.

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.

Labels
  • None

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.