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
The post Skipping the WHM Setup Wizard on New Servers appeared first on The cPanel Admin.