Automate whm account creation & install files/dbs script
Project ID: 1328452180
Project Details
  • Status:
    Closed (Cancelled)
  • Posted:
    2/5/2012 at 9:29 EST
  • Cancelled:
    2/18/2012 at 0:10 EST
  • Project Creator:
  • Budget:
    N/A
  • Description:
    Hi,
    id like to automate the creation of a type of website i build from a template.

    to setup an account I currently do this

    1. Via WHM I create a new account and file username/password

    2. Via the new accounts cpanel I create 2 new databases and create/assign a new user with full priveldges to both of the new databases and file username/passwords

    2. Ssh in the source site, tar up the directory with the site folders
    tar -pczf website.tar.gz public_html

    3. Send it to the other server
    scp -r site.tar.gz user@222.222.222.222:public_html

    4. Ssh in to the other server and unpackage it all, IMPORTANT - while maintaining permissions
    tar -pxvf website.tar.gz

    5. PhpMyAdmin into the source site to get export copies of the sql

    6. PhpMyAdmin into the destination site to import the sql

    7. Change the name of admin folder in the destination site

    Then i start to customise further...
    Takes about 15-20 minutes but is very boring and I know i can automate this to be handled from a secure form...
    so id like steps 1-7 automated...

    What im thinking is i will have all the files ready inside a folder on the source site
    eg example.com/installer
    example.com/installer/files
    example.com/installer/sql
    So we copy the whole /installer folder over to the destination site

    Here are the steps as i see... may need some refinement but this is pretty well thought out already
    here i a graphical flow chart of what i want done...
    http://screencast.com/t/tLYEBJcg4Vn

    1. Fill out online form and WHM account created using details in form
    http://screencast.com/t/67S7JpXj8N
    2. Cpanel - 2 new databases with Client ID and a user with client ID with full access are created
    3. Copy all files from source website and unpackage on new site while maintaining permissions (IMPORTANT!)
    4. Change admin folder name to name outlined in form in step 1
    4. Each SQL files is imported into the correct new database

    As you can see from the form in step 1 I need the ability to display multiple WHM accounts in the drop down list , that will be connected to the script so I can select which WHM to install the next site to. WHM accounts & login details would be added to the script via the code no need for an interface for this.
    Im looking for someone who has done this type of work before, so would either have a script they coded themselves that would handle at least some of this... or have worked with some of the exiting scripts out there
    eg
    http://www.namepros.com/code/275464-automated-whm-account-creation.html http://www.zubrag.com/scripts/create-cpanel-whm-account.php

    so i dont want this done from scratch

    id like the script to report on its progress as much as possible, with a tick or similar when it has completed each step
    http://screencast.com/t/kbJJkDmgc

    and lastly at the end of it all id like a report to be displayed on screen with all the details
    http://screencast.com/t/lAOk1pESDf
    and have this sent to a nominated email also for reference.


  • Tags:
Project Bids
Programmer Bid Delivery Time Time of Bid Rating  
latefo32 $700 4 days 2/6/2012 at 6:10 EST (No Feedback Yet)
Dear Friend, Please check your PMB. Thanks! --Akeel
7even $1,400 7 days 2/7/2012 at 11:02 EST 9.33/10
(201 reviews)
mindinventory $1,450 32 days 2/6/2012 at 5:37 EST 10.00/10
(1 review)
Hello, I gone through your whole requirement and my team will be as per your idea before timeline. I Would like to have an opportunity to work on this project. Client satisfaction is our prime motto.First see our work first then pay us accordingly.We Will look forward for your response. We have 7 years of experience in this field so,Please Check your PMB. Warm Regards, Mehul