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.

configuration template possible?

Discussion in 'General Discussion' started by edigest, Dec 18, 2010.

  1. edigest

    edigest Active Member

    Joined:
    Nov 24, 2010
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    S. Pole
    cPanel Access Level:
    Root Administrator
    I can't seem to find a list of configuration files for cpanel/WHM. I get new servers regularly and have to spend a fair amount of time configuring.

    Is there a central location for configuration files that can be updated manually?

    For example, under "WHM | Server Configuration | Tweak Settings" there are a number of changes I make for every server. Is it possible to do this directly through a configuration file rather than via WHM?
     
  2. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    Tweak settings are saved in the file /var/cpanel/cpanel.config. If you edit or replace this file on the backend, run the command below as guided in the third line of the same file for the changes to take effect.

    Code:
    [root@cpanel scripts]#  more /var/cpanel/cpanel.config
    #### NOTICE ####
    # After manually editing any configuration settings in this file,
    # please run '/usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings'
    # to fully update your server's configuration.
    
     
  3. edigest

    edigest Active Member

    Joined:
    Nov 24, 2010
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    S. Pole
    cPanel Access Level:
    Root Administrator
    Ourstanding! Thanks!
     
  4. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    Glad I could offer assistance.

     
Loading...

Share This Page