{"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

    \n
  1. Touching a file<\/li>\n
  2. Writing \/etc\/wwwacct.conf<\/li>\n
  3. Starting services and configuring quotas<\/li>\n<\/ol>\n

    The Touch File<\/strong>
    \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

    Writing \/etc\/wwwacct.conf<\/strong>
    \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

    It may not be obvious what each of these keys doe, the table below explains each key:<\/p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    Key<\/th>\nValue<\/th>\n<\/tr>\n
    ADDR<\/td>\nThe default IP of the server.<\/td>\n<\/tr>\n
    CONTACTEMAIL<\/td>\nThe 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
    CONTACTPAGER<\/td>\nThe SMS number used for notifications.<\/td>\n<\/tr>\n
    DEFMOD<\/td>\nThe default cpanel theme to use.<\/td>\n<\/tr>\n
    ETHDEV<\/td>\nThe default ethernet device. This should normally be eth0 on linux servers (unless the server is running virtuozzo).<\/td>\n<\/tr>\n
    HOMEDIR<\/td>\nThe location of the default home directory.<\/td>\n<\/tr>\n
    HOMEMATCH<\/td>\nA 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
    LOGSTYLE<\/td>\nThe Apache log format to use. This should always be combined.<\/td>\n<\/tr>\n
    MINUID<\/td>\nThe minimum UID of cPanel created accounts. This defaults to 500 if this setting is not set.<\/td>\n<\/tr>\n
    NS or NS(2-4)<\/td>\nNameservers 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
    NSTTL<\/td>\nThe default TTL for use for DNS zones on your server.<\/td>\n<\/tr>\n
    SCRIPTALIAS<\/td>\nDefines whether a \/cgi-bin\/ directory should be aliased on account creation.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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>
    \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
    • IMAP – \/scripts\/setupmailserver (courier OR dovecot OR disabled)<\/li>\n
    • DNS – \/scripts\/setupnameserver (bind OR nsd OR disabled)<\/li>\n
    • FTP – \/scripts\/setupftpserver (pure-ftpd OR proftpd OR disabled)<\/li>\n<\/ul>\n

      Initializing Quotas<\/strong>
      \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

      \/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":"\nSkipping the WHM Getting Started Wizard | cPanel<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=_-1440.html \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Skipping the WHM Getting Started Wizard | cPanel\" \/>\n<meta property=\"og:description\" content=\"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.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/\" \/>\n<meta property=\"og:site_name\" content=\"cPanel\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cpanel\/\" \/>\n<meta property=\"article:published_time\" content=\"2010-05-14T15:40:00+00:00\" \/>\n<meta name=\"author\" content=\"cPanel Community\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cPanel\" \/>\n<meta name=\"twitter:site\" content=\"@cPanel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cPanel Community\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/\",\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/\",\"name\":\"Skipping the WHM Getting Started Wizard | cPanel\",\"isPartOf\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\"},\"datePublished\":\"2010-05-14T15:40:00+00:00\",\"dateModified\":\"2010-05-14T15:40:00+00:00\",\"author\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\"},\"breadcrumb\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devel.www.cpanel.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Skipping the WHM Getting Started Wizard\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\",\"url\":\"https:\/\/devel.www.cpanel.net\/\",\"name\":\"cPanel\",\"description\":\"Hosting Platform of Choices\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devel.www.cpanel.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\",\"name\":\"cPanel Community\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"caption\":\"cPanel Community\"},\"description\":\"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.\",\"sameAs\":[\"https:\/\/cpanel.net\"],\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Skipping the WHM Getting Started Wizard | cPanel","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/","og_locale":"en_US","og_type":"article","og_title":"Skipping the WHM Getting Started Wizard | cPanel","og_description":"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.","og_url":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/","og_site_name":"cPanel","article_publisher":"https:\/\/www.facebook.com\/cpanel\/","article_published_time":"2010-05-14T15:40:00+00:00","author":"cPanel Community","twitter_card":"summary_large_image","twitter_creator":"@cPanel","twitter_site":"@cPanel","twitter_misc":{"Written by":"cPanel Community","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/","url":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/","name":"Skipping the WHM Getting Started Wizard | cPanel","isPartOf":{"@id":"https:\/\/devel.www.cpanel.net\/#website"},"datePublished":"2010-05-14T15:40:00+00:00","dateModified":"2010-05-14T15:40:00+00:00","author":{"@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8"},"breadcrumb":{"@id":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/skipping_the_whm_getting_started_wizard\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devel.www.cpanel.net\/"},{"@type":"ListItem","position":2,"name":"Skipping the WHM Getting Started Wizard"}]},{"@type":"WebSite","@id":"https:\/\/devel.www.cpanel.net\/#website","url":"https:\/\/devel.www.cpanel.net\/","name":"cPanel","description":"Hosting Platform of Choices","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devel.www.cpanel.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8","name":"cPanel Community","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","caption":"cPanel Community"},"description":"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.","sameAs":["https:\/\/cpanel.net"],"url":"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/69"}],"collection":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":0,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"wp:attachment":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}