SERV­ING UP PI

Maximum PC - - THE ULTIMATE SERVER -

Make no mis­take, a Rasp­berry Pi is cheap and awe­some, but it makes for a poor mul­ti­pur­pose server. It’s pretty much a ter­ri­ble com­puter, ex­cept for cer­tain ap­pli­ca­tions that don’t care about its lack of sys­tem re­sources, and its net­work bus—shared with USB—is se­verely lim­ited. That said, for sin­gle tasks or light use, it’s great, and is the per­fect can­di­date for a few Docker con­tain­ers. As you might guess from the name, Pi­hole orig­i­nated on the Pi, and is one of the best can­di­dates; the Pi can cer­tainly man­age a lit­tle DNS fling­ing, and you can re­al­is­ti­cally get it in­stalled, hide that Pi away, and never worry about ads again. CPU­light apps, or those that are oc­ca­sion­ally used, are also fine. The ver­sion of Docker that’s in­cluded with Rasp­bian needs a quick up­date be­fore it works prop­erly, so run curl -sSL https://

get.docker.com |sh to in­stall afresh.

While Docker runs fine on a Pi (far bet­ter than any tra­di­tion­ally vir­tu­al­ized so­lu­tion), images are of­ten built for X86 plat­forms rather than the Pi’s ARM. Even the stan­dard hel­loworld im­age won’t work; to test a Pi Docker in­stal­la­tion, you need to run docker run armhf/ hello-world . When search­ing for can­di­dates or con­tainer­iza­tion, be sure there’s an ARM64

ver­sion. Vis­it­ing https:// hub.docker.com/u/

ar­m64v8/ brings up a num­ber of op­tions, all cre­ated in­ter­nally within the Docker team. Or why not use your Rasp­berry Pi as a Tor re­lay with the brun­neis/ tor-re­lay-arm im­age, or in­stall one of any num­ber of pro­gram­ing en­vi­ron­ments? You could even use Del­uge to set up your Pi as a hub for all your tor­rents, or try Py­dio for a lit­tle sim­ple on­line file stor­age.

Newspapers in English

Newspapers from Australia

© PressReader. All rights reserved.