Raspberry Pi Special
Total Page:16
File Type:pdf, Size:1020Kb
30 PAGE RASPBERRY PI SPECIAL www.linuxuser.co.uk THE MONTHLY MAGAZINE FOR THE GNU GENERATION RASPI PROJECTS MADE EASY 10CCTV camera • Media centre • Wi-Fi router • Retro console & more Speed up your PC Photo Use Openbox to optimise your desktop managers Find the perfect package in our How to build super-test a GUI in Python Easy UI creation with Tkinter ALSO INSIDE » Learn MongoDB » Elementary OS interview exclusive Hacking health care How safe is Can open source save it? your network? Pentest your network like a pro Reviewed in this issue: Raspberry Pi Camera Module MASTER Embedded Pi • AV Linux PUPPET ISSUE 129 WorldMags.net WorldMags.net WorldMags.net Welcome to issue 129 of Linux User & Developer Get Mihalis Tsoukalos has over 15 years of Linux User UNIX system administration and This issue programming experience and has for £4.19 been using Linux since 1993. He is also proficient in Oracle database » Speed up your PC per issue administration, Cisco IOS and Cocoa. See his first tutorial for » Pentest your network Linux User about MongoDB, which Page 22 starts on page 64. » Build a GUI with Python Stuart Burns is an experienced Linux and » Get practical with your RasPi virtualisation specialist for a Fortune 500 company and enjoys Welcome to the latest edition of Linux User & writing about Linux. This month Developer, the UK and America’s favourite high-end he shows us how to make our life easier when it comes to caretaking open source and Linux magazine. multiple machines. You can fi nd his We’ve spent a lot of time wondering over the power excellent Puppet tutorial starting on page 50. and versatility of the Raspberry Pi in Linux User & Developer. As an educational tool it has reignited Liam Fraser is the creator of the hugely popular RaspberryPiTutorials YouTube interest in real bare-metal computing in schools series and is a Linux server admin around the world. As a platform for open source software for the Raspberry Pi Foundation. This month Liam flexes his project- it’s inspired thousands to try Linux for the fi rst time. Best of making muscles by creating two of all, though, is that in its role as a development platform the our ten Raspberry Pi projects which start on page 24. Raspberry Pi has empowered talented makers and tinkerers from all walks of life to create some truly stunning projects. Joey Bernard has been using Linux at home We’re not all blessed with the tools and talent to take pictures for almost 20 years and he’s with our Raspberry Pis from the very edge of space, though, so now getting paid for it as a computational research that’s what this month’s 22-page special feature is all about – consultant with ACEnet. In this really useful projects we mere mortals can do in a day. issue Joey gets serious about pentesting with a four-page We’ve included almost everything you need to give them a tutorial demonstrating the power try and each guide is broken down into manageable bite-sized of Kali Linux (pages 46-49). chunks with full source code if it’s required. Your team of Linux experts… of Linux team Your Gareth Halfacree is our new resident news Give them a try and get inspired to create your very own reporter and brings us news from Raspberry Pi project – next time it could be your project we’re all over the open source ecosystem starting on page 10. Find out why featuring in the magazine. the EU is probing Google and what Sony has open-sourced. Also this month Gareth reviews both the Russell Barnes, Editor Raspberry Pi Camera Module and the Embedded Pi. Rob Zwetsloot studied aerospace engineering at university, using Python to Get in touch with the team: model complex simulations in class. Among other things this issue, Rob explains no less [email protected] than four of the projects for our Raspberry Pi cover feature and Buy online finds out which photo manager you should be using (page 70). LinuxUserUK @linuxusermag Visit us online for more news, opinion, tutorials and reviews: www.linuxuser.co.uk WorldMags.net 3 Issue 129 WorldMags.net Contents Reviews 70 PhotoSoftware manager super-test Which of our open source choices gets you the best results? digiKam F-Spot 24 Do something amazing with your gThumb Shotwell Raspberry Pi today! 76 Raspberry Pi Camera Module Snap happy? OpenSource Tutorials 78 Embedded Pi 06 News 46 How safe is your network? The ultimate companion? The biggest stories from the One of the best forms of defence is offence. open source world Tear your network apart with Kali Linux 81 LG Optimus L3 II One of the smallest 14 Opinions 50 Keep all your machines in a line Androids available The latest from your favourite the easy way with Puppet free software columnists Keep your networked machines in sync 82 AV Linux The best in open source 85 B o o k s 54 Speed up Linux with Openbox media editing? The latest Linux reads Install and confi gure Openbox, the FEATURE dissected lightweight window manager 94 Letters Your views on the magazine Developer tutorials and the open source scene 58 Build a GUI with Python Features Get to grips with Tkinter 06 Hacking health care 64 Make a MongoDB database Can open source save it? Master the NoSQL database system 24 10 Raspberry Pi projects made easy On your free disc Dust down your Pi and put it 96 Cover disc to good use The very latest distros on DVD! 70 Photo manager Subscribe super-test Fedora 19 today! Which open source solution Knoppix 06 Hacking health care should you be using? 22 Save at least 30% Linux Lite on the shop price. This month we’re asking the big question US customers – can open source save the health-care 88 Q & A Tails can subscribe via system? Richard Smedley tackles the Your questions answered by page 84 topic in this month’s news feature… our panel of experts Join us online for more Linux news, opinion and reviews www.linuxuser.co.uk 4 www.linuxuser.co.uk WorldMags.net WorldMags.net Can you volunteer for Code Club? Code Club is a nationwide network of volunteer-led after school coding clubs for children aged 9-11. We need people who know how to program computers to volunteer to run a club at their local primary school, library or community centre for an hour a week. We create the projects for our volunteers to teach, the projects we make teach children how to program by showing them how to make computer games, animations and websites. Get involved, let’s teach the next generation to code! Visit www.codeclub.org.uk to find out more WorldMags.net WorldMags.net 6 News | 14 Opinion | 94 Letters Can open source save health care? When health care is struggling to meet demand, open source innovation could improve service and save money… Maintaining or increasing real-terms spending And caring, too on health may be a brave decision in austere The NHS has the relative luxury of a ring-fenced times but, despite the public sector wage budget. Adult social care has been hit with freeze, budgets cannot keep pace with the rising unprecedented cuts, and local authorities (who cost of health care and an ageing population. are responsible for most social care provision) However, from pressure to change the way we are dipping a toe in the open source waters and do things to make budgets go further comes fi nding them unexpectedly welcoming (see opportunity for real innovation, and an entry for ‘DALLAS to Liverpool’ boxout). the nimble (did someone say agile?) hackers of It may not please all of the giant corporations the free and open source movement. currently dominating the health and social care The fi gures are so high as to seem near- industries, but the door is opening to small, agile meaningless – with 1,400,000 employees, a competitors and – from the FOSS world – hack budget of more than £100 billion, 2,300 hospitals days are introducing free software coders and and 10,500 GP practices, the NHS deals with startup businesses to health-care professionals over 1 million patients every 36 hours. and decision-makers. Costs are notably high across the sector. LUD Health hack days bring together “developers, was told of a simple tray costing the NHS £75, designers, clinicians, health-care professionals, because it has to be ‘medical grade’ plastic. marketers, project managers, researchers Imagine instead 3D printers in every hospital and coders” to produce working technological producing plastic parts to order from open solutions to health-care problems in a CC: Craig Strong, for NW Health Hack source designs. concentrated session of 24 or 36 hours – often CC: Craig Strong, for NW Health Hack CC: Craig Strong, for NW Health Hack Q Following the pitches, pitchers had to hustle for developers CC: Craig Strong, for NW Health Hack 6 www.linuxuser.co.uk WorldMags.net WorldMags.net News The latest in the Linux community OPEN SOURCE Q Max Zadow leading the Liverpool Adult Social Care Hack Day CREDIT: Félix Brassier Félix on CREDIT: behalf Red of Ninja. CC: Craig Strong, for NW Health Hack DALLAS to Liverpool Max Zadow organised the fi rst ever Adult Social Care Hack Day in the UK, in Liverpool, last year – with the co-operation of the local council. Although they were “quite scared by it” Zadow tells us, budget cuts in social care have left authorities genuinely open to new ideas.