Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Making a "template" with cPanel config'd per predefined specs

Discussion in 'General Discussion' started by wizzy420, Feb 3, 2009.

  1. wizzy420

    wizzy420 Well-Known Member

    Nov 13, 2007
    Likes Received:
    Trophy Points:
    Every time I add a new cPanel server we have to go through a list of things. This is all pre-defined, stuff like:

    - Go to security center -> XYZ and enable DFE
    - Go to php configuration editor and -> edit line X, add line Y, set Z to 64
    - Go to exim config and add this block of text
    - Easy Apache with options L, M, and N -> Compile & Test

    Which gets tiresome after doing it over & over.

    Is it possible to do one fresh CentOS install, one fresh cPanel install, do steps 1,2,3, etc.

    and then just clone this? I know some things (like license) will need refreshing.

    Does anyone else do this?

    To do all those steps one must (I believe) set license.

    Once I get to this point (still no customers) can I then make a copy of this?

    What would I need to do when redeploying this image?

    Obviously I would need to:

    - Change /etc/{networking stuff}
    - machine has new hostname, IP address as default
    - Do some magic to erase cPanel license info so refreshed (HOW?)
    - {What else?}
    - Run upgrades (security, cPanel)
    - Probably Occasionally refresh image so initial shapshot isn't ancient

    Or is there a guide out there or some post which covers this?


Share This Page