Skipping the WHM Setup Wizard on New Servers

5/5 - (1 vote)

If you have a fully automated cPanel/WHM setup method used to deploy a large number of servers, you’ve probably found it to be annoying that upon loading WHM for the first time, you’re greeted with a setup wizard that you have to click through. To skip this wizard, all you need to do is touch a file:

touch /etc/.whostmgrft

This will tell WHM to skip the setup wizard altogether. However, if you haven’t already, you’ll want to add the following pieces to your automation which are usually configured in the setup wizard:

  • IMAP – /scripts/setupmailserver (courier | dovecot | disabled)
  • DNS – /scripts/setupnameserver (bind | nsd | disabled)
  • FTP – /scripts/setupftpserver (pure-ftpd | proftpd | disabled)

You should also create the /etc/wwwacct.conf file, with the following contents:

ADDR 123.456.789.123
CONTACTEMAIL your@emailaddress
CONTACTPAGER
DEFMOD x3
ETHDEV eth0
FTPTYPE pureftp
HOMEDIR /home
HOMEMATCH home
HOST server.domain.com
LOGSTYLE combined
MINUID
NS ns1.yourdomain.com
NS2 ns2.yourdomain.com
NS3
NS4
NSTTL 86400
SCRIPTALIAS y
TTL 14400

Derived from : http://www.cpanel.net/blog/integration/2010/05/skipping-the-whm-getting-started-wizard.html

4 Comments

  1. cpanelkenneth Reply

    One thing to keep in mind with /etc/wwwacct.conf is it must be fully populated, all config directives must be provided. If the file is not fully populated then it will be replaced during cPanel installation (usually during upcp).

  2. Pingback: Edventures in Normalcy >> 1288

  3. Pingback: LFD – High CPU Usage While Sleeping | TurboNoc.com

  4. Pingback: LFD – High CPU Usage While Sleeping › Lime VPS

Leave a Reply

Your email address will not be published. Required fields are marked *

Log in