{"id":1627,"date":"2016-08-14T12:51:42","date_gmt":"2016-08-14T11:51:42","guid":{"rendered":"http:\/\/slave27.local\/kb\/?p=1627"},"modified":"2016-08-14T12:51:42","modified_gmt":"2016-08-14T11:51:42","slug":"building-the-debian-administrators-handbook","status":"publish","type":"post","link":"https:\/\/andy.teknostatik.co.uk\/kb\/2016\/08\/14\/building-the-debian-administrators-handbook\/","title":{"rendered":"Building the Debian Administrator&#8217;s Handbook"},"content":{"rendered":"<p>Instructions for creating a local HTML copy of the Debian Administrator&#8217;s Handbook. All work related to this project was done on a Raspberry Pi Zero running Raspian, so I suspect it will work on anything running any Debian derivative (although Ubuntu 16.04 is the only other system I&#8217;ve tested this on so far)<\/p>\n<p>Get hold of the source code:<\/p>\n<pre><code>sudo git clone\ngit:\/\/anonscm.debian.org\/debian-handbook\/debian-handbook.git\n<\/code><\/pre>\n<p>Install the packages required for building:<\/p>\n<pre><code>sudo apt-get install publican publican-debian\n<\/code><\/pre>\n<p>Build the html files:<\/p>\n<pre><code>cd debian-handbook\/\nsudo .\/build\/build-html\n<\/code><\/pre>\n<p>It might take a while to build, especially on the sort of hardware I&#8217;ve been using. This might be the point to make a cup of tea.<\/p>\n<p>Copy the HTML files into the root of your web server:<\/p>\n<pre><code>sudo cp -R publish\/en-US\/Debian\/8\/html\/debian-handbook\/ \/var\/www\/html\/\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Instructions for creating a local HTML copy of the Debian Administrator&#8217;s Handbook. All work related to this project was done on a Raspberry Pi Zero running Raspian, so I suspect it will work on anything running any Debian derivative (although Ubuntu 16.04 is the only other system I&#8217;ve tested this on so far) Get hold &#8230; <a title=\"Building the Debian Administrator&#8217;s Handbook\" class=\"read-more\" href=\"https:\/\/andy.teknostatik.co.uk\/kb\/2016\/08\/14\/building-the-debian-administrators-handbook\/\" aria-label=\"Read more about Building the Debian Administrator&#8217;s Handbook\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","_share_on_mastodon":"0"},"categories":[3,7,8],"tags":[],"class_list":["post-1627","post","type-post","status-publish","format-standard","hentry","category-debian","category-raspberry-pi","category-ubuntu"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/comments?post=1627"}],"version-history":[{"count":0,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1627\/revisions"}],"wp:attachment":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/media?parent=1627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/categories?post=1627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/tags?post=1627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}