{"id":3502,"date":"2014-10-06T16:00:00","date_gmt":"2014-10-06T16:00:00","guid":{"rendered":"http:\/\/localhost:8105\/?p=3502"},"modified":"2021-12-04T20:33:48","modified_gmt":"2021-12-04T20:33:48","slug":"creative-destruction-the-home-server","status":"publish","type":"post","link":"https:\/\/blog.shahada.abubakar.net\/?p=3502","title":{"rendered":"Creative Destruction &#8211; The Home Server"},"content":{"rendered":"<div id=\"content\"><b>*Creative Destruction: The Home Server is dead! Long Live the Home Server!*<\/b>I recently had bad sectors on two disks of a RAID5 array on my home server. With a lot of hacking of &#8220;mdadm&#8221; (Linux&#8217;s RAID management utility) I did manage to recover the data, but I decided to use the opportunity for some <i>creative destruction<\/i>.<\/p>\n<p>My home server started life as a &#8220;dedicated PC&#8221; to run MythTV, with dual PVR250&#8217;s connected to astro and hypptv to record programs. I then added three NICs to use it a proof of concept for my UniFi Linux Router script. Over time it started hosting a wiki, git server, and hosting a few web applications for myself and work. I&#8217;ve unsubscribed from Astro TV, so the PVR features are gone. It&#8217;s now an old clunky PC.<\/p>\n<p>My Desktop PC &#8230; is where I sit and is a bit of a monster PC (6-core, 32GB RAM, dual 24&#8243; displays, blah-blah). Since I&#8217;m a lazy bum I leave it on 24\/7, and since it is a monster PC I&#8217;ve started hosting some virtualhosts on it for testing and also work stuff.<\/p>\n<p>While recovering the data, I started wondering why I need to have TWO PCs on 24\/7, especially since my desktop PC can easily handle all the extra services.<\/p>\n<p>So &#8230; I bought another router (a TP-Link WR-1043ND-V2) and flashed OpenWRT on it, and got it running with UniFi. This model is quite similar to the old WR-1043ND, except that it&#8217;s faster and has more storage. But OpenWRT sees all the ports numbered in reversed. So if anyone&#8217;s confused with the VLAN numbering, I&#8217;ve put up a guide here: <a class=\"ot-anchor bidi_isolate\" dir=\"ltr\" href=\"https:\/\/www.evernote.com\/shard\/s389\/sh\/eccb5127-7a14-46e9-8857-20ebfdf99c10\/84d25984ed139c4154ee1939091a1f4e\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/www.evernote.com\/shard\/s389\/sh\/eccb5127-7a14-46e9-8857-20ebfdf99c10\/84d25984ed139c4154ee1939091a1f4e<\/a>. I also got my OpenVPN server running on it, which was quite straightforward (it runs Linux after all, so i just had to copy the server config and certs\/keys from the home server). It&#8217;s also running apache to do virtualhosting and redirecting and reverse-proxying. I love this little box.<\/p>\n<p>Meanwhile I moved the RAID hard disks over to my Desktop PC (which now has a total of 7TB of storage!!), and fired up a few more Virtual Machines, segregating work stuff and personal stuff.<\/p>\n<p>Three casualties:<\/p>\n<p>1) My LinuxRouter script &#8230; I think only a couple of people are using it out there (the only purpose would be &#8220;syok sendiri&#8221;). Well since I no longer run it, I can&#8217;t really work on it any more. The code is still at <a class=\"ot-anchor bidi_isolate\" dir=\"ltr\" href=\"http:\/\/home.abubakar.net\/gitpub\/?p=unifi_pppoe;a=summary\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/home.abubakar.net\/gitpub\/?p=unifi_pppoe;a=summary<\/a> if anyone needs it.<\/p>\n<p>2) My WiKi &#8230; while backing it up I discovered there were a lot of &#8220;link bait&#8221; web pages, due to some misconfigured security settings. Honestly, I think I am getting too old to manage this stuff. So decided to make use of the Samsung 1-year free premium offer and migrate everything into an Evernote Public Notebook, which can be accessed at the old URL here: <a class=\"ot-anchor bidi_isolate\" dir=\"ltr\" href=\"http:\/\/home.abubakar.net\/IckyWiki\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/home.abubakar.net\/IckyWiki<\/a>.<\/p>\n<p>3) Since I no longer have a downstairs PC, I can&#8217;t watch videos and youtube on my TV any more, so the TV is now a dedicated Roku\/Netflix screen. Hopefully, I can find a cheap media client, or maybe finally have a use for the Raspberry P I bought.<\/p>\n<hr \/>\n<p>LINK:<br \/>\n<a href=\"http:\/\/home.abubakar.net\/IckyWiki\"><br \/>\nEvernote shared notebook:<\/a><\/p>\n<hr \/>\n<p>Comments (1):<\/p>\n<ul>\n<li><i>2014-10-07 11:29:23+0800 Zulfadli Sukarno<\/i> Raspberry pi is no good for media client. You might want to consider lenovo small pc (idea centre bla bla bla) or intel nuc which is cost a bit but with better spec.<\/li>\n<\/ul>\n<p><i>This post was originally <a href=\"https:\/\/plus.google.com\/+shahadaabubakar\/posts\/BmNV6igbSUF\">published<\/a> publicly on <a href=\"http:\/\/plus.google.com\">Google+<\/a> at 2014-10-07 01:41:56+0800<\/i><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>*Creative Destruction: The Home Server is dead! Long Live the Home Server!*I recently had bad sectors on two disks of a RAID5 array on my home server. With a lot of hacking of &#8220;mdadm&#8221;&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117,116],"tags":[],"class_list":["post-3502","post","type-post","status-publish","format-standard","hentry","category-internet","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts\/3502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3502"}],"version-history":[{"count":2,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts\/3502\/revisions"}],"predecessor-version":[{"id":6498,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=\/wp\/v2\/posts\/3502\/revisions\/6498"}],"wp:attachment":[{"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.shahada.abubakar.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}