{"id":60,"date":"2008-07-17T11:29:20","date_gmt":"2008-07-17T16:29:20","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=60"},"modified":"2008-08-04T11:49:58","modified_gmt":"2008-08-04T16:49:58","slug":"vhcs-on-ubuntu","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2008\/07\/vhcs-on-ubuntu\/","title":{"rendered":"VHCS On Ubuntu"},"content":{"rendered":"<p>I was given the project of DNS entries for several customers.  After playing around with BIND9 for several hours (I actually got it to work for all sites EXCEPT http:\/\/sitename.tld &#8211; it worked fine for subdomains), a colleague suggested that I try VHCS.  VHCS is a free software suite that allows for Virtual Hosts, DNS, and other web related items to be shared and easily managed between several groups.  You can grab more data here: <a href=\"http:\/\/vhcs.net\">VHCS.net<\/a><\/p>\n<p>I also chose to put this on Ubuntu because debian packages are easy to install, Ubuntu is fully supported by a huge user base, and Ubuntu also uses a very small footprint.<\/p>\n<p>Once you download the suite, follow the Install directions all the way until you get an error similar to this:<br \/>\n<code>If specified by -literal_key, then the key length must be equal to the chosen cipher's key length of 56 bytes at \/var\/www\/vhcs2\/engine\/setup\/..\/vhcs2_common_code.pl line 1443<br \/>\nCompilation failed in require at .\/vhcs2-setup line (line whatever)<\/code>.<\/p>\n<p>Here&#8217;s the fix:<br \/>\n<code>nano \/var\/www\/vhcs2\/engine\/vhcs2_common_code.pl<\/code><br \/>\nControl + W and search for <code>db_pass_key<\/code><br \/>\nAny time you see <code>'key' => $main::db_pass_key<\/code> fill in the following ABOVE the line:<br \/>\n<code>'keysize' => 32,<\/code><\/p>\n<p>Then rerun the script .\/vhcs2-setup<\/p>\n<p>P.S. By the way even, the instructions don&#8217;t really mention that you have to copy some folders over.  Make sure you copy everything in the vhcs2-2.4.7.1\/configs folder to \/etc\/vhcs2\/ otherwise it will fail out.  If you get some postfix errors, that&#8217;s probably ok.<\/p>\n<p>P.S. Part 2 There is a much easier product to setup: ISPConfig.  You can find it at <a href=\"http:\/\/www.ispconfig.com\">ISPConfig.com<\/a>.  I recommend using ISPConfig as it is actively maintained.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was given the project of DNS entries for several customers. After playing around with BIND9 for several hours (I actually got it to work for all sites EXCEPT http:\/\/sitename.tld &#8211; it worked fine for subdomains), a colleague suggested that I try VHCS. VHCS is a free software suite that allows for Virtual Hosts, DNS, &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2008\/07\/vhcs-on-ubuntu\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">VHCS On Ubuntu<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,4],"tags":[],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-linux","category-networking"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":4,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"predecessor-version":[{"id":62,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/60\/revisions\/62"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}