{"id":166,"date":"2017-01-02T20:42:25","date_gmt":"2017-01-03T04:42:25","guid":{"rendered":"http:\/\/ag6qr.net\/?p=166"},"modified":"2017-03-13T23:07:17","modified_gmt":"2017-03-14T06:07:17","slug":"a-peek-at-this-sites-hardware","status":"publish","type":"post","link":"https:\/\/ag6qr.net\/index.php\/2017\/01\/02\/a-peek-at-this-sites-hardware\/","title":{"rendered":"A peek at this site&#8217;s hardware"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-167\" src=\"http:\/\/ag6qr.net\/wp-content\/uploads\/2017\/01\/PiServer.jpg\" alt=\"\" width=\"640\" height=\"428\" \/><\/p>\n<p>Here is a peek at the hardware which you are using right now to view this website. It&#8217;s hosted on a <a href=\"https:\/\/www.raspberrypi.org\" target=\"_blank\">Raspberry Pi<\/a>, a tiny, inexpensive Linux machine. This one is running &#8220;headless&#8221;, meaning it has no keyboard, mouse, or display. Instead, I connect to it via ssh, http, or other network protocols.<\/p>\n<p>The black box on the right is the computer itself, in a black plastic enclosure. The data for this website actually resides on the USB thumb drive sticking out above the black box, between the orange Ethernet cable and the black USB cable.<\/p>\n<p>The Altoids tin has nothing to do with the computer, but is merely to show a sense of scale, since every electronics tinkerer knows exactly how big an Altoids tin is.<\/p>\n<p>The small black device above the Altoids tin is a powered USB hub. The Raspberry Pi itself may not always be able to reliably power mechanical disk drives.<\/p>\n<p>The black and silver boxes to the left are external USB drives of 1 and 2 TB. These are not used for the website, but instead are network attached storage used for backing up some of my family&#8217;s laptop computers.<\/p>\n<p>In addition to serving up this website and hosting the big backup drives, this computer runs an NTP server, to make one central reference in my home to which all other computers synchronize their clocks. It also runs some home automation software which I wrote, which takes care of turning on and off various outdoor lights.<\/p>\n<p>By self-hosting my website at home on inexpensive hardware, I avoid ongoing expenses, and can run this site exactly how I want to. Notice the absence of advertising? The downsides are that I&#8217;m responsible for all administration and backups, there is nobody I can call for tech support, and all of the traffic to this website must go through my relatively slow home modem and network. So far, I&#8217;m not popular enough for that to be a serious problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a peek at the hardware which you are using right now to view this website. It&#8217;s hosted on a Raspberry Pi, a tiny, inexpensive Linux machine. This one is running &#8220;headless&#8221;, meaning it has no keyboard, mouse, or display. Instead, I connect to it via ssh, http, or other network protocols. The black <a class=\"more-link\" href=\"https:\/\/ag6qr.net\/index.php\/2017\/01\/02\/a-peek-at-this-sites-hardware\/\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":167,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6],"tags":[],"class_list":["post-166","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computers","category-electronics"],"_links":{"self":[{"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":4,"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":343,"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/posts\/166\/revisions\/343"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/media\/167"}],"wp:attachment":[{"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ag6qr.net\/index.php\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}