Custom WHM installer script
Project ID: 1228870775
Project Details
- Status: Closed (Cancelled)
- Posted: 12/9/2008 at 19:59 EST
- Cancelled: 1/1/2009 at 0:39 EST
- Project Creator:
- Budget: N/A
- Description: I need a script that can trigger a WHM setup process to setup a new hosting account for a domain, execute 2 find/replace commands to edit an existing SQL dump file, import the SQL dump files into new databases and send 2 status emails when the process is finished.
This account will be used with Host Gator's Reseller account, which includes both WHM and a WHM.Autopilot license. Ideally, I would have one input screen where I could input necessary information like the domain name to be hosted, email address to point forwarders to and the site name to include in the SQL replace script.
The process will be:
1. Run WHM.Autopilot Installer script
-----a. Create new hosting account via WHM using default values based on the domain name being used
-----b. Create admin email with randomly generated password
-----c. Create email forwarder to external gmail address specified in the input screen
-----d. Create FTP account using default name and randomly generated password
-----e. Disable index access on new domain being created
-----f. Create 2 MySQL databases with default names
-----g. Create and associate 2 MySQL users with default names and randomly generated passwords to the new db's
-----h. Upload .zip source file and extract to /public_html/ folder to populate initial files and directory structure
2. Run 1st find/replace script on SQL dump from Wordpress db
-----a. This script will be customized to include tags such as {new_domain} and {path_to_root_directory} wherever information needs to be replaced with values from the input screen and/or WHM setup process
3. Import newly updated SQL dump to db created during WHM setup
4. Update single “config.php” file with newly created db user/pass/name information.
5. Upload newly configured “config.php” file to proper folder on the new hosting package.
6. Run 2nd find/replace script on SQL dump from custom MySQL db
-----a. Similar customizations to step 2a
7. Import newly updated SQL dump to 2nd db created during WHM setup
8. Update single “config.php” with 2nd db information
9. Upload new 2nd “config.php” to proper directory on the server
10. Create confirmation emails
-----a. One email to admin email address including all details created during the setup process, including db info, package login name and pass, etc
-----b. Second email to gmail address from input screen including just the core information such as cPanel login, email login, FTP login info, etc.
-----c. Both emails created according to pre-defined email template format
- Tags:
| Project Bids |
| Programmer | Bid |
Delivery Time | Time of Bid | Rating | |
| nasyun | $300 | 15 days | 12/15/2008 at 9:04 EST | (10 reviews) |
|
| please check pmb. | |||||
| jahidur234 |
$350 | 7 days | 12/18/2008 at 7:02 EST | (21 reviews) |
|
| mohameddd | $380 | 7 days | 12/10/2008 at 17:56 EST | (56 reviews) |
|
| Kindly Check PMB. | |||||
| rubito | $400 | 15 days | 12/10/2008 at 10:18 EST | (1 review) |
|
| I can start right now.Best regards ruben | |||||






