{"id":69,"date":"2010-05-14T10:40:00","date_gmt":"2010-05-14T15:40:00","guid":{"rendered":"http:\/\/blogs.wp.stage.cpanel.net\/2010\/05\/skipping_the_whm_getting_started_wizard\/"},"modified":"2010-05-14T10:40:00","modified_gmt":"2010-05-14T15:40:00","slug":"skipping_the_whm_getting_started_wizard","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/","title":{"rendered":"Skipping the WHM Getting Started Wizard"},"content":{"rendered":"
In this article we detail the steps required to remove the Getting Started Wizard.\u00a0 Someone may want to do this for the purpose of delivering servers in a “Configured” state.<\/p>\n
Recently, I was asked \u201cHow do I skip the WHM Getting Started Wizard?\u201d \u00a0This is normally done so that server resellers can deliver servers in a \u201cconfigured state.\u201d \u00a0Automating steps within the first time wizard is a very easy task. \u00a0This consists of three stages:<\/p>\n
The Touch File<\/strong> Writing \/etc\/wwwacct.conf<\/strong> It may not be obvious what each of these keys doe, the table below explains each key:<\/p>\n You can copy or generate this configuration.\u00a0 One way or the other, it needs to exist.\u00a0 If you need help creating this configuration file, please post in the Developer\u2019s Discussions forum and we will see what we can do about helping you out.<\/p>\n Configuring Services<\/strong> Initializing Quotas<\/strong> \/scripts\/initquotas<\/em><\/p>\n One all of the steps have been performed, your “Getting Started Wizard” has been fully automated.<\/p>\n","protected":false},"excerpt":{"rendered":" In this article we detail the steps required to remove the Getting Started Wizard.\u00a0 Someone may want to do this for the purpose of delivering servers in a “Configured” state.<\/p>\n","protected":false},"author":77,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[61],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","hentry","category-tips-and-tricks"],"acf":[],"yoast_head":"\n
\nWHM uses a touch file (\/etc\/.whostmgrft) to determine whether the Getting Started Wizard should run. You can skip the WHM first time wizard by running the following command:
\ntouch \/etc\/.whostmgrft<\/code><\/p>\n
\n\/etc\/wwwacct.conf<\/em> is the file that contains most of the basic setup instructions for cPanel\/WHM.\u00a0 This information includes the hostname, nameservers and other important information for the operation of cPanel servers.\u00a0 Below is an example of what an \/etc\/wwwacct.conf file should look like:
\nADDR 255.255.255.255
\nCONTACTEMAIL notmattdees@cpanel.net
\nCONTACTPAGER
\nDEFMOD x3
\nETHDEV eth0
\nHOMEDIR \/home
\nHOMEMATCH home
\nHOST example.cpanel.net
\nLOGSTYLE combined
\nMINUID
\nNS ns1.cpanel.net
\nNS2 ns2.cpanel.net
\nNS3
\nNS4
\nNSTTL 86400
\nSCRIPTALIAS y
\nTTL 14400<\/code><\/p>\n\n\n
\n Key<\/th>\n Value<\/th>\n<\/tr>\n \n ADDR<\/td>\n The default IP of the server.<\/td>\n<\/tr>\n \n CONTACTEMAIL<\/td>\n The system administrator\u2019s email address. This address is used for sending notifications of account creation\/termination, service status information, and numerous other events.<\/td>\n<\/tr>\n \n CONTACTPAGER<\/td>\n The SMS number used for notifications.<\/td>\n<\/tr>\n \n DEFMOD<\/td>\n The default cpanel theme to use.<\/td>\n<\/tr>\n \n ETHDEV<\/td>\n The default ethernet device. This should normally be eth0 on linux servers (unless the server is running virtuozzo).<\/td>\n<\/tr>\n \n HOMEDIR<\/td>\n The location of the default home directory.<\/td>\n<\/tr>\n \n HOMEMATCH<\/td>\n A string that can be used to determine whether a partition should be used as a home directory for new accounts. (e.g. a value of \u2018users\u2019 would match system mounts of: \u2018users\u2019 \u2018lusers\u2019 \u2018users2\u2019.)<\/td>\n<\/tr>\n \n LOGSTYLE<\/td>\n The Apache log format to use. This should always be combined.<\/td>\n<\/tr>\n \n MINUID<\/td>\n The minimum UID of cPanel created accounts. This defaults to 500 if this setting is not set.<\/td>\n<\/tr>\n \n NS or NS(2-4)<\/td>\n Nameservers to add to DNS zones by default. Without this setting at least the NS and NS2 values, account creation will fail.<\/td>\n<\/tr>\n \n NSTTL<\/td>\n The default TTL for use for DNS zones on your server.<\/td>\n<\/tr>\n \n SCRIPTALIAS<\/td>\n Defines whether a \/cgi-bin\/ directory should be aliased on account creation.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\nOne of the primary functions of the Getting Started Wizards is to allow users to select what DNS, FTP, and IMAP services they wish to use on a server.\u00a0 These selections are handled by a few scripts.\u00a0 These scripts do not have to run, but should be run if you wish to change the service from the default daemon.\u00a0\u00a0 Default (recommended) values are italicized below:<\/p>\n\n
\nOn a cPanel server, quotas need to be initialized, ensuring that the home directory is mounted with quotas enabled.\u00a0 To perform this step, \/scripts\/initquotas needs to be ran.<\/p>\n