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.

Speeding up the configuration process...

Discussion in 'General Discussion' started by 4u123, Dec 27, 2008.

  1. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    In the new year I will have another batch of servers to set up and I'd like to add a degree of automation to this process by copying pre-configured files onto the servers after the initial cpanel installation is complete.

    I already do this for some of the config files but I'd like to extend this to things like "tweak settings", feature lists, packages and other configuration settings for WHM that will be the same for all our servers.

    Does anyone have a list of files in the WHM installation that can be pre-configured and overwritten? I'd like to set up one server then copy some of the config files over to the other servers so I dont have to go through the ticking of boxes multiple times.

    Any advice greatly appreciated.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    For the most part, when it comes to settings, you can just copy the files.

    cPanel Update Settings: /etc/cpupdate.conf
    Basic Config: /etc/wwwacct.conf
    Tweak Settings: /var/cpanel/cpanel.config
    Feature Lists: /var/cpanel/features (one file for each feature list)
    Packages: /var/cpanel/packages (one file for each package)
    Custom EA3 profiles: /var/cpanel/easy/apache/profile/custom (one file for each profile)

    More file locations can be determined from the Troubleshooting presentation from our 2007 cPanel Conference: http://www.cpanel.net/docs/seminar07/Troubleshooting.pdf

    There may be a way to set a default EA3 profile to use during the installation process. However, offhand, I do not recall how to do this.
     
Loading...

Share This Page