LinuxUserDeveloperIssue1712016.pdf

(35749 KB) Pobierz
FREE DVD
LIVE BOOT THE LATEST MINT
www.linuxuser.co.uk
THE ESSENTIAL MAGAZINE
FOR THE GNU GENERATION
BETTER
IN
24
HOURS
BUILD AND DEPLOY THE BEST OPEN
SOURCE SERVER ARCHITECTURE NOW
MAXIMISE PERFORMANCE TODAY
SERVERS
REMOTE ADMIN
ON UBUNTU
PREVENT SSH ATTACKS
Prevent brute force, wardialling and man-in-
the-middle attacks on your servers
BEST
FIREWALLS
HEAD-TO-HEAD
DEPLOY A LAMP STACK
Take control of your Ubuntu system from anywhere
UPGRADE YOUR HARDWARE
POCKETCHIP ON TEST
THE BEST FOR YOUR BUDGET
Does this Linux handheld based on the CHIP board
have what it takes to impress gamers?
Use the Skywriter gesture-sensing breakout to make a robot move
ALSO INSIDE
» Develop your Bash scripting skills
» Learn advanced concurrent
programming techniques in Go
» Salix 14.2 Xfce Edition reviewed
Code your own ASP.
NET Core web apps
–Ryan Sipes
Leverage this cross-platform
development framework under Linux
ISSUE 171
CONTROL A ROBOT
ARM WITH PI
“Mycroft is the open source
answer to voice-activated personal
assistants like the Amazon Echo”
AI
OPEN SOURCE
THE MAGAZINE FOR
THE
GNU GENERATION
Imagine Publishing Ltd
Richmond House, 33 Richmond Hill
Bournemouth, Dorset, BH2 6EZ
+44 (0) 1202 586200
Web:
www.imagine-publishing.co.uk
www.linuxuser.co.uk
www.greatdigitalmags.com
Magazine team
april.madden@imagine-publishing.co.uk
01202 586218
Designer
Rebekka Hearl
Photographer
James Sheppard
Senior Art Editor
Stephen Williams
Editor in Chief
Dan Hutchinson
Publishing Director
Aaron Asadi
Head of Design
Ross Andrews
Welcome
»
Better servers in 24 hours
»
Remote admin on Ubuntu
»
Open source AI
»
Prevent SSH attacks
Editor
April Madden
to issue 171 of Linux User & Developer
This issue
Contributors
Dan Aldred, Joey Bernard, Christian Cawley, Sanne De Boer, Kunal
Deo, Nate Drake, Gareth Halfacree, Tam Hanna, Oliver Hill, Phil King,
Paul O’Brien, Swayam Prakasha, Richard Smedley, Jasmin Snook,
Mihalis Tsoukalos and Kevin Wittmer
Digital or printed media packs are available on request.
Head of Sales
Hang Deretz
01202 586442
hang.deretz@imagine-publishing.co.uk
Account Manager
Luke Biddiscombe
01202 586431
luke.biddiscombe@imagine-publishing.co.uk
Advertising
FileSilo.co.uk
Assets and resource les for this magazine can now be found
on this website.
Support
lesilohelp@imagine-publishing.co.uk
Linux User & Developer is available for licensing.
Head of International Licensing
Cathy Blackman
+44 (0) 1202 586401
licensing@imagine-publishing.co.uk
For all subscriptions enquiries
LUD@servicehelpline.co.uk
UK 0844 249 0282
Overseas +44 (0) 1795 418661
www.imaginesubs.co.uk
Head of Subscriptions
Sharon Todd
International
Subscriptions
Circulation
Circulation Director
Darren Pearce
01202 586200
Production
Finance
Production Director
Jane Hawkins
01202 586200
Finance Director
Marco Peroni
er?
Want it soon
Look for
issue 172
on 17 Nov
Founder
Group Managing Director
Damian Butt
Printing & Distribution
Subscribe
today!
Printed by William Gibbons, 26 Planetary Road,
Willenhall, West Midlands, WV13 3XT
Distributed in the UK, Eire & the Rest of the World by:
Marketforce, 5 Churchill Place, Canary Wharf
London, E14 5HU
0203 148 3300
www.marketforce.co.uk
Distributed in Australia by:
Gordon & Gotch Australia Pty Ltd
26 Rodborough Road
Frenchs Forest, New South Wales 2086, Australia
+61 2 9972 8800
www.gordongotch.com.au
Welcome to the latest issue of Linux User & Developer,
the UK and America’s favourite Linux and open source
magazine.
Servers were once the sole province of
corporations and other large organisations. Now you’re
much more likely to see one in someone’s home – maybe
they’re running their own business with it and it’s dealing
with essential files and folders, web access and accounts,
or maybe they’re simply using it to serve files around their home
network. These days many more of us are doing that, and if you
want to get in on the action, then head to p18 where our experts
explain everything you need to know to upgrade an existing home or
SME server, or build one from scratch.
Of course, once you’ve got your server up and running, it’s a good
idea to have remote access to it, but you’ll need to make sure that’s
secure. Check out the tutorial on p38 to find out more about remote
administration using SSH, and the one on p48 to find out how you
can prevent SSH attacks and keep your data secure. Plus we have
guides to Bash scripting, .NET and programming in Go to help you
develop your skills further. On p52, we take an in-depth look at
Linux Mint, including a breakdown of the various versions and how
they compare, plus advanced tips and tricks to configure it to your
liking and to make sure it’s locked up tight. Enjoy the issue!
April Madden,
Editor
Disclaimer
The publisher cannot accept responsibility for any unsolicited material
lost or damaged in the post. All text and layout is the copyright of
Imagine Publishing Ltd. Nothing in this magazine may be reproduced
in whole or part without the written permission of the publisher.
All copyrights are recognised and used speci cally for the purpose
of criticism and review. Although the magazine has endeavoured
to ensure all information is correct at time of print, prices and
availability may change. This magazine is fully independent and
not af liated in any way with the companies mentioned herein.
If you submit material to Imagine Publishing via post, email, social
network or any other means, you automatically grant Imagine Publishing
an irrevocable, perpetual, royalty-free license to use the material across
its entire portfolio, in print, online and digital, and to deliver the material
to existing and future clients, including but not limited to international
licensees for reproduction in international, licensed editions of Imagine
products. Any material you submit is sent at your risk and, although
every care is taken, neither Imagine Publishing nor its employees,
agents or subcontractors shall be liable for the loss or damage.
Get in touch with the team:
linuxuser@imagine-publishing.co.uk
Facebook:
Linux User &
Developer
Twitter:
Buy online
@linuxusermag
© Imagine Publishing Ltd 2016
ISSN 2041-3270
www.linuxuser.co.uk
www.linuxuser.co.uk
3
Visit us online for more news, opinion, tutorials and reviews:
Contents
e
Subscrib
& s
k
a
u
v
o
e
r
!
o t u
28
Chec
offer!
great new ers
S custom e
U
crib
can subs
5
on page 6
Reviews
83
Firewalls
Which of these offer the best firewall
protection for your desktop?
18 Better servers in 24 hours
Build a server with the right hardware and software
ClearOS
IPCop
OpenSource
Tutorials
08
News
The biggest stories from
the open source world
30
Bash masterclass: Flanking Bash
with the power of Qt
Use the Qt language in your shell scripts
and get even more from Bash
M0n0wall
pfSense
12
Interview
Ryan Sipes introduces us to
Mycroft, the open source AI
The latest on the Linux
kernel with Jon Masters
34
Start coding ASP.NET Core web
apps on the Linux desktop
38
Remote system administration
on Ubuntu
Learn how to ensure that your remote
admin is locked down securely
88
CHIP and PocketCHIP
The CHIP is an impressive board, but
what about its handheld dock?
Can this latest version of Salix make
slackware relevant again?
Richard Smedley recommends some
excellent FOSS packages for you to try
16
Kernel column
Build your own weather app using ASP.NET
Core development frameworks
90
Salix 14.2 Xfce Edition
92
Free software
42
Concurrent programming in Go
Part 2
Learn more about advanced concurrent
programming techniques in Go
48
Prevent SSH attacks
Features
18
Better servers
in 24 hours
Build a better server today
Keep your Secure Shell locked down and
ensure you keep your data to yourself
67 Practical Raspberry Pi
52
Ultimate guide to Mint
Get more from the world’s
most popular distro
96
Free downloads
Find out what we’ve uploaded to our digital
content hub FileSilo for you this month
Learn how to use the Pi and a Skywriter
breakout board to control a robot arm,
discover how to use a Pi as a Tor proxy,
and much more
Join us online for more Linux news, opinion and reviews
www.linuxuser.co.uk
4
NEW
next generation Cloud Servers
UK data centres,
UK support
Flexible
Pay as you
use pricing
Enterprise features
Load balancing
VPN
External firewall
Set up in seconds
Easy to use
control panel
Cloud Servers
from:
£15.
00
per month ex VAT charged at 20%
Call
0808 1686 777
or visit
fasthosts.co.uk/cloud-servers
SERVERS • WEB HOSTING • DOMAIN NAMES • EXCHANGE EMAIL
Zgłoś jeśli naruszono regulamin