We have a few dozen VPS accounts and need to install wordpress and wordpress plugins onto many domains on each VPS. We would like to automate this process with an installation script.
As these are virtual private server accounts, we have root access as well as ssh shell access. We'd like to run a few simple commands such as wget to download the required files and automatically install and have them configured.
We also require a similar script to install Simple Machines Forum, joomla, and zencart on subdomains on the site. Our SMF and zencart and joomla installations are custom configured with themes and plugins, so these should be used.
As well as installing wordpress and SMS, we need to automatically setup hosting for the domains we host on the vps. Our vps accounts do not come with cpanel or webmin or the like. We do not have them setup in any way. The script should automatically configure the hosting plus one catchall email address that forwards to a common email address, plus prompt to install subdomains. The script that sets up hosting should check to see if apache and all other required webhosting services are installed, and if not, install them.
The script should:
1) Prompt for what domain and subdomains to add to the vps. Register a catchall email address and prompt for what email address to forward incoming mail to.
2) Separate scripts to install WP, SMF, joomla and zencart onto any domain root or subdomain. Script should prompt for location of zipped intallation file and the sql file, and prompt for the destination domain or subdomain. Installation of all these scripts will require configuring and importing of existing database files. For instance the zencart install will include an sql query, where the sql file is remotely hosted.
I will provide access to intallation files as access to ftp and cpanel for existing configured zencart, joomla, SMF and wordpress sites that will be duplicated. I will also provide access to a few vps for testing.
We'll also want a simple script that can migrate all settings and files from one vps to another.