Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    44

    Default Easiest way to install cPanel on multiple VPS'?

    I have a question.. we all know VPS' come with various OS templates. For this example, let's go with CentOS 5 :

    Typically, how you would do it would be :

    Create VPS/Assign IPs/Assign Hostname
    Login
    cd /home
    wget http://layer1.cpanel.net/latest
    sh latest


    Now, if you only deply 2-3 vps' per day, that works. However, when you're deploying 20-30 vps' per day, that gets tedious.

    Now, we could make a template where cPanel is installed (fresh, with no configuration done), but it somehow keeps the original nameservers/hostname and IPs, rather than those of the new VPS.

    Is there some script, or some sort that I can use to templatize the cPanel install, and have it auto-update its nameservers/hostname to the new VPS, without having to manually go in and do it?

  2. #2
    Registered User
    Join Date
    Oct 2008
    Posts
    4

    Default

    I would suggest using VPS cloning... create a new VPS and install cPanel on it. After that remove hostname and nameservers from wwwacct.conf file as well as remove the IP and hostname from the main server. Now create 20-30 clones of the same VPS and just assign IP address and hostname to them.

    But I don't think it’s possible to edit the cPanel configuration files automatically to add hostname and nameservers. Also these configuration need to be filled by the User or your customer.

  3. #3
    Member
    Join Date
    Jun 2007
    Posts
    44

    Default

    Max,

    Thank you for the answer. If we remove those entries from wwwacct.conf, right after installation, will they be removed from WHM as well (so when someone logs into WHM, they will see <blank>) ?

    Also, removing the IP and hostname, shutting it down, and restarting it. Then shutting it down, cloning.

    On restart, when given an IP and hostname, it will automatically pull those from the /etc config files?

  4. #4
    Member
    Join Date
    Jun 2007
    Posts
    44

    Default

    Can I also remove the IP and all defining information in the wwwacct.conf file? Such as the email address and so on?

Similar Threads & Tags
Similar threads

  1. What is the easiest way to install ImageMagick on CentOS?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 05-30-2010, 03:23 PM
  2. apache never install with cpanel in vps
    By aldesha989 in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 01-25-2009, 08:58 AM
  3. How can I install cPanel on VPS
    By Dr.BS in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-11-2008, 09:51 AM
  4. Please help - how do I install Cpanel in a VPS?
    By phattran911 in forum New User Questions
    Replies: 2
    Last Post: 12-24-2007, 12:03 PM
  5. Install cPanel VPS
    By sachink in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-19-2006, 03:36 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube