Linux Journal | July 2017 | Issue

Linux Journal | July 2017 | Issue

™ Patch Managment Best Practices A Guide to Using Plex in Your Home Network JULY 2017 | ISSUE 279 Since 1994: The Original Magazine of the Linux Community http://www.linuxjournal.com BUILD YOUR OWN CLUSTER EOF: Linux for Everyone— All 7.5 Billion of Us PLUS: WATCH: Learn Golang ISSUE OVERVIEW and Back Up V GitHub Repositories LJ279-July2017.indd 1 6/21/17 4:31 PM NEW! Managing Harnessing Container the Power Security and of the Cloud Practical books Compliance with SUSE in Docker Author: Author: Petros Koutoupis for the most technical Petros Koutoupis Sponsor: Sponsor: SUSE people on the planet. Twistlock DevOps for An the Rest of Us Architect’s Author: Guide: John S. Tonello Linux for GEEK GUIDES Sponsor: Enterprise IT Puppet Author: Sol Lederman Sponsor: SUSE Memory: Past, Cloud-Scale Present and Automation Future—and with Puppet the Tools to Author: Optimize It John S. Tonello Author: Sponsor: Petros Koutoupis Puppet Sponsor: Intel Download books for free with a Why Innovative Tame the simple one-time registration. App Developers Docker Life Love High-Speed Cycle with http://geekguide.linuxjournal.com OSDBMS SUSE Author: Author: Ted Schmidt John S. Tonello Sponsor: Sponsor: IBM SUSE LJ279-July2017.indd 2 6/21/17 4:31 PM NEW! Managing Harnessing Container the Power Security and of the Cloud Practical books Compliance with SUSE in Docker Author: Author: Petros Koutoupis for the most technical Petros Koutoupis Sponsor: Sponsor: SUSE people on the planet. Twistlock DevOps for An the Rest of Us Architect’s Author: Guide: John S. Tonello Linux for GEEK GUIDES Sponsor: Enterprise IT Puppet Author: Sol Lederman Sponsor: SUSE Memory: Past, Cloud-Scale Present and Automation Future—and with Puppet the Tools to Author: Optimize It John S. Tonello Author: Sponsor: Petros Koutoupis Puppet Sponsor: Intel Download books for free with a Why Innovative Tame the simple one-time registration. App Developers Docker Life Love High-Speed Cycle with http://geekguide.linuxjournal.com OSDBMS SUSE Author: Author: Ted Schmidt John S. Tonello Sponsor: Sponsor: IBM SUSE LJ279-July2017.indd 3 6/21/17 4:31 PM JULY 2017 CONTENTS ISSUE 279 FEATURES 70 BYOC: Build 100 Back Up GitHub Your Own Repositories Cluster, Part III— Using Golang Configuration Need a tool to back up your GitLab or GitHub repositories? How to con!gure system Write one yourself in Golang. software to support a computer cluster. Amit Saha Nathan R. Vance, Michael L. Poublon and William F. Polik Cover Image: © Can Stock Photo Inc. / dny3d 4 | July 2017 | http://www.linuxjournal.com LJ279-July2017.indd 4 6/21/17 4:31 PM CONTENTS COLUMNS 30 Reuven M. Lerner’s At the Forge Where Do I Start? 36 Dave Taylor’s Work the Shell All You Need Is Love 44 Kyle Rankin’s Hack and / 22 Sysadmin 101: Patch Management 48 Shawn Powers’ The Open-Source Classroom Plex, All Grown Up 122 Doc Searls’ EOF Linux for Everyone—All 7.5 Billion of Us IN EVERY ISSUE 8 Current_Issue.tar.gz 48 10 UPFRONT ON THE COVER 28 Editors’ Choice UÊ*>ÌV Ê>>}iiÌÊ iÃÌÊ*À>VÌViÃ]Ê«°Ê{{ UÊÊÕ`iÊÌÊ1Ã}Ê*iÝÊÊ9ÕÀÊiÊ iÌÜÀ]Ê«°Ê{n UÊ Õ`Ê9ÕÀÊ"ÜÊ ÕÃÌiÀ]Ê«°ÊÇä 60 New Products UÊi>ÀÊ>}Ê>`Ê >VÊ1«ÊÌÕLÊ,i«ÃÌÀiÃ]Ê«°Ê£ää 127 Advertisers Index UÊ "\ÊÕÝÊvÀÊ ÛiÀÞipÊÇ°xÊ ÊvÊ1Ã]Ê«°Ê£ÓÓ LINUX JOURNAL (ISSN 1075-3583) is published monthly by Belltown Media, Inc., PO Box 980985, Houston, TX 77098 USA. Subscription rate is $29.50/year. Subscriptions start with the next issue. 5 | July 2017 | http://www.linuxjournal.com LJ279-July2017.indd 5 6/22/17 4:44 PM Executive Editor Jill Franklin [email protected] Senior Editor Doc Searls [email protected] Associate Editor Shawn Powers [email protected] Art Director Garrick Antikajian [email protected] Products Editor James Gray [email protected] Editor Emeritus Don Marti [email protected] Technical Editor Michael Baxter [email protected] Senior Columnist Reuven Lerner [email protected] Security Editor Mick Bauer [email protected] Hack Editor Kyle Rankin lj@greenfly.net Virtual Editor Bill Childers [email protected] Contributing Editors )BRAHIM (ADDAD s 2OBERT ,OVE s :ACK "ROWN s $AVE 0HILLIPS s -ARCO &IORETTI s ,UDOVIC -ARCOTTE 0AUL "ARRY s 0AUL -C+ENNEY s $AVE 4AYLOR s $IRK %LMENDORF s *USTIN 2YAN s !DAM -ONSEN President Carlie Fairchild [email protected] Publisher Mark Irgang [email protected] Associate Publisher John Grogan [email protected] Director of Digital Experience Katherine Druckman [email protected] Accountant Candy Beauchamp [email protected] Linux Journal is published by, and is a registered trade name of, Belltown Media, Inc. 0/ "OX (OUSTON 48 53! Editorial Advisory Panel Nick Baronian Kalyana Krishna Chadalavada "RIAN #ONNER s +EIR $AVIS -ICHAEL %AGER s 6ICTOR 'REGORIO $AVID ! ,ANE s 3TEVE -ARQUEZ $AVE -C!LLISTER s 4HOMAS 1UINLAN #HRIS $ 3TARK s 0ATRICK 3WARTZ Advertising % -!),: [email protected] 52,: www.linuxjournal.com/advertising 0(/.% EXT Subscriptions % -!),: [email protected] 52,: www.linuxjournal.com/subscribe -!), 0/ "OX (OUSTON 48 53! LINUX IS A REGISTERED TRADEMARK OF ,INUS 4ORVALDS LJ279-July2017.indd 6 6/21/17 4:31 PM Manage data expansion You with SUSE Enterprise cannot Storage. SUSE Enterprise Storage, the leading open source storage solution, is highly keep up scalable and resilient, enabling high-end functionality at a fraction of with data the cost. explosion. suse.com/storage Data LJ279-July2017.indd 7 6/21/17 4:31 PM Current_Issue.tar.gz Be the Change, Create the Future SHAWN NE OF MY FAVORITE ALL TIME QUOTATIONS IS FROM POWERS -AHATMA 'ANDHI (E FAMOUSLY SAID h9OU MUST be the change you want to see in the world.” Shawn Powers is the O Associate Editor for 4HOSE ARE POWERFUL WORDS BUT MORE THAN THAT THEYRE Linux Journal. He’s INSPIRING !LTHOUGH 'ANDHI WAS LIKELY FOCUSED ON SOCIAL also the Gadget Guy CHANGE THE CONCEPT LENDS ITSELF WELL TO TECHNOLOGY AS WELL for LinuxJournal.com, and he has an !NY PROGRAMMING SKILLS )VE LEARNED THROUGH THE YEARS ARE interesting collection DUE TO A NEED OR DESIRE FOR SOMETHING TO EXIST THAT DIDNT of vintage Garfield PREVIOUSLY EXIST !ND IF YOURE CONSIDERING PROGRAMMING coffee mugs. Don’t let his silly hairdo ,INUX IS AN EXCELLENT PLATFORM TO START WITH fool you, he’s a 2EUVEN - ,ERNER KICKS THINGS OFF WITH AN INCREDIBLE pretty ordinary guy HOW TO ARTICLE ON STARTING OUT IN PROGRAMMING 4HE THING and can be reached via email at ABOUT 2EUVENS ADVICE IS THAT IT COMES WITH EXPERIENCE [email protected]. AND WISDOM -Y FIRST NON BASH PROGRAMMING WAS Or, swing by the done with PHP, but that was only because I started by #linuxjournal IRC channel on MODIFYING SOMETHING THAT ALREADY EXISTED 2EUVEN HAS Freenode.net. SOME GREAT REASONING FOR WHAT HE RECOMMENDS AND ITS worth considering. I am certainly doing so! &OLLOWING UP ON LAST ISSUES SONG FINDING SCRIPT $AVE V 4AYLOR GOES FURTHER AND TEACHES HOW TO DO SOME PRETTY SIGNIFICANT TEXT MANIPULATION FROM INSIDE THE SONG LYRICS THEMSELVES %VEN IF YOURE NOT A HARD CORE "EATLES FAN VIDEO: Shawn THE PROCESS IS REALLY USEFUL IF YOU NEED TO GATHER AND Powers runs ANALYZE A BUNCH OF TEXT $AVES ARTICLE IS PERFECT EVIDENCE through supporting the idea that bash programming is real the latest issue. PROGRAMMING AND SHOULDNT BE UNDERESTIMATED +YLE 2ANKIN RETURNS TO HIS 3YSADMIN SERIES THIS MONTH 8 | July 2017 | http://www.linuxjournal.com LJ279-July2017.indd 8 6/21/17 4:31 PM Current_Issue.tar.gz with some great instruction on patch management. Securing your system is POINTLESS IF YOU DONT KEEP YOUR SECURITY PATCHES UP TO DATE ON YOUR SYSTEM YET THIS SEEMINGLY OBVIOUS RESPONSIBILITY OFTEN IS OVERLOOKED 4HIS IS ESPECIALLY TRUE WITH SOFTWARE THAT HAS BEEN CUSTOMIZED SINCE IT REQUIRES ACTIVE MAINTENANCE TO KEEP THE CUSTOM PATCHES UP TO DATE 4HANKFULLY ITS SOMETHING +YLE IS FAMILIAR with managing, and he shares some invaluable procedures in his column. ) DECIDED TO VISIT AN OLD FRIEND THIS MONTH AND WRITE A FULL BLOWN ARTICLE ON 0LEX ) OFTEN TOUCH ON NEW FEATURES OF 0LEX OR TOUT ITS AWESOMENESS ON THE MOBILE PLATFORM FROM TIME TO TIME 4HE THING IS IT HAS BECOME SUCH AN INTEGRAL PART OF OUR ENTIRE ENTERTAINMENT SYSTEM AND THAT OF OUR FRIENDS A COMPLETE UPDATE SEEMED APPROPRIATE 4HE 0LEX WORLD HAS MATURED GREATLY AND ITS WORTH CHECKING OUT IF YOURE STILL UNHAPPY WITH YOUR MEDIA STREAMING TECHNOLOGY 4HE TRIO OF .ATHAN 2 6ANCE -ICHAEL , 0OUBLON AND 7ILLIAM & 0OLIK FINISH THEIR SERIES ON BUILDING A CLUSTER THIS MONTH 4HEIR LAST TWO ARTICLES COVERED HOW TO SET UP THE VARIOUS PARTS OF THE CLUSTER INCLUDING NETWORKING AND COMMUNICATION BETWEEN THE INDIVIDUAL COMPUTERS 4HIS MONTH THEY DESCRIBE HOW TO USE THE CLUSTER BY CONFIGURING VARIOUS SERVICES TO TAKE ADVANTAGE OF THE CLUSTER YOUVE BUILT IF YOUVE BEEN FOLLOWING ALONG )F YOU HAVENT BEEN FOLLOWING ALONG ) STILL ENCOURAGE YOU TO READ THIS INSTALLMENT BECAUSE THE IMPLEMENTATION OF REAL WORLD applications might be enough to convince you clustering is a good idea! 7E FINISH THE ISSUE WITH !MIT 3AHA SHOWING HOW TO BACK UP 'IT(UB AND 'IT,AB REPOSITORIES USING 'OLANG !LTHOUGH HAVING A PUBLIC STORAGE AREA FOR YOUR CODE REVISIONS IS GREAT ITS NOT GOOD PRACTICE TO LEAVE BACKUPS TO SOMEONE ELSE !MIT SHOWS HOW TO MAKE BACKUPS SO YOU CAN HAVE PEACE OF MIND REGARDING YOUR CODE 0LUS YOULL LEARN TO USE 'OLANG ALONG THE WAY WHICH IS AWESOME 7HETHER YOU HAVE A DESIRE TO LEARN MORE ABOUT PROGRAMMING OR IF YOURE ALREADY AN EXPERIENCED CODER THERES ALWAYS ROOM TO LEARN MORE 7ITH $EV/PS BEING AN INTEGRAL PART OF WHAT IT MEANS TO hDOv TECHNOLOGY WE NO LONGER HAVE THE LUXURY OF AVOIDING DEVELOPMENT ALTOGETHER !S

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    128 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us