Escolar Documentos
Profissional Documentos
Cultura Documentos
www.linuxuser.co.uk
BUILD A
LINUX
SERVER
» Share & back up your data
» Host your own website
Remote backups
with Duplicity Get your
Secure your files via FTP & SSH apps on the
Raspberry
Pi Store!
Inside Amahi
Behind the scenes with
the ultimate home server
20
Install
Amazing RasPi Ubuntu on
apps and tools your Nexus 7
Hack your tablet
Plus every RasPi distro tested! with Ubuntu Touch
» openSUSE 12.3 reviewed
» Create charts with Gantt
PLUS
22 pages
» Build web apps with Python of reviews ISSUE 125
MANAGE
FILES
CONVERT PRINT CREATE MODIFY & COMBINE
Aspose.Words Aspose.Pdf
Aspose.Cells Aspose.Email
Aspose.BarCode Aspose.Slides
www.linuxuser.co.uk
3 Issue 125
Contents Reviews
Build your own 62 Huawei Ascend G330
Linux server Has the Ascend G300 just
become a whole ‘30’ better?
20. Backup files and
share your media 64 Popcorn Hour A-400
Latest open sourced-based
media streamer
68 Raspberry Pi distro
super-test
Which distro should you install
OpenSource Tutorials
on your $25 computer?
80 openSUSE 12.3
06 News 30 Secure remote backups No big surprises for the latest
The biggest stories from the Use Duplicity to protect your files point release, but some polish
open source world
34 Install Ubuntu Touch to your 82 Sabayon 11
14 Opinions Android device We see how the latest build of
The latest from your favourite Test the latest beta of Canonical’s Touch OS this Gentoo-spin shapes up
free software columnists without losing all your data
84 Porteus 2
94 Letters 40 Plan your projects with Gannt Portable computing receives a
Your views on the magazine Sort your schedule with Gannt and Planner boost with the newest Porteus
and the open source scene
42 Mono – lost in
translation
Its downfall investigated
On your free disc
96 Cover disc
56 The university of Linux The very latest distros on one DVD
No degree? No problem… Fedora 18 Remix
76 20 amazing RasPi Raspbian
apps & tools
Must-have software Puppy 5.5 Subscribe 10 Inside Amahi
86 Q & A Arch ARM today! This month we get together with Amahi’s
founder and lead developer, Carlos Puchol,
18 Save at least 30%
Your problems solved! on the shop price. to see how its innovative home server is
US customers doing and where it’s heading in version 7
can subscribe via
page 86
Join us online for more Linux news, opinion and reviews www.linuxuser.co.uk
4 www.linuxuser.co.uk
N
UNPE WEW AN
UP DAA D
DA TNEDD
O UR
V PV
S PS TED !
!
U RN
Y OY
UR
MMAAXX
TN
TUR
UP TO
T HT
E HE
UP TO
MAX
MAX
GetGet
MORE MORE powerpower whenwhen you you
need need it! it!
With a fully scalable 123-reg VPS and our powerful new add-ons.
With a fully scalable 123-reg VPS and our powerful new add-ons.
PLESK ADD-ONS ADDITIONAL IP’s BACKUP STORAGE
PLESK ADD-ONS ADDITIONAL IP’s BACKUP STORAGE
ON Super charge Plesk with the ON Add extra IP addresses to ON Keep your valuable data
ON Super charge ON ON Keep your valuable dataor hardware
latestPlesk with including
add-ons the Add extrayour
IP addresses
VPS so youtocan use safe from error
latest add-ons
Plesk’sincluding
Power Pack, your VPS multiple
so you canSSLuse
certificates on safe frommalfunction
error or hardware
with our FTP
Plesk’s Power Pack,
Language packs and multiple SSL certificates
the same server. on malfunction with our FTP
backup storage add-on.
OFF OFF OFF
OFF
LanguageAnti-virus
packs andsoftware. OFF
the same server. OFF
backup storage add-on.
Anti-virus software.
START NOW with our new Starter package!
START NOW with our new Starter package!
HARDWARE
Google springs
groundbreaking
new hardware
Chromebook Pixel puts Google head-to-head
with Apple in the laptop market
“I suspect I’ll
The Chromebook Pixel is the first notebook to they stick to just churning out more crappy stuff
make this my
truly challenge the Apple MacBook in terms
of looks and build quality. Praise for a Linux-
and think that ‘full HD’ (aka 1080p) is somehow
the epitome of greatness.” primary laptop”
based device does not come any higher than
from Linus Torvalds himself: “Hey, I’ve joined all
Torvalds is certainly not the only one rejecting
PC hardware. Take yourself to any open source
- Linus Torvalds
the cool kids in having one of the new Google conference and you will tend to see an awful lot On the operating system side, the Chromebook
‘Pixel’ laptops (aka Chromebooks). And it is a of people working on Apple MacBook laptops. delivers all your common programs as apps
beautiful screen, to the point where I suspect Why? Because if you spend half your life working through the Chrome browser. This is where
I’ll make this my primary laptop,” Torvalds wrote on any device, there is an undeniable emotional many reviews have criticised the apps available
on his Google Plus account. Praising the Pixel’s attachment. Working on a beautiful notebook for what, at £1,049, is an undeniably high-end
3:2 screen format, and announcing his disdain makes a difference. device. With HTML5, apps work offline and sync
for widescreen laptops, he commented: “I’m still Machined from anodised aluminium, the automatically when they find a new connection;
running Chrome OS on this thing, which is good new Chromebook’s most important feature is and for users of Google Docs, Gmail, Google+,
enough for testing out some of my normal work arguably its lightbar, which delivers an ambient Hangouts and other Google cloud services, the
habits (ie reading and writing email), but I expect coloured display from the back of the screen “just device delivers all you need. However, Chrome
to install a real distro on this soon enough… because it looks cool”. A single finger opens the is not a primary target platform for most of the
“One thing that the Chromebook Pixel really “finely tuned piano hinge” to reveal a 12.85-inch third-party app community.
brings home is how crap normal laptops have display, whose 4.3 million indivisible pixels give But this is where it gets interesting. As long
become,” Torvalds continued. “Why do PC the Pixel the highest resolution of any notebook ago as 2009, the then Google co-founder Sergey
manufacturers even bother any more? No on the market. Brin stated that the company’s long-term
wonder the PC business isn’t doing well, when The Gorilla Glass screen also offers full plan was to merge its Chrome OS and Android
touch with tap, pinch and swipe in parallel to into a single ecosystem. Google also has a
the trackpad and backlit keyboard. Inside, the habit of using the company’s visual branding
Image courtesy of Google
employee Paul Wilcox on G+
6 www.linuxuser.co.uk
News
The latest in the Linux community
OPEN SOURCE
MOBILE
Linux calendar
Firefox OS Open Source Data
operators
osdc2013/overview/
This conference offers a unique
opportunity to meet with open
source professionals and insiders,
Host of major firms also gather and share expertise over two
days of presentations, hands-on
launch new HTML5 apps ■ Developer previews of upcoming workshops and social networking.
for Firefox Marketplace Firefox-based phones
Big news from the Mobile World Congress two billion people online,” explained Mozilla CEO
was the advance of Mozilla’s Firefox OS and Gary Kovacs.
the announcement that 17 key operators Firefox OS has also garnered support from
across Europe, Asia and Latin America have significant smartphone vendors looking for
signed up to ship new devices loaded with the lower-cost devices to bring new customers in
new operating system. In addition, Mozilla developing economies online. The first wave of
announced Firefox Marketplace, a new vendor- Firefox OS devices will be built by Alcatel One
independent store for HTML5 apps that can be Touch, LG and ZTE, with Huawei expected to
used across multiple platforms. announce further devices later in the year.
Firefox OS is a smartphone platform built Closely related to Mozilla’s plans for Firefox
Android Magazine
18 April 2013
on elements of the Linux kernel, using open OS, Firefox Marketplace also has a broader
web standards. The phone’s hardware and focus on HTML5 apps that can be used across – issue 24
functionality are exposed through open APIs, multiple platforms. Like other app stores, » www.littlegreenrobot.co.uk
with all of the features delivered through Firefox Marketplace will offer a range of apps Android Magazine, your best and
HTML5 apps. across categories like gaming, news and media, only print source for everything
Mozilla’s focus on delivering a phone through business and productivity. However, with Android, is coming out today. Check
out what’s in store over on page 60.
web technologies and standards has proved apps built on web standards and tied to online
highly attractive to mobile operators looking identity, users will be able to transfer their
LinuxFest
to provide a more cost-effective smartphone,
especially for use in emerging markets. With
purchases across devices and platforms.
The list of apps and developers for the new
Northwest 2013
Android now subject to an effective licence fee marketplace already includes AccuWeather, » Bellingham Technical College,
through patent settlements demanded from Airbnb, Box, Cut The Rope, Disney Mobile Bellingham, WA
27-28 April 2013
manufacturers by Microsoft and others, this Games, EA Games, Facebook, Nokia HERE, » USA
strategy is even stronger. MTV Brasil, Pulse News, SoundCloud, SporTV, » linuxfestnorthwest.org
LinuxFest Northwest is an annual
“Our goal is to level the playing field and Terra, Time Out and Twitter, alongside personally
event produced by the Bellingham
usher in an explosion of content and services tailored and local apps relevant to users in their Linux Users Group, and features
that will meet the diverse needs of the next respective regions. However, Mozilla’s key aim is Linux and open source experts
to open up the world of app development to a far and aficionados sharing their
broader spectrum of developers. experience and enthusiasm with
“Firefox OS will break down the walls between a wide variety of free and open
source technologies.
apps and the web because Firefox OS apps
are built using web technologies, like HTML5,”
commented Jay Sullivan, Mozilla’s senior vice
president of products. “We expect to see lots of
amazing apps built for Firefox OS because more
developers are already creating for the web than
for any other platform.”
Firefox Marketplace can currently be
previewed on Firefox for Android Aurora and will
be offered with the first Firefox OS phones to
■ Screenshots from Firefox OS launch later this year.
7 www.linuxuser.co.uk
OpenSource Your source of Linux news and views
Contact us…
Register and post your comments… Email us directly…
www.linuxuser.co.uk/forum/ linuxuser@imagine-publishing.co.uk
ANDROID
■ Asus PadFone hybrid ■ Wafer-thin Xperia Tablet Z ■ LG Optimus G Pro ■ Sleek HTC One
8 www.linuxuser.co.uk
News
The latest in the Linux community
OPEN SOURCE
UBUNTU
Inside
Amahi
Linux User talks to Amahi’s original founder and
lead developer, Carlos Puchol, about the current
strengths and future uses of the server software
INTERVIEWER Rob Zwetsloot
models complex systems
and is a web developer
proficient in Python,
Django and PHP. He loves to
experiment with computing
■ Puchol is the original founder and lead developer of the Amahi project
10 www.linuxuser.co.uk
Inside Amahi
A chat with Amahi founder Carlos Puchol
Interview
n Amahi’s web interface lets you control your server from anywhere n The applications allow you to extend the server’s functions easily
11 www.linuxuser.co.uk
Interview Inside Amahi
experience, and it essentially all comes back but essentially anyone in the community can
to us. People complain, they say it’s not ready, come and contribute, and our source code is
and typically they want to have it now, which also in GitHub – for the code that runs Amahi
basically means that we have to put a lot itself, with the installer and everything. One
Amahi Sync resources into support.” of the things that we do is try to work hard
to empower people to express themselves
Secure your files on your Amahi box by Community matters through the forums, through the wiki and
storing them on the cloud. With people The community also plays a part in which apps through various other outlets. We tried to make
using centralised servers to store a lot of are chosen, as Puchol explains: it a friendly environment for people to come in
files on these days, you can never be too “What we do is we base priorities on the and contribute, because that’s how we grow.”
careful backing up your important data. popularity of the app, and we base it on
“In the long term, people worry about how much expertise that we have on hand Distribution
hardware failures, natural disasters, to package the app. If somebody in the In fact, it was because of the community
vandalism or theft,” says Puchol. “So we community is very interested in having an feedback that Amahi 6 was brought to Ubuntu.
started getting requests for some way app packaged that is well rounded, then that “There’s always been a demand for having
to automatically sync up shares to the basically means it has higher priority because Amahi on Ubuntu,” Puchol tells us. “We were
cloud in a way that was easy. This led us to we are more confident that we can package it originally based on Fedora, but there’s always
implement Amahi Sync. You can think of it in a way that is solid for people to try out. And been that demand for Ubuntu. From our point of
as a one-way Dropbox.” so there are some apps that are super-solid view, it almost doesn’t matter what runs behind
Amahi Sync allows you to upload and some apps that are not as well maintained, the engine of Amahi, and it shouldn’t really
important data to the cloud automatically. and we struggle a little bit with them. So we try matter for users. The community was split on
These files are then browsable from to find a balance between going too fast and this, and there were people who were interested
the web, and links can be distributed to not doing a good job, above all else [to] make in what happened behind the scenes. We found
access the content. sure we have an app ready to go before we we had a small number of people who wanted to
take it live.” develop Amahi for Ubuntu, but most of the time
Each user also gets a free The community aspect of the server is very we underestimated the effort that would take.
subdomain, where they can host important to the Amahi team, which is why Eventually though, we found one person, Frans.”
(static) web sites or otherwise any file they they’ve stayed open source as Puchol explains: Frans Meulenbroeks helped port the project
want,” continues Puchol. “Amahi Sync is “So, one of the great things with Amahi is onto Ubuntu, and is now not only the Ubuntu
included with our two premium plans – that anybody in the community can essentially lead, but also works on implementing Amahi on
Pro and Ninja. The Pro plan includes 50GB package apps, and the apps can be, and are ARM. Puchol goes on to talk about how this has
of cloud storage and the Ninja plan mostly, open source. Some of them are not, changed their release schedule:
provides 150GB of storage.
■ There’s plenty of storage information to access so you know ■ Amahi’s detailed settings pages make it easy to monitor the
exactly how much space you have current state of servers
12 www.linuxuser.co.uk
Inside Amahi
A chat with Amahi founder Carlos Puchol
Interview
Not JBOD
Amahi has a smart drive pooling feature, which is only getting better.
Having large amounts of storage can get complicated, especially
when dealing with different RAID levels. Amahi makes it easier by
pooling all the drives together so they can act as one. However, there
are some caveats when adding extra drives, as Puchol explains:
“Now, we essentially build enough that we We ask Puchol if there are protocols in on, let’s say, Arch, again we would take patches
can actually run Amahi on both Ubuntu and place to allow for users to port to other for that and welcome the contributions.
Fedora. We’re going to try and keep on the distributions themselves: Essentially it’s a community-based project,
Ubuntu LTS releases, then hop onto whatever “It depends on how many developers are so all contributions are welcome. So we don’t
the next Fedora edition is available when we’re willing to chip in,” he responds. “Somebody discourage that, but we’re also realistic. Just
ready to release the following version of Amahi. can come in and say and they want to run on having some patches that can make it work
Right now, after this one, which will probably Debian, and that probably wouldn’t be too is not going to cut it; we want users to have a
be Fedora 18, we’ll basically hop on to the next hard as we’re already running on Ubuntu. So good experience. So if the developers are not
LTS release of Ubuntu. We’re going to try and we would definitely take the patches for that – committed and we don’t see the community
support both, and we have hooks so we can do and we already kind of have some support for actually making it work in the long run, testing
that for both distributions.” a bit of that. If somebody wanted to run Amahi applications and so forth, we would take the
patches but wouldn’t necessarily make an
official release.”
Future ambitions
There’s more in store for Amahi users as well,
old and new, as Puchol tells us about the
upcoming update to Amahi:
“The next version, Amahi 7, is right around
the corner, which is very exciting. We have a
space on Fedora 18, and it has a lot of new
features, [a] little bit better performance than
previous releases, new versions of Ruby and
Ruby on Rails and so forth. It’s a lot faster and
safer. We also have a plug-in system that we’ve
developed to make it easy to develop thinner
and lighter apps, basically apps that behave
like they are built in as part of Amahi, but can be
installed and uninstalled at will. There’s going
to be a lot of utilities that will appear with this
plug-in system, so we’re excited about it.”
13 www.linuxuser.co.uk
OpenSource Your source of Linux news and views
Jon Masters
Jon Masters summarises the latest happenings in the
Linux kernel community
Jon Masters is a pipeline with custom instructions is beneficial
Linux kernel hacker who (though this author notes that butchering a
has been working on CPU pipeline comes with its own hidden costs
Linux for some 18 years,
since he first attended
and so isn’t something recommended for non-
university at the age of 13. embedded applications).
Jon lives in Cambridge, Another very interesting new feature in the 3.9
Massachusetts, and works
kernel is support for Intel’s ‘PowerClamp’ driver.
for a large enterprise Linux
vendor. He publishes PowerClamp aims to constrain the maximum
a daily Linux kernel amount of power used by the system by forcing
mailing list summary at the CPUs to enter an idle state for a certain
kernelpodcast.org
percentage of their operating time. At first
glance, this may seem to be less than useless.
Linus Torvalds has announced the first several After all, having paid good money for a powerful
3.9 kernel release candidates, following the modern CPU (with multiple cores), most users
closing of the 3.9 ‘merge window’ (period of time expect to get all the oomph they can out of it.
during which disruptive changes to the kernel There are some users, however, where this
and new features are merged). Merge windows desire is balanced by overall power constraints
are typically up to two weeks in duration (and – in particular in data centres where there is a
seldom longer), though Linus has gone to great hard limit (often 10 or 15kW) of available power
pains over the past few years to push developers for a given rack of server equipment. Exceeding
not to post patches for inclusion at the very end the power available to a rack can cause all of the
of the window. Features merged into the kernel servers in it to shut down, which is generally not
should instead have received heavy testing in what data centre users want. Google and others
the linux-next kernel and elsewhere, be largely have encountered such problems over the past
complete, and posted for inclusion as early as few years, and have used their own custom
possible during the two-week window of frantic solutions to (presumably) good effect.
development for a given release cycle. This is the PowerClamp helps to generally solve
theory, at any rate. the problem of hard-limits at the rack level
In his mail simultaneously closing the by allowing an administrator or software
merge window, and also announcing 3.9-rc1, management tool (‘agent’) to configure the
Linus said, “I don’t know if it’s just me, but this system such that it will inject a certain number
merge window had more ‘Uhhuh’ moments of idle states onto a given CPU. Typically, the
than I’m used to. I stopped merging a couple kernel’s idle thread (idle task or idle process) will
of times, because we had bugs that looked run only when there is nothing else to do. It calls
really scary, but thankfully each time people a special machine instruction that will efficiently
were on them like paparazzi on Justin Bieber.” transition the processor into a lower power state
Those features that made it into 3.9 include from which it can be woken when there is work
support for Synopsys’s 32-bit ‘ARC’ architecture to do (usually through an external interrupt). In
(following a third posting of reviewed patches the case of PowerClamp, additional kidle_inject
from Vineet Gupta), which is designed for use in threads are created to run at specific times
embedded and DSP applications, particularly when there is a need to inject additional idle
those wherein the ability to extend the CPU states (over and above the regular idle thread)
14 www.linuxuser.co.uk
Opinion
The kernel column – Jon Masters
open source
Ongoing development
David Howells announced that “The end is nigh!”
for his ongoing UAPI work. UAPI is a near year-
long effort by David to clean up the kernel’s
internal header files (source code containing
definitions and small inline code functions
typically included into kernel or application
code), splitting out those parts that pertain only
to the API (application programming interface)
used by non-kernel ‘user space’ applications,
such as the Bash shell or Firefox web browser. A
typical Linux system includes many such header
files within the /usr/include/linux directory.
These are installed as part of compiling the
kernel, during the ‘make kernel-headers’ stage.
n Linus Torvalds making a rare public appearance at LinuxCon Europe
Until now, the process of building user
application usable header files involved
selective copying of a limited number of kernel “I stopped merging a couple of
times, because we had bugs that
headers (most are not intended to be used by
application code) and judicious use of special
conditionals within those files to ensure the right
thing would happen when they were used by
non-kernel code. After David’s work, the ‘user-
space API’ is more clearly defined and these
looked really scary” Linus Torvalds
pieces are separated out into files specifically storage instead (including special markers allocation cost can use the new pressure-level
intended for direct use by non-kernel code. that indicate a file has actually been deleted). notifications”. What this means is that it is
David’s latest email suggests that only a few Unlike other efforts to do overlays, Miklos’s possible for an application to be aware of the
changes pertaining to video framebuffers code tries to be as small as possible by generally overall pressure a system is under for memory.
remain “now that the SCSI stuff has gone in”. passing through operations on open files to the When Linux runs low on available free memory, it
Miklos Szeredi posted patches implementing underlying file systems as quickly as possible. It will do one of several things. This includes failing
a new ‘overlayfs’ file system. Overlay and Union will be interesting to see where this goes. new memory allocations, swapping out certain
file systems have been a topic of much debate John Stultz (of Linaro) has posted an RFC parts of applications to disk, and freeing up
for many years, particularly because they never patch-in-progress that would pull support internal caches. All of these have a cost in terms
seem to work quite right. The problem they for Android’s sync driver into the staging tree. of overall system performance (particularly
generally attempt to solve is one of allowing Staging is a part of the kernel source tree where when the system hits a point of swapping large
several distinct file systems to be joined experimental and not-quite-baked drivers amounts of data out to slow rotational disks and
together, with the net result being a virtual file can sit inside the kernel source while they are is said to enter a state of ‘thrashing’) that has not
system (only existing as a whole at runtime) being cleaned up. These drivers are available historically been easily visible to end software.
that contains selective pieces of each of its only if specifically configured for use. The sync Now, applications can easily monitor a special
constituent parts. A typical use case is one of driver provides a collection of synchronisation event file descriptor within a memory control
embedded routers or live CDs. Both contain primitives (code routines that can be used by group and be made aware of ‘low’, ‘medium’
some storage (flash memory or optical media) other code to ensure operations happen in the and ‘critical’ levels of memory as well as set
that is read-only, and some storage (on a RAM correct order) for use with drivers that provide specific limits at which a notification will be
disk or a separate piece of storage – a USB different parts of the graphics pipeline used with given. This allows an application to take steps to
stick, another flash etc) that can be written to. the Android SurfaceFlinger compositor. release unneeded in-memory caches (such as
A special file system is then used to present Anton Vorontsov posted the latest version web browser pages) before the system grinds to
what appears to be a selection of the content of a memory control groups (memcg) patch a crawl.
of both of these underlying stores. As files from implementing memory-pressure-level event
the read-only media are modified or deleted, support. With this patch, applications that
deltas are written to the separate writable “want to maintain the interactivity/memory
15 www.linuxuser.co.uk
OpenSource Your source of Linux news and views
16 www.linuxuser.co.uk
Opinion
The free software column
open source
17 www.linuxuser.co.uk
OW
R RY
N
DEUR
OR H
SUBSCRIPTION VOUCHER
■
✔ YES I would like to subscribe to Linux User & Developer
YOUR DETAILS
Title First name
Surname
Address
Postcode Country
Telephone number
Mobile number
Email address
Please complete your email address to receive news and special offers from us
Name and full postal address of your Bank or Building Society Originator’s Identification Number
FANTASTIC
To: The Manager Bank/Building Society
5 0 1 8 8 4
Address
Reference Number
SUBSCRIBER
Postcode Instructions to your Bank or Building Society
Please pay Imagine Publishing Limited Direct Debits from the account detailed in this
instruction subject to the safeguards assured by the Direct Debit guarantee. I understand
Name(s) of account holder(s) that this instruction may remain with Imagine Publishing Limited and, if so, details will be
passed on electronically to my Bank/Building Society
Signature(s)
OFFER
Branch sort code
Date
Banks and Building Societies may not accept Direct Debit instructions for some types of account A6 instruction form
Shopping list
You don’t need a monster specification
to run an Amahi server – indeed, its
lightweight nature is something that
lends itself perfectly to the reuse of a
previously retired box. Nevertheless, 6
here is what we used for our system. 4
1. CPU – Intel Core i3 3220 processor
2. Motherboard – Asus P8B75-M LX 8
3. Case – Fractal Design Define R4
4. PSU – Storm 700W
5. Memory – 4GB of DDR3 Corsair
RAM
7. Storage – 1TB Seagate Barracuda
7200.14
7
8. Optical Drive – LG Blu-ray ROM
9. Video Card – GeForce GTX 650 9
Truth be told, some of the hardware in
our list is overspecified for an Amahi
home server, but we have grander 5 2 1
plans for it in the future!
20 www.linuxuser.co.uk
1
time
Inspect the parts
The first thing to do before starting
taken
10 mins any kind of system build is to check
that all of the components you have
purchased are in perfect condition.
Installing damaged parts could ruin
other non-faulty parts, so it’s better to be safe
than sorry. Common problems to look for include
bent pins on the CPU socket; broken capacitors
on motherboards, graphics cards and other
circuit boards; and broken SATA or SATA Power
connectors on drives. Once you have verified
that everything looks okay, you are ready to get
started! Building a PC is an untidy job and you
can greatly increase the efficiency of your build
by tidying up as you go. Once you have unpacked
each component, neatly place its packaging
away from the build, but do not dispose of it until
you are sure all is well!
21 www.linuxuser.co.uk
FEATURE Build a Linux home server from scratch
2
time
Install the CPU and
apply thermal paste The chip will
taken
5 mins When installing a processor in an LGA (land be cut to only
grid array) based socket, the first step is to go in one way
remove the socket protection cover. After
this, lift up the socket lever and release the
mounting clamp before carefully aligning the chip,
taking special note of the notches at the side. Once the
chip is aligned, close the clamp and re-secure the lever
again, holding the CPU in place. The best method of
installing thermal paste on a chip with a heat spreader
is to squeeze out a small amount of compound (about
the size of a grain of basmati rice) and install the cooler
straight on top. The paste will then be compressed out
to just the right thickness. Don’t worry about having
paste on every square millimetre of the heat spreader -
the pressure of the cooler will do this over time.
3
time
Install the cooler
Installing the CPU cooler will either be a
with your thumb until they lock into place. With most
third-party coolers, however, things will be a little more
involved. Normally you would need to fit mounting clips
taken
15 mins very simple or very complicated affair, to the cooler’s base before pushing them through the
depending on the kind of model you have four holes on the motherboard into a custom backing
chosen. For socket 1155 (aka LGA1155 plate. These elaborate mounting systems keep a heavy
or socket H2) CPUs, the default cooler is third-party cooler more securely fastened than would
rather easy to install. Firstly, you need to line up the be possible with plastic push pins. Coolers heavier
cooler with the four motherboard mounting holes than about 800g should be removed before moving the
before pushing down firmly on each of the four pillars PC any distance.
4 Install motherboard are little hexagonal screws with both female and male
TIP
ends. They act as spacers between the motherboard
The screws only need to be
time The next step is to install the CPU/ tray and the bottom of the board. Only install hand-tight, but they’re easier to
taken
10 mins motherboard/cooler assembly into the standoffs where you have to. Installing standoffs access with a screwdriver
chassis. Go ahead and remove the side where there is not an associated mounting hole could
panel from the case before emptying it of result in the board shorting on the case, preventing
the mounting accessories. Position the it from booting – or even worse, causing damage to
leads carefully out of the way of the motherboard tray the components. Always use the correct threaded
before lining up the board with the tray to confirm screws from your case’s accessory bag to mount
where you need to screw in your standoffs. Standoffs the motherboard.
5 Install the memory closed. If using a dual-channel board (all modern PCs
are at least dual-channel), make sure you look in the
time Installing memory is one of the easiest motherboard manual to be sure that you have the sticks
taken
5 mins upgrades to perform, and is an identical installed in the right slots to enable dual-channel mode.
procedure regardless of whether you are
installing DDR, DDR2 or DDR3. All memory
sticks have a notch that prevents their
installation in an incompatible memory slot, or in the
wrong orientation. To start, release the two memory Dual-channel slots
clips by pushing them away from the centre of the slot. are not always
Gently slide the memory into the guides, taking care next to each
that the orientation is correct. Push firmly down on other on larger
the memory stick in a direction perpendicular to the motherboards
orientation of the board and the two clips should snap
22 www.linuxuser.co.uk
6
time
Install the video card
Installing the video card is the same as
taken
10 mins installing any other PCI or PCI Express
device; the only difference is the slot’s size
and shape. Firstly, remove the backing
plate aligned with the main 16x PCI-Express
slot. Make sure that any sliding mechanism or clip
designed to prevent the graphics card from shaking
loose is in its open position. Line up the end of the
graphics card backing plate with the hole in the case,
and then line up the slot
with the contacts. Gently
push the card, exerting
equal pressure from either
end so that it enters the slot
in one smooth operation.
Once you think you have the
card in the slot, check to see
that it is in straight and fully
pushed home. An unseated
graphics card is a common For longer graphics Slip the I/O panel
reason for a computer to fail cards, make sure between the case
when booting. there’s space and the board
7
time
Install the case fans
Even if you are building the simplest of
8
time
Install the
hard drives
TIP
Experiment with turning the
taken taken hard drive around and then
10 mins budget office machines, you should really 20 mins With most cases you’ll be provided with two plugging it in around the other
be installing at least one or two case fans different kinds of Phillips-headed screws. side. This can aid in airflow and
within your chassis. In general, a larger case One of these will have a coarse thread, and cable management
fan is preferable to a smaller one, as it shifts the other a fine thread. All hard drives are
more air with less noise. Where possible, look for case screwed in by coarse-threaded screws. Where you
fans with a 3-pin motherboard attachment rather than install your hard drives depends on the chassis you
a 4-pin Molex plug, since these can take advantage are using, but if installing more than one, try to make
of the rpm control offered by the motherboard. To sure that there is as much space between drives as
install the case fan on most cases, line up the fan on possible. This will maximise the airflow and keep drive
the inside of the chassis and screw in the thick case- temperatures low. Many of the more elaborate cases
fan screws from the outside. These are normally now available allow you to fit the drives into a slide-out
self-tapping, so they can be quite stiff to screw in. If caddy rather than screwing them to the case directly.
necessary, screw a fan guard into the other side of This has the benefit of allowing easy access to your
each fan. As well as protecting your fingers, they also drives should you need to remove them, but also usually
prevent stray cables from interfering with the blades. provides some form of anti-vibration isolation.
23 www.linuxuser.co.uk
FEATURE Build a Linux home server from scratch
9
time
Install optical
drives
taken
20 mins Most cases come with the 5.25” optical bays
initially populated with covers. Refer to your
case’s manual on how to remove these;
some just need bashing out, while others will
need the entire case fascia to be unclipped. With the
bay exposed, slide the drive in from the front until the Some cases
fascia is flush with the case before you start to screw mount optical
drives from inside
it in. If installing more than one drive to the same case,
repeat as required. Don’t be tempted to take the easy
way out and only screw in your optical drive on one
side; this will cause severe vibrations that will result in
an incredibly noise system whenever the PC is in use.
Many modern cases now employ quick-release clips
for optical drive mounting. Don’t be tempted to rely on
these alone if screw holes are also offered; again they
can cause lots of vibrations.
10
time
Install the
power supply
taken
30 mins With all of your other devices installed,
it’s time to install the PSU. Some system
builders like to install the PSU first, but
we think that the cables simply get in the
way. When installing the PSU, carefully choose which
cables you plug into each device so that you use the
minimum number of leads. If for example you have a
PSU lead with three SATA connectors, use this cable The PSU
to power three hard drives, rather than giving each should slot into
device its own cable. This will greatly ease future its own space
expandability, since unless you have an extremely
stacked system, you should have spare cables left four or eight square pins) as most boards won’t boot
over at the end of the build. Be sure to remember to without it, as well as any 6/8-pin PCI-E power cables
install the auxiliary 12V motherboard cable (normally required by your graphics card.
Quick Tip
Making use of the
11
time
Tidy the cables
Now you have the PSU installed, don’t just
taken
case to tidy helps 20 mins leave the wires trailing like spaghetti within
with any future cable your case. Instead, purchase some cable-
rearrangements ties from any good DIY ship and tether
them together. This will prevent them from
interfering with your CPU cooler and other fans, and
also greatly improves airflow within the case. If you
Efficient power
have spare PSU cables not powering anything, tie
usage aids in cable
these together and push them into a spare 5.25” drive
management
bay out of the way if using a case with a top-mounted
PSU, or beside the drive cage if using a modern bottom-
The point of mounted variant. Cases like the Fractal we are using
tidying cables is to have a myriad of cable management options so you can
help with airflow really go to town on making everything as neat as can
be. As well as tidying the PSU cables, make sure case
fan and CPU coolers are tied too.
24 www.linuxuser.co.uk
12
time
Fit case front-panel
connections
13
time
Install front-panel
USB, FireWire and
taken
audio cables
taken
15 mins All cases come with cables that need to be 10 mins
plugged into the motherboard to enable the
power and reset switches, the LEDs and the Most chassis have front-panel USB and
system speaker to function. Front-panel audio connections; some also have eSATA,
connectors differ depending on your motherboard, FireWire or USB 3.0. Most motherboard makers denote
so you should have the motherboard manual open internal USB headers in blue and FireWire heads in red,
for this step. The power, speaker and reset buttons but check the manual first as the pin-outs are the same
are not positive or negative, so can be installed on the shape. Helpfully, some cases have cables with large
relevant pins in either orientation, but the LED cables connection blocks that slide straight onto the whole
and speaker cable must be installed with the right USB header; others come with small, fiddly cables that
lead on the ‘+’ header. The HDD activity LED cable is must be installed individually on each pin. If using a
usually white and orange, with the orange cable being standalone sound card, you’ll need to plug the FP audio
positive. The system power LED lead is normally green connector into this instead. eSATA headers will need
and white, with the green cable being positive. If all of plugging into a spare SATA port on the motherboard.
your cables are covered in black insulation, look at the USB 3.0 headers are often thick and inflexible, so
connectors for orientation. position them carefully so they can’t easily pop out.
14 Final checks Give the memory modules a firm push to ensure they
are all the way into their slots. Make sure that your
time All of your parts should now be installed and graphics and any add-in cards are pushed fully into
taken
10 mins your server ready for its first boot. Before their respective slots, and that you have screwed down
you power up, however, take a few extra their backing plates. Secure any loose cables with ties
minutes to ensure that all is installed as it and replace the side panel. Plug your keyboard and
should be. Make sure that the CPU cooler is mouse into the USB ports, your video card cable into
plugged into the correct motherboard header, and that the DVI or VGA slot, and the 3-pin ‘kettle’ power lead
it is securely on top of the CPU without any rocking. into the PSU.
Quick Tip
Some motherboards
come with a caddy
to attach the audio
cables – helpful
15
time
Powering on for the
first time
taken
1 min With fingers crossed, press the power
button on the front of your case. If all has
gone to plan, you should be greeted by
a POST sequence on your monitor. This
will show the amount of memory installed, a list of
connected drives and CPU information. Press Delete or
the relevant F key to enter the BIOS. Firstly, you should
go into the drive settings and make sure all of your
disks are showing up correctly. Next, take a visit to the
hardware monitor section and ensure your processor
temperatures are steady and within safe limits (above
50°C is a concern and may point to an unseated
cooler). Set the boot order to your optical drive first
(assuming you are installing from DVD rather than a
USB stick), then save the settings and exit the BIOS
by pressing F10.
25 www.linuxuser.co.uk
FEATURE Build a Linux home server from scratch
Installing Amahi
Many Linux distros can be used to run a home
server, but Amahi is a particularly good choice
due to the ability to extend its functionality using
apps. Here we set it up with Ubuntu…
Troubleshooting if
there is no POST
1 Sign up and
configure Amahi
If the worst happens and there On another computer, head over to www.amahi.org
is no POST when you press the
and create an account and login. Once done, verify
power button, don’t panic. If
the system powers up, ie the your account by clicking on the emailed link; you will be
fans spin, the power supply is forwarded to a page asking you to create your HDA or
functioning properly. If there ‘Home Digital Assistant’. The first screen will ask you
are no signs of life, first make for your gateway, or router’s address. In our case this
sure that you have the power was 192.168.1.254. Next, choose a non-conflicting IP
switch installed on the correct
address for your HDA. We chose 192.168.1.50. The next
motherboard header, and then
make sure that the switch on the step is to name your local DNS domain. This can be
case is attached to the cable and called anything you want, but we left it at the default of code; you will need this later. Download the Ubuntu
not damaged in some way. amahi.net. Perform the final check that all details have 12.04 install CD if you don’t already have a copy and
If there is a standby LED been correctly entered and take a note of your install burn the ISO to a blank disc.
on your board and it is not
illuminated, the PSU may need
2 Install Ubuntu
replacing. If you hear beep be on the desktop. If you are a seasoned Ubuntu user
codes, check your motherboard you’ll already feel at home; if not, bear with us! Click
manual for their meaning. The
Place the bootable operating system CD the dash home icon (top left) and type in ‘Terminal’ to
most common cause for a
motherboard failing to POST in your computer’s primary optical drive. If you set bring up the terminal window.
without beep codes is that one of the boot order to CD-ROM first in step 15, the CD
the memory sticks is faulty. Try should begin the operating system setup sequence
removing one of the sticks if you automatically. The first screen to greet you will ask
have two or more and see if that you if you want to try or install Ubuntu – choose the
causes the machine to POST.
latter. Do not select and install additional packages
Check that all graphics and PCI
cards are fully installed into while installing Ubuntu, as Amahi requires the default
their slots. Disconnect any USB installation. During the install process you will be
devices from the machine and asked to create partitions and to pick a suitable
reattempt the boot. name, computer name and password. Installation
shouldn’t take too long and before you know it you will
26 www.linuxuser.co.uk
3 Install Amahi during the installation phase in the previous step.
Type it in and press Enter. After a few minutes Served up
Within your open terminal window, type you may receive a pop-up asking you to check for Amahi is a great server, but it’s
‘wget http://u12.amahi.org/install-amahi’ and press not the only one out there. Here
updates – click Close. Eventually you will be asked to
are some alternatives you may
Enter. Assuming you get a response, now type in reboot to get started. Installation of Amahi may take want to consider…
‘sh install-amahi’. The terminal will now ask you for minutes or hours depending on the quality of your
your install code. This is the one we received in step 1. hardware and internet connection. For our i3-based CENT OS
Type it in and press Enter. You will now be asked A community-built Red Hat
setup and with a BT Infinity fibre optic line, it took
Enterprise Linux using all the
for your password. This is the one you configured about 7 minutes. official sources, making it a rock-
solid and reliable distro that can
handle all your server needs with
some tweaking.
UBUNTU SERVER
Ubuntu without X is otherwise
very similar to the desktop
version, although it does include
more software to allow it to host
email and websites. Support is
also maintained for five years.
TURNKEY LINUX
There are over 100 variations of
TurnKey Linux, and each one is
specialised for a specific type of
server. While it’s primarily used
in the cloud, it’s designed to work
on physical boxes as well.
4 Use Amahi
After the next reboot, Amahi is now fully
Amahi’s key features
What makes it tick?
installed and ready to use. There should be two Amahi
logos on your desktop. Go ahead and open the Amahi
UBUNTU CORE BUNCH OF DRIVES
Dashboard. The Firefox web browser will open with
Amahi is built on Ubuntu, and as such it Using its own open source utility, Amahi
http://hda and ask you to log in. Use your Ubuntu means you can set it up on a pre-existing is able to smartly combine your spare
login, not your Amahi website login. The first login will install, and save a lot of time and hassle. storage drives into one, much more
create the first user, so take note of the details you useful virtual hard drive.
ONE-CLICK ADD-ONS
enter. You can now go ahead and begin sharing your The Amahi App Marketplace is comprised EXTERNAL NETWORKING
movies, photos and videos on your network. From of hundreds of packages that add Dial into your own network with the built-
a remote computer or media streamer device like a functionality to Amahi with a single click in VPN server, allowing you to access your
games console, you simply connect to ‘hda’ and enter of a button. files and other systems directly.
your user credentials. By default, files stored in the WEB INTERFACE REROUTING
/var/hda/files folders will be shared. Creating new Amahi comes preconfigured with a fully Take control of your network with Amahi
shares or changing the directories within the dashboard featured browser-based interface that to route PCs, phones etc. It comes with
is very easy and there are a host of apps available for you can access over a network or even via DHCP and dynamic-DNS, and is more
you to try and enjoy! the internet to control your server. stable than some ISP-supplied routers.
27 www.linuxuser.co.uk
1&1 WEB HOSTING
WINDOWS
OR LINUX
1 WEB HOST, 2 OPERATING SYSTEMS – ENDLESS POSSIBILITIES!
® © Larry Ewing
*All 1&1 Web Hosting packages (Windows and Linux) free for the first 6 months, then 1&1 Starter £2.49/month, 1&1 Standard £4.99/month, 1&1 Unlimited £6.99/month,
1&1 Business £9.99/month. 12 month minimum contract term applies. Visit 1and1.co.uk for full offer details, terms and conditions. Prices exclude VAT.
Windows is a registered trademark of Microsoft ® Corporation. Linux is a registered trademark of Linus Torvalds.
THE CHOICE IS YOURS!
At 1&1 we provide advanced solutions for even the
most demanding web projects – choose from our
flexible Windows and Linux hosting packages for the
latest in technology and programming.
6FREE! 6FREE!
phone and e-mail support from
our web hosting experts. MONTHS MONTHS
Then £6.99 per month* Then £6.99 per month*
Most of Duplicity
is controlled via
the command line
As we start to use
the more advanced
features of Duplicity,
it becomes
convenient to create
small helper scripts
for each function
30 www.linuxuser.co.uk
Create secure remote backups using Duplicity
Use Duplicity to securely back up your data online and restore it
TUTORIAL
to create a directory to store backups. Use the depositing three or more new files onto the FTP
following command: server. In a typical home directory, there may only
duplicity [source directory] ftp:// be a few small changes, for example. The output
[username]@[IP address of server]/ of Duplicity will reflect the extent of the changes
[backups directory] between backups.
Choose a smallish directory to begin with.
You’ll then be prompted for a user password
for that machine. Following this, enter a GnuPG
passphrase. As this is a test, come up with
01 Installation
Install Duplicity itself along with NcFTP
using the package manager for your system
something quick and easy to remember – we'll
create a stronger password later. The backup to
the FTP server will now commence.
(‘sudo apt-get install duplicity ncftp’ on Ubuntu).
Don’t forget to compare the version on the
website with the version in the repo.
04 Examine output
If everything went okay, Duplicity should
06 Verify backup
You can verify a Duplicity backup with
the verify command as so:
have backed up the files and will report this in its duplicity verify ftp://[username]@
output. In addition, the destination directory on [address of FTP server]/[backup
the FTP server should now hold three or more
05
on we’ll cover SSH. To test things out, set up an Repeat test backups and source directory.
FTP server on a locally accessible machine by If you run exactly the same command
installing vsftp with again, Duplicity will resynchronise the backup,
sudo apt-get install vsftpd
Configure it by editing /etc/vsftpd.conf.
Uncomment the lines “local_enable=YES” and
“write_enable=YES”. This allows a user on the
host system to log in using their normal username
and password and to operate on files within their
home directory. Restart vsftp by typing
sudo /etc/init.d/vsftpd restart
03 Simple backup
We’ll do a quick backup to test the
setup. Use mkdir [backups directory]
31 www.linuxuser.co.uk
Tutorial Create secure remote backups using Duplicity
11 Generate key
You don’t have to use secure keys, if
you are confident about the security of your
backup medium. However, you can do so, using
gpg --gen-key. Accept the defaults as you go
along, but make a note of the GPG passphrase
that you choose when prompted. When it finally
finishes, type gpg --list-keys and make
a note of the ID (eight numbers and letters next
to the ‘pub’ entry) of the public key. It’s usual
to create separate keys for encryption and the
signing of archives, so repeat the procedure to
create a second key.
07 Local backup
You don’t have to back up to a remote
server. Duplicity allows you to back up to a
09 List files
You can list all of the files in an archive
using the following command sequence
locally accessible directory such as an external duplicity list-current-files ftp://
hard drive. The command is: [username]@[FTP server]/[directory]
duplicity [source directory] file://
[destination directory]
The other options work in exactly the same as for
FTP backup.
12 Déjà Dup
10
There is a GUI front-end for Duplicity
Using SSH Instead of FTP
called Déjà Dup. It’s worth considering for simple
Begin by testing that you can SSH into
jobs and for clients who need a bit of control but
the server from the command line. On the
can’t handle the command line. Fortunately, the
machine that runs Duplicity, run sudo apt-get
actual archives that it creates can be operated
install python-paramiko.
on by the regular Duplicity tools.
To back up, use the command
duplicity [source directory]
32 www.linuxuser.co.uk
Create secure remote backups using Duplicity
Use Duplicity to securely back up your data online and restore it
TUTORIAL
14 Create scripts
From now on, we will use scripts
to control Duplicity. Create a file called
directories to exclude and the list file can include
wildcards. To exclude files over a certain size,
use the ‘find’ command – for example:
dupbackup.sh and place the following lines in it: find . -size +100M -print
export FTP_PASSWORD=[ftp password]
export PASSPHRASE=[GPG passphrase]
> oversize.txt
17 Full system backup
Modify the existing backup script, save it
under a new name and make it executable. The
duplicity --encrypt-key "[encrypt
command sequence is now
key]" --sign-key "[gpg ID]" [sign
key] ftp://[username]@[IP address of duplicity --encrypt-key "[encrypt
server]/[backups directory] key]" --sign-key "[sign key]
The retrieval script (call it dupretrieval.sh) is
--exclude-filelist=exclusion_list
similar, but the command line becomes
/ ftp://[FTP user]@[FTP server]/
duplicity --encrypt-key "[encrypt [backup folder]
This starts backing up files from the root folder,
key]" --sign-key "[sign key]" ftp://
and must be run as root. You also need to create
[username]@[IP address of server]/
an ‘exclusion_list’ file with the following entries
[backups directory]
on separate lines: - /sys - /dev - /proc - /tmp - /
16
Remember to chmod+x them both before use. Automating backups mnt (dashes included).
You can add a crontab to run your backup
18 System restore
There is more than one approach to
recovering an entire system, but the easiest
is to reinstall the system as usual and then
replace the files with those from the backup.
Exercise extreme caution when carrying this out.
Unfortunately, Duplicity won’t overwrite existing
files, so you have to do this manually. Create a
new script with the command sequence:
duplicity --encrypt-key "encrypt
key" --sign-key "sign key" ftp://
[FTP server]@[FTP server]/[backup
directory] /[destination directory
Now wipe the existing files from the destination
disk and use rsync -avz [source dir]
[destination drive root] to copy the
backup files across.
33 www.linuxuser.co.uk
Tutorial Install Ubuntu Touch to your Android device
Install Ubuntu
Touch to your
Android device
Canonical’s new mobile OS
is out for testing on select
Nexus devices – we cover
the best way to try it out, and
then recover Android
Advisor
Rob Zwetsloot models complex
systems and is a web
developer proficient in
Python, Django and PHP.
He loves to experiment
with computing While the Ubuntu for Phones announcement – something you may use in your day-to-day life.
at the beginning of the year was not entirely This means you may want to return your device
Resources unexpected, the sudden announcement of
Ubuntu on tablets to coincide with the release
to its previous state afterwards. Thanks to the
nature of Android, this is perfectly possible.
A recent Nexus device
of the images was a bit more of a surprise. Now In this tutorial, we will guide you through the
named Ubuntu Touch, the first development steps to first back up your phone or tablet, install
Carbon Desktop: images have been released to the public, Ubuntu Touch and then restore Android if you
www.clockworkmod.com/carbon
allowing for testing and development on a select need to do so.
Android image: range of Android devices. This of course means Note: Make sure your device is fully charged
https://developers.google.com/
android/nexus/images completely wiping your Android phone or tablet before attempting this as well.
34 www.linuxuser.co.uk
Install Ubuntu Touch to your Android device
Test out the new mobile OS, then restore Android
TUTORIal
07 Carbon backup
Open up Carbon on your device and
it will check to make sure it’s rooted, which it
should now be. Select the apps you want to
back up, give them a name and then press
‘Backup’. With the standard version, you can
save it to the phone’s storage.
01 Version check
First of all, make sure you know the
03 Android backup
Download the Carbon App Sync and
Backup application to your device from the
Android version on the device you want to wipe. Play Store. This is a free backup utility that
To find this out, go to the device Settings and does not require you to have your phone rooted
scroll to the bottom. Here you’ll find ‘About beforehand, but is quicker if you do.
phone/tablet’, and the relevant number will be
under ‘Android version’.
04 Carbon PC
If your phone is not rooted, you must now
go to the Carbon website and download the Linux
script. Extract the files from the tarball. Now
open a terminal and navigate to the files using cd
08
On your desktop system, add the PPA for
06
$ sudo apt-get install phablet-tools Carbon Desktop
android-tools-adb android-tools- Plug your Android device into your PC
fastboot and make sure the connection is set to PTP for
35 www.linuxuser.co.uk
Tutorial Install Ubuntu Touch to your Android device
09 Unlock bootloader
You may need to unlock your device if
you haven’t done so already. First, unplug the USB
12 Out of space
An error may pop up while trying to flash
the device, and it will complain about there not
cable, turn off the device and then reboot while being enough space. As you’re about to wipe
holding the volume-down button. It will now start it anyway, the quickest way is to erase all data
into the bootloader. Plug the USB back in. on the device, either from the Storage menu or
via bootloader.
13 Eye on things
The image for Ubuntu Touch will be
downloaded to your system and then copied
onto your device. The copying operation is not
verbose, so be patient. Afterwards, the device
will reboot and show a blue bar loading up the
new image.
10 Unlock fastboot
Once it’s plugged in, open the terminal
and type in:
$ sudo fastboot oem unlock
15 Swiping system
Ubuntu Touch has its own special
interface, one that does not have universal
buttons. Swiping from the edge of the screen
is the way to navigate: swiping from the left
brings up the Unity bar if you hold it, and the
Home screen if you let go; swiping from the right
switches between open apps; swiping from
the top allows you to access system settings.
The bottom is used for access app settings by
dragging your finger to the magnifying glass. It's
an interesting take on the tablet interface, but
11
takes a little getting used to.
Phablet flash
Now we can finally flash the device. Open
up a terminal if you haven’t already and type in
the following: 16 Develop me
The images right now are purely for
development – in fact some of the apps don’t
phablet-flash -b
36 www.linuxuser.co.uk
Install Ubuntu Touch to your Android device
Test out the new mobile OS, then restore Android
TUTORIal
22 Android restore
Restore using Carbon Backup, and
begin logging into any accounts you may need
to. You should now have successfully restored
your device back to the way it was previously.
This process can be used in general to keep your
phone backed up.
23 Update Touch
If you want to install Touch to your device
again, you don't have to go through the same
process as you will have already bootstrapped it.
18 Image prep Instead, use the following to get the latest nightly
21
Once the image is downloaded, make image and install:
Prep restore
sure to extract it. cd in a terminal to the directory Once you’ve set up your accounts on your
$ phablet-flash -l
you just unpacked it to, as we will work from here.
24
phone, obtain Carbon again and go through the The future of Touch
Now make sure to plug your device into your steps to root it that we did earlier in the tutorial.
workstation, and that it’s turned on. As the development progresses, new
Also make sure to grab AirDroid, so we can put the hardware will likely get added to the compatibility
files back onto the device for restoration. list, and more apps and functions will be
activated on the image. With these steps, you can
check back regularly with Ubuntu Touch and find
out how it’s evolving.
19 Reboot loader
Make sure the device is fully charged
just in case, and then type the following into
the terminal:
$ adb reboot-bootloader
20 Android install
Now we can install Android by typing into
the terminal:
$ ./flash-all.sh
37 www.linuxuser.co.uk
Tutorial Plan your projects with Gannt and Planner
This list of buttons gives This panel shows a list of all Here you will find the Gantt This row of buttons gives you
you quick access to the of your tasks, sorted in the chart of all of your tasks, access to the most common
four different views of order that makes the Gantt showing when all of your tasks actions, based on the context of
your project plan chart easiest to manage are scheduled to be handled which view you are currently in
Resources
One of the tools available in Linux is Planner. chart as an HTML page, or print the final Gantt
With Planner, you have the ability to schedule chart out so that you can give hard copies to your
Planner: https://live.gnome.org/Planner all of your tasks and generate the Gantt charts hard-working team members.
38 www.linuxuser.co.uk
Plan your projects with Gannt and Planner
Use the Planner tool to map out a helpful work schedule
TUTORIAL
01 Installation
As always, most distributions should
04
have packages available to let you install Project properties
planner. On Ubuntu, you would use ‘sudo apt-get Each project has a set of properties that
07
install planner’. The source code is available at you can edit by selecting the menu item Project> Task properties
the homepage. There is even a set of binaries Edit Project Properties. Here, you can set the Double-clicking the task number in
available for Windows users. name, manager and organisation for the project. the task list will pop up a Properties dialog; you
You can also set the project phase, and select the can set the name of the task and whether it is a
calendar to contain the deadlines and any alarms. milestone or has a fixed duration. You can also
set date/time information, like work and duration,
when you want to schedule it, what percentage is
completed and what priority you give it.
02 New project
When you first start Planner, you are
05
presented with a new, empty project. You can Calendars
have multiple projects open at a single time. At In Planner, you have the freedom to
any point, you can open a new project by either create calendars that will set days and times that
clicking the New Project button or selecting the are available for work and which are non-working.
menu item File>New Project. This will open the There is a default calendar where working is
new project in a new window. allowed 8:00-12:00 and 13:00-17:00, Monday
until Friday. If you have some other working time
requirements, you can create a new calendar
by selecting the menu item Project>Manage
Calendars and creating a new one.
08 Task resources
Clicking on the Resources tab will let
you select resources to assign to this task. You
can only assign resources that have already
been defined within the project. Once they are
selected, the entry on the Gantt chart gets tagged
with the short name for those resources.
09 Task predecessors
Clicking the Predecessors tab lets you
define task relationships. You can select the
03 Importing a project
If you are switching over to Planner in
the middle of a current project, you probably 06 Creating a task
Now that you have your project set up,
preceding task and define it as finish to start,
finish to finish, start to start, or start to finish. This
will update your Gantt chart with a relationship
have information in another product. The you need to start creating tasks. You can either arrow between the tasks. You can also define a
most common choice is Microsoft Project. click on the Insert Task button, or right-click in lag between the tasks, if needed.
You can import the project information into the task list and select ‘Insert task’. All tasks are
Planner by clicking the menu item File>Import> numbered, and on creation it is not given a name
MS Project XML... and is given a work duration of 1 day.
39 www.linuxuser.co.uk
Tutorial Plan your projects with Gannt and Planner
10 Moving tasks
Tasks can be moved up and down the task
list by clicking on the ‘Move Task Up’ and ‘Move
view of what is going on. Planner provides this
when you click on the Tasks button on the far
left side of the application. Here, you can see a
Task Down’ buttons. Depending on the size of your summary of all of your work for this project.
screen, these buttons may not be immediately
visible. Just click on the arrow on the far right to
see missing buttons.
16 Looking at resource usage
The flip side to scheduling your tasks
is scheduling your resources. In order to see
whether any of your people or materials are
being double-booked, or whether they are being
used efficiently or not, you can click on the
Resource Usage button on the far left.
11 Creating subtasks
There are two ways you can create a
subtask. The first is to right-click the parent task
14
and select ‘Insert subtask’. The other option is Adding new resources
to create a new task, directly below the parent Resources are defined for a project as a
task, and click on the Indent Task button to whole. You can click on the Resources button on
indent it below the task above it. the far left side to pull up the list of all resources
currently defined. You can add new resources by
either clicking the Insert Resource button or by
right-clicking within the resource list window and
selecting Insert Resource.
17 Highlighting the critical path
Once you have a large number of tasks
12
reach the end of the project. Select the menu
Linking tasks can start to actually get some work done. As item View>Highlight Critical Tasks to show the
Using the Predecessors tab in the Task your project progresses, you can click and critical path in red. This way, you can focus on
Properties dialog is not the only way to define drag along a task to mark the percentage those tasks of highest importance.
relationships between tasks. You can also click
and drag between tasks directly on the Gantt
chart display. If you accidentally create a loop,
Planner will pop up an error message.
40 www.linuxuser.co.uk
Plan your projects with Gannt and Planner
Use the Planner tool to map out a helpful work schedule
TUTORIAL
22
are completely unnecessary. If one is in the
Export to HTML
wrong spot in the plan, you can right-click
Once you have the project completely
the task and select ‘Unlink task’ to remove
plotted out, you need to communicate this out
its relationship to other tasks. If you need to
to all of the employees. If you have an internal
completely remove the task, you can right-click
company website, you can export your project
the task and select ‘Remove task’.
plan to HTML to include there. Selecting the
menu item File>Export>HTML will save this off
to a file of your naming.
19 Creating a new calendar you have a printable version that you can share
To create a new calendar, you will need with other people.
24
to bring up the calendar manager and click What next?
on the ‘New…’ button. You can then choose to Now that you have your project
either derive this new calendar from an existing planning all done, you can feel free to delegate
one, make a copy of an existing one or create a
new empty calendar. You can then edit working
and non-working days and times.
21 Creating groups
In the resources view, you have the
option to group together resources. You can
all of the actual work to your underlings, leaving
you free to do all of the high-level thinking for
the next project. If Planner doesn’t quite fit your
click on the Edit Groups button to bring up the workflow, don’t be afraid to go out and look into
can be either text, integer or floating point group from the list.
41 www.linuxuser.co.uk
Feature Mono - Lost in translation
lost in
the (Windows) platform horrible.” As Miguel
de Icaza noted, “Microsoft has terrible APIs to
code against. Anyone who has used Win32 and
any combination of the various layered cakes
that have been built on top of it has stuck to that
translation
platform only because of the size of the market,
but it is one of the most horrible APIs ever built.”
The CLR “injected fresh air” into the Windows
platform “by building and designing a new
programming platform that addresses all these
pains.” De Icaza hoped that Mono would solve
similar issues for the developers of GNOME,
where “libraries have been built by disconnected
Mono could have been many things, groups (PNG, JPEG, GTK+, XML, Bonobo,
CORBA spec APIs etc) and the end result is
but never found complete acceptance that a developer eventually has to learn more
than he wanted to in the course of developing a
Richard Hillesley tells the story could achieve fast and predictable outcomes by
writing against the Common Language Runtime.
42 www.linuxuser.co.uk
Mono - Lost in translation
The story of the Mono project
FEATURE
C# compiler
C#
“The CLR
things like Java, C#, as following the same and Internet Explorer, to “impede the
JavaScript and Visual Basic process: we are bringing development of network effects that
in the mix.” the best technology out cross-platform technology like Netscape
The CLR wasn’t a
new idea. An earlier ‘injected there to our beloved free
software platform.”
Navigator and Java might enjoy and use to
challenge Microsoft’s monopoly.”
the Windows
ANDF (the Architecture CLR as a means of writing
destroy the cross-platform threat entirely.”
Neutral Distribution applications for GNOME, Microsoft’s ‘Strategic Objective’ was to
Format), developed by without much relevance “Kill cross-platform Java by grow[ing] the
the UK Royal Signals
Research Establishment as
a binary standard format
platform” to Microsoft’s project for
world domination, and
others couldn’t see it that
polluted Java market.”
After losing in court, the company’s
response was to create .NET, a rival to Java
for UNIX applications. It gave a means by which way. Although Mono is based on a published that took the best aspects of the language
applications could be stored and distributed standard and is a clean implementation of and reshaped it as C#. .NET would be
in a format, the ANDF format, which an ANDF specifications that Microsoft had, for the used to generate web services that were
Windows specific and would challenge
translator would transform into native machine most part, put in the public domain, the
Java’s access to that platform. .NET was
code on the host machine. The ANDF translator doubts remained.
designed to maintain Microsoft’s monopoly
could be seen as a precursor of the Java Virtual of the commercial desktop,
Machine and the translation process was Visual Basic for Linux The big difference was that .NET
roughly equivalent to just-in-time compilation. Mono and the alternative free software clone was language independent. Programs
DotGNU were deliberate attempts to offer open would compile to a Common Language
Nothing but Java alternatives to .NET, independent of proprietary Runtime (CLR), which allowed language
From de Icaza’s perspective, the objective of interests. C# and Asp.NET developers could independence, so developers weren’t tied
Mono was not so much to achieve compatibility jump straight from Windows to Linux, or to one language or another for the rapid
development of useful applications. This
with Microsoft but to use the CLR as an enabler vice versa, and applications developed for
was the attraction for Mono developers.
for the development of distribution- and Windows could be migrated to Linux more or
language-neutral Linux desktop applications. less seamlessly. Mono allows you to program in
De Icaza’s argument was that Mono, the CLR Visual Basic on Linux and run your applications
and the .NET framework were “the fastest way on Windows, or develop in C# on Windows and
we can get stuff out there.” run your applications on Linux.
43 www.linuxuser.co.uk
Feature Mono - Lost in translation
44 www.linuxuser.co.uk
Mono - Lost in translation
The story of the Mono project
FEATURE
■ F-Spot is a photo management application for the ■ MonoDevelop is a free GNOME IDE primarily designed for C# and
GNOME desktop, written in Mono other .NET languages
applications” is only useful if the underlying the right to access and use the SMB/CIF “specifically worded to apply only to end-users,
technologies are free and open, and are likely to protocols. This agreement stands in stark and makes the following noteworthy distinction:
remain free and open. contrast to the confusion and ambivalence ‘an entity or individual cannot qualify both as an
Nonetheless, Mono fulfils a useful role for that surrounded Microsoft’s patent indemnity End User and a Distributor for use of the same
Windows developers and applications, providing agreement with Novell and the ‘IP’ issues copy of a Moonlight Implementation.’ It grants
an easy route for the migration of commercially surrounding .NET and Mono. no patent rights to Distributors, aside from
developed Asp.NET and other software Microsoft gave a certain level of those already granted to Novell in the previous
applications from Windows Server to Linux, and encouragement to Mono in the knowledge covenant. What it practically means is that
allowing .NET developers to migrate seamlessly that the project helped to spread the word and once you distribute, you stop being considered
from Windows to Linux. And MonoTouch has bring developers into the Microsoft fold. It is an ‘End User’ by Microsoft, and are no longer
evidently found a successful niche as a tool for also true that many individuals within Microsoft protected by this ‘covenant’ (unless you’re Novell
developing cross-platform mobile apps that will had a genuine interest in promoting the idea of or Microsoft).” The covenant reserved the right
run on iOS and Android. for Microsoft to discontinue
45 www.linuxuser.co.uk
BUILD A BETTER WEB
www.webdesignermag.co.uk
Available
from all good
newsagents and
supermarkets
ON SALE NOW
Power up WordPress | Master caption styles | Create scroll-based animations
DESIGN INSPIRATION PRACTICAL TIPS BEHIND THE SCENES STEP-BY-STEP ADVICE INDUSTRY OPINION
facebook.com/webdesignermag twitter.com/webdesignermag
The only Linux magazine for open source developers
100% FOSS focused » Features » Tutorials » Sample code
No degree?
No problem
Some free software
companies value aptitude
over grades…
Page 56
47 www.linuxuser.co.uk
Tutorial Get an app on the Raspberry Pi Store
LibreOffice is now
available on the
Raspberry Pi, and it
actually runs pretty well
Resources
only need to go up to the step where you write in one place, for free.”
the image to the SD card. You’ll have to adapt The app store provides a great opportunity
the instructions slightly for using the newer for developers to share their work with as many
Original content – to upload to the app store Raspbian image rather than the Debian one. people as possible, as well charge a small fee
A Raspberry Pi – running the latest Raspbian Recently, the Raspberry Pi Foundation for their software should they wish. Our expert
image with an internet connection launched an app store in collaboration is going to be uploading a simple Noughts and
An email address – which you can use to with IndieCity. In their own words: “We’re Crosses game that he wrote for a previous
register with the app store launching the Pi Store to make it easier for Linux & User Developer tutorial.
48 www.linuxuser.co.uk
Get an app on the Raspberry Pi Store
Upload your app to the store to share with others
TUTORIAL
The Pi app
store provides a
great opportunity
for developers
to share
their work
49 www.linuxuser.co.uk
Tutorial Get an app on the Raspberry Pi Store
05 Creating a project
Go to the My Games & Apps tab and
select the type of project you want to create.
Our expert wanted to upload a game so he
selected the Game option.
06 Taking screenshots
You’ll need screenshots of your
application, so before continuing let's learn how
to do that. We’ll be using a program called scrot
to take screenshots. You can install scrot using
the command ‘sudo apt-get install scrot’. Once
you've installed scrot, open up your application,
and a terminal and type ‘scrot -s’. Then click on 08 Setting a URL and folder name
Go to the Platforms/Installers tab. The
first step is to set a URL and folder name for the
your application. Scrot will take a screenshot of
the window you clicked on, and save an image project. You need this to continue. Once you've
file in your terminal’s current directory named by set a URL and folder name you are happy with,
the Pi folder to access your files. When filling in click the Save button.
the date and time you took the screenshot. the price, set each value to 0.00 if you want to
make your app free.
09 Creating a zip file containing the
project’s files
Projects are uploaded to the Pi store in zip files.
This is because a zip file allows everything
required for your program to run to be uploaded
as a single file. Our expert made a directory for
his project to demonstrate how to create a zip
50 www.linuxuser.co.uk
Get an app on the Raspberry Pi Store
Upload your app to the store to share with others
TUTORIal
11
adding: NoughtsAndCrosses/ (stored Building the game again and submit the game for approval. You
0%) Once you are happy that you have filled can submit the game for both In Progress and
adding: NoughtsAndCrosses/ in every aspect of the applications information Final Approval. The latter means that the game
NoughtsAndCrosses.py (deflated 75%) pages correctly, you can go back to the Manage will be in the main store whereas In Progress
Platforms/Installers section and select the approval means that the game is not marked as
BUILD button to build the application. The build finished yet, but can still be tried out by people
process should only take a few seconds. if they decide to look through the In Progress
section. Our expert submitted his game for
Final Approval. Check the box to indicate that
you have tested your game. Once you’ve filled
in the information, click the Submit button.
If you have uploaded an improved version of
your game, you can write information about
any bugs that you have fixed, or new features.
You will receive an email to notify you that the
game has been submitted for the community
approval process.
14
can upload the files for you project. Click on the The waiting game
Double-click on the game, once it’s installed, to
Pi link, under the Manage Platforms/Installers The community approval process may
test it out.
section, and select Full Game. Once you’ve take a few days. Our expert’s game was on the
done that, select the Upload Installer Files link store within three days of submitting. As long as
and upload your zip file. If your application is you haven’t uploaded any copyrighted content
written in Python, then you need specify that it and your game works, there should be no
should be launched with Python. You then need problem getting your app into the Pi Store. You’ll
to specify the path to the main executable that receive an email when your application has been
you run to start the application. Clicking in the through the community approval process.
field will show a list of possible files. Once you
are happy the form is filled in correctly, click the
Confirm Settings button.
13 Submitting your game for approval
If the game runs, then you can go back
to the Manage Platforms/Installers section
51 www.linuxuser.co.uk
Tutorial Making web apps with Python
01 02
manager. Python 3.x is not yet supported Configuring the Django project
Creating the Django Project LUD
for the current stable release of Django, ie settings
Issue Tracker
version 1.4. This information is up to date Before we start working on the application,
The django-admin.py file is used to create new
as of writing of this feature. Django will fully let’s configure the Django project as per our
Django projects. Let’s create one for our Issue
support Python 3 from version 1.6. requirements.
Tracker project…
To install/upgrade Python 2.7 and pip Edit ludIssueTracker/settings.py as follows
In Django, a project represents the site and
(Python package manager) on Ubuntu- or (only parts requiring modification are shown):
its settings. An application, on the other hand,
Debian-based distributions, the following Database Settings: We will be using SQLite3
represents a specific feature of the site, like
command sequence has been verified to as our database system.
blogging or tagging. The benefit of this approach
work with Ubuntu 12.0. NOTE: Red text indicates new code or
is that your Django application becomes
$ sudo apt-get update portable and can be integrated with other updated code.
$ sudo apt-get -f install Django sites with very little effort. ‘default’: {
$ sudo apt-get install python-pip $ django-admin.py startproject ‘ENGINE’: ‘django.
python-dev build-essential ludIssueTracker db.backends.sqlite3’,
$ sudo pip install --upgrade pip ‘NAME’: ‘ludsite.db3,
A project directory will be created. This will also
Django version 1.4: Django can be
act as the root of your development web server Path settings
installed using pip. To install Django using Django requires an absolute path for directory
that comes with Django. Under the project
pip, use the following command: settings. But we want to be able to pass in the
directory you will find the following items…
$ sudo pip install django==1.4 manage.py: Python script to work with your relative directory references. In order to do that
By now you should be able to run we will add a helper Python function. Insert the
project.
the command ‘djang-admin.py’. If the following code at the top of the settings.py file:
ludIssueTracker: A python package (a directory
command fails to run then you may want import os
with __init__.py file) for your project. This
to copy /usr/local/lib/python2.7/dist- def getabspath(*x):
package contains your project’s settings and
packages/django/bin/django-admin.py to a return os.path.join(os.path.
configuration data.
directory which is in your path. abspath(os.path.dirname(__file__)),
ludIssueTracker/settings.py: This file contains
This tutorial assumes you have some *x)
all the configuration options for the project.
knowledge about Python. If you are new to Now you can update the path options:
ludIssueTracker/urls.py: This file contains
Python, you can read the Python master @code
various URL mappings.
class at www.linuxuser.co.uk/tutorials/ TEMPLATE_DIRS = (
wsgi.py: An entry-point for WSGI-compatible
python-development-masterclass or the getabspath(‘templates’)
web servers to serve your project. Only useful
official Python documentation at http:// )
when you are deploying your project. For this
docs.python.org/2.7/ MEDIA_ROOT = getabspath(‘media’)
tutorial we won’t be needing it.
52 www.linuxuser.co.uk
Making web apps with Python
Use Python to create a fully functional web app
TUTORIAL
04
syncing the database.
Creating the data model # built in attributes for the admin
This is the part where we define the interface on
data model for our app. Please see the inline # how to display the list, how it
comments to understand what is happening. will be sorted
From django.db import models: # what are the search fields etc.
# We are importing the user class IssueAdmin(admin.ModelAdmin):
authentication module so that we use date_hierarchy = 'opened_on'
the built list_filter = ('status','owner')
# in authentication model in this list_display = ('id','name','sta
app tus','owner','modified_on')
from django.contrib.auth.models search_fields = ■ Admin login screen
import User ['description','status'] After logging in, you will notice that all the apps
# We would also create an admin
installed in your project are available here. We are
interface for our app # register our site with the Django only interested in the Auth and LudIssues app.
from django.contrib import admin admin interface You can click the +Add to add a record. Click
admin.site. the Add button next to Users and add a few
# A Tuple to hold the multi choice register(Issue,IssueAdmin) users to the site.
char fields.
Once you have the users inside the system,
# First represents the field name To have the created data model reflected in the you can now add a few issues to the system.
the second one repersents the database, run the following command:
display name $ python manage.py syncdb
ISSUE_STATUS_CHOICES = ( You’ll be also asked to create a superuser for it:
53 www.linuxuser.co.uk
Tutorial Making web apps with Python
09
automatically set to the date time it is created
from django.conf.urls import Setting up template and media
and modified_on will automatically set to the
patterns, include, url directories
date time on which an issue is modified.
# use ludissues model In this step we will create the template and
Another cool thing is that the owner field is
from models import ludissues media directories. We have already mentioned
automatically populated with all the users inside
the template directory as
the site.
# dictionary with all the objects in TEMPLATE_DIRS = (
We have defined our list view to show ID,
ludissues getabspath(‘templates’)
name, status, owner and ‘modified on’ in the
info = { )
model. You can get to this view by navigating to
http://localhost:8000/admin/ludissues/issue/. ‘queryset’:ludissues.objects.
all(), Which translates to ludIssueTracker/
} ludIssueTracker/templates/. Since we will be
accessing the templates from the ludissues
# To save us writing lots of python app, the complete directory path would be
code ludIssueTracker/ludIssueTracker/templates/
# we are using the list_detail ludissues. Create these folders in your
generic view project folder.
Also, create the directory ludIssueTracker/
#list detail is the name of view we ludIssueTracker/media/ for holding the CSS
are using file. Copy the style.css file from the resources
urlpatterns = patterns(‘django. directory of the code folder.
views.generic.list_detail’, To serve files from this folder we need to make
n The ‘Add issue’ menu #issue-list and issue-detail are the it available publicly. To do that, open settings.py
and add the following lines in ludIssueTracker/
ludIssueTracker/urls.py:
from django.conf.urls import
patterns, include, url
from django.conf import settings
# Uncomment the next two lines to
enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns(‘’,
(r’^’,include(‘ludissues.
urls’)),
n The list view for issues (r’^admin/’, include(admin.site.
54 www.linuxuser.co.uk
Making web apps with Python
Use Python to create a fully functional web app
Tutorial
urls)),
(r’^media/
(?P<path>.*)$’,’django.views.static.
serve’,
{‘document_root’:settings.
MEDIA_ROOT})
)
55 www.linuxuser.co.uk
Feature The University of Linux
THE
UNIVERSIT Y
lin u x
of
56 www.linuxuser.co.uk
The University of Linux
Free software welcomes anyone with talent
feature
57 www.linuxuser.co.uk
THE
UNIVERSIT Y
lin u x
of
58 www.linuxuser.co.uk
The University of Linux
Free software welcomes anyone with talent
feature
n TDM’s MD Derrin Kent and Patrick Beasley of eSkills UK n Who needs three years? An app built during a year
presenting IT apprentices with their certificates of apprenticeship with Pale Purple
William Redman, apprentice with Pale Purple those too busy to take out three years for a
degree, and the UK’s Open University is one
of our most successful tertiary education
Wyre presented two candidates for a “fairly Meritocracy institutions, turning out highly employable
techie” interview and one, William Redman, “got Is there a common pattern here? The free graduates. However, it is still a formal
out his laptop and started writing some Perl.” Pale software community is a meritocracy: show commitment involving fees, registration
Purple employed him as “he had the knowledge, us the code; the bug fixes and reports; the and exams.
but not the experience on paper – we haven’t had answers given on forums; useful blog posts; In 2008 the University of Manitoba
to sit down and teach him.” meetings organised. Involvement, enthusiasm experimented with putting a course online for
Apprenticeship in Redman’s case has meant and what you do and make are what matters. free, in parallel with teaching it to students
“real-world experience: doing the job instead of Dive in and build your own career if you are at the university. Other colleges trialled
MOOCs, and two years ago Stanford offered
just learning how to do it,” as he has constructed confident; get involved with the community
three courses online, including an AI course
sites in HTML5, CSS and JavaScript, and started and look for mentors if you are not so sure; or,
that attracted 160,000 online students. MIT
building mobile apps. for those needing support from a more formal followed, as did many others.
Clearly the UK government’s apprenticeship entry, try an apprenticeship. Stanford University staff founded Coursera
scheme, given the right employer (who gives We’re not suggesting all university courses to help other universities launch MOOCs, and
responsibility and support), and the right are a waste of time – but we are suggesting another Stanford professor launched Udacity,
apprentice (enthusiastic for learning and doing), that while many employers only interview a rival service working with several colleges.
is a promising way into a free software career. candidates with degrees, free software The choice of courses is now in the hundreds,
It’s also a boost for small companies looking to remains a very open field. Furthermore, and student numbers are in the millions.
expand, as Virya Technologies ably demonstrated starting your career without a degree doesn’t MOOCs are here to stay.
www.coursera.org
with its subsequent rapid growth. preclude going back to college later in life, when
www.udacity.com
The apprentices we have mentioned were you may benefit from a broader perspective
taken on by free software companies because and a more settled lifestyle. Meanwhile you
of their interest and aptitude. Tim Dobson (see can dip into the many massively open online
‘Ignore the careers teacher’ boxout on page 57) courses (MOOCs) available via the web (see
worked on websites in his own time, discovering boxout), to sample what you’re missing.
how to do things that the school couldn’t teach. Conclusion? Get involved in doing, making,
Dobson got involved in the local free software sharing and collaborating. Free software might
n Stanford professors Sebastian Thrun and
community and even founded a youth group be a multibillion-pound industry (especially for
Peter Norvig teach AI to the online world
to get young people more involved in FOSS. HP and IBM), but it also remains a community
Mike Little (see ‘Start your own project’ boxout) – one built on merit and achievement, and well
founded an open source project that thrived aware that its future depends upon welcoming
because it was so easy to get involved with. anyone who has something to contribute.
59 www.linuxuser.co.uk
UNLOCK THE POWER OF ANDROID
w w w.li t t l e gre enr o b ot .c o.uk
Available
from all good
newsagents and
supermarkets
ON SALE NOW
> Hottest Phones 2013 > Tablet Face–Off > Amazing Hacking Projects
HARDWARE REVIEWS ANDROID HACKING TIPS & TRICKS APP REVIEWS HELP & ADVICE
facebook.com/littlegreenrobot twitter.com/lgrobot
Review index
Essential kit, software and resources for the open source scene
REVIEWS
Hardware
62 Huawei Ascend G330
Has the Ascend G300 just become a
whole ‘30’ better?
80 openSUSE 12.3
No big surprises for the latest
point release, but some polish
82 Sabayon 11
We see how the latest build of
this Gentoo-spin shapes up
84 Porteus 2
Portable computing receives a
boost with the newest Porteus
61 www.linuxuser.co.uk
Review Huawei Ascend G330
SMARTPHONE
Huawei
Ascend
G330 £179.99
Huawei updates
its popular
Ascend G300
with a new
budget handset,
the G330…
Pros One of the more popular budget smartphones of 2012 was It sits underneath the back cover, and you have to remove the
Excellent value for
money and includes Huawei’s Ascend G300. At £100 SIM-free, it packed in a 4-inch battery to get at the slot. It basically means you will need to fit
a front-facing
camera – rare at screen and a 1GHz processor – both at the time of launch were in as large a card as you can get, because you won’t want to
this price point specifications worthy of more expensive smartphones. ever find yourself juggling cards on the go.
Hoping to capitalise on the success of the G300, the Ascend The build quality of the G330 is good in that the phone is
Cons G330 is in fact only a minor upgrade, and one which fails to steal relatively solid and tough. But aesthetically things aren’t great.
Not the prettiest
design, processor the limelight in quite the same way that its predecessor did. Yes, the back is rubberised to assist with grip, but overall the
can struggle to The Huawei Ascend G330 features an updated processor in impression is not of a device that is pushing the boundaries of
keep up with
demanding tasks the shape of a dual-core 1GHz model, but this is supported by industrial design.
the same 512MB of RAM found in the handset’s predecessor. At least the 4-inch screen with its 480x800 pixels is sharp
This means that while it runs smoothly for workday tasks, if and bright. This is in fact the same specification as found on the
you find you need to push the multimedia capabilities of the G300. But it is still a pretty good spec as the budget end of the
phone, or are a power user switching between multiple apps market is still cluttered with far lower-resolution screens, even
at the same time, it may complain and judder. in the hands of some of the industry’s most prestigious names
Storage is not a strong suit of this phone, either. With 4GB like Samsung. We’d love to see a 4.3-inch screen make its way
on board, the initial vibe is good, but in fact only 2.5GB of into the budget sector, but for the time-being this will suffice.
this is user accessible. You may well find you need to use a Under the hood, Huawei has chosen to go with Android 4.0
microSD card to augment that, and unfortunately Huawei Ice Cream Sandwich. Slightly behind the times, as Android
has not made the best job of locating the microSD card slot. 4.1 Jelly Bean is very much in the wild, it is still a pleasure to
62 www.linuxuser.co.uk
Huawei Ascend G330
Entry-level Android 4.0 smartphone
REVIEW
It is nice to see a
front camera on a
budget handset like
The 4-inch screen this one
Technical specs
Operating System Android 4.0
Processor 1.0GHz dual-core
Memory 512MB
Storage 4GB internal (2.5GB usable)
Dimensions 122.5 x 62.6 x 11.2mm
Weight 130g
Display Size 4-inch
Display Resolution 480 x 800 pixels
Expansion Slot microSD
see this version of the OS in a budget phone. And Huawei has you quick launch into the call log, messaging and camera apps,
added a few tweaks of its own without obscuring Android’s as well as the ability to control music playback and that already
own primal goodness. noted torch feature.
Huawei makes a bit too much of the fact that the BBC iPlayer
app is pre-installed. It’s not particularly difficult to download
this from the Play Store onto other handsets. Perhaps people Overall the Huawei Ascend
will be more impressed by EA Games’ The Sims Freeplay, but G330 represents a reasonably effective update of the
here too we are nonplussed. To get to the game you have to pass G300, but as we’ve seen with other landmark budget
a screen advertising trial versions of other EA games, and The devices (like the famous Orange San Francisco), it is very
Sims Freeplay is also downloadable from Google Play. difficult to pull off the same trick twice. With last year’s
What we do like is the inclusion of a DLNA app, file manager phone, any weaknesses were easily overlooked due to
and All Backup which can be used to back up your SIM, contacts the handset’s incredible value. This time around, not so
and other information. There’s a flashlight app too, which much. It’ll be fine for someone on a very limited budget,
you can access by long-pressing the Home button beneath but it’s not a groundbreaking phone likely to grab any
the display when you’re in the lock screen. This is the one true attention from the wider Android world.
innovation evident on the G330 and is a feature we really like Sandra Vogel
and would love to see other manufacturers emulate. More
It is easy to change the number of home screens on offer – information
you can go between three and five, and a neat lock screen gives www.huaweidevice.co.uk
63 www.linuxuser.co.uk
Review Popcorn Hour A-400
mini pc
Popcorn
Hour
A-400
£169 ($249)
The newest version of one
of the most popular HTPCs
The Popcorn Hour A-400 is the latest in the line
is here, and with a few Pros
Plays just about any
Cons
No 10-bit video
playback, poor
of Syabas devices to use the firm’s own NMT
file type over any software. Primarily designed to stream media
notable additions over the video connection,
either over a
selection of apps,
and pretty buggy.
There’s also no
over a network, the A-400 upgrades the basic
network or via
A-300, is it time to upgrade? internal storage PVR functionality
usage experience of the Popcorn Hours by adding
a hard drive bay to the design. This has changed
the form factor of the box a little over the A-300,
making it slightly taller as well as reducing the width. It actually
seems a little smaller because of this change, although how it
might fit into your setup is entirely subjective.
The box itself is a little more sleek, with the front USB port
moved discreetly to the side, and the lights on the front are
not surrounded by symbols either. Another
major addition to the hardware is
a USB 3.0 port, allowing for Super
Speed data transfers – although this
is only necessary for actually moving
or copying data, as even the highest
bitrate videos work just fine streaming
off USB 2.0.
Technical specs
Processor Sigma Designs SMP8911
800Mhz dual-core
Dimensions 182 x 158 x 56mm
Weight 1.3kg
AV Outputs HDMI, Component, CVBS,
Stereo Audio, S/PDIF,
Digital Optical
Network Ethernet 10/100/1000Mbps
Expansion 2x USB 2.0 Host, 1x USB 3.0
Slave, 1x eSATA
64 www.linuxuser.co.uk
Popcorn Hour A-400
Latest media-streaming HTPC
Review
Also
consider
Roku 2 XS
£99.99
The Roku box is filling the
The Popcorn Hours come with remotes that seem to caused it to near enough stop working. Input selection needs market that Boxee left
be designed for use with the entire range, and not just the to changed regularly to see anything, and trying to alter the behind with a tiny-yet-
powerful media box that can
individual products. Evidence for this comes in the form of output resolution in an attempt to fix it caused it to crash again. not only stream video over
eject buttons for discs – yet there are no disc trays or slots on There’s no hardware reset button to fix this either. We cannot be a network, but also access
a large array of apps with
the A-400. Redundant buttons aside, it’s a fairly nice remote certain how common a problem this could be, but dying when decent content – including
with plenty of actions, and it even lights up so you can see what the media is not playing as it expects isn’t ideal. movie-streaming services.
It also doesn’t nearly break
you’re pressing. The layout and buttons seem a touch odd, Another drawback is the number of apps available. We as much.
though: the home button is in an awkward position from the were sorely disappointed to find a tiny selection of around www.roku.com
d-pad, and the play and pause buttons are on the same rocker 60, many of which were newsreaders, RSS readers and social
bar for an unknown reason. It’s definitely serviceable and you network apps. There wasn’t even a Netflix app.
can either use a different IR remote if you’d prefer, or download It’s a shame then that what was otherwise a pleasant
the Android or iOS control app. experience, albeit one not notably better than XBMC, was
The most important part of the system, though, is of course hampered by technical issues. For now though, stick with the Popcorn Hour C-300
the playback functions, and these proved generally very good. previous version, or use your own with XBMC. Combo
£249
The A-400 was able to play just about every type of file format Based on the A-300, the
we could throw at it – MKV, MP4, AVI, WMV etc. Whether it used C-300 Combo might be a little
less powerful than the A-400,
H.264, Ogg or DivX compression, it was able to play it perfectly, When it works, it’s a but it also includes a Blu-ray
with the only exception we could find being Hi10p/10-bit H.264 fantastic piece of kit with only small issues warranting drive, wireless networking
and many more options for
media. This is not so commonly used, however, although it’s attention. However, the lack of apps is a problem and storage. While there may be a
slowly gaining traction and may be a necessity in the near the instability of the hardware is an even bigger one. C-400 in the future, the C-300
is still the best Popcorn Hour
future for more than just watching anime. Something like Look elsewhere if there’s the smallest chance of a www.popcornhour.com
that can be fixed via a firmware update, though, something playback error with your collection.
the Popcorn Hour can do while connected to the internet or Rob Zwetsloot
via USB storage, allowing problems to be fixed for the box More
over time. information
Unfortunately, during a network error the system hung www.popcornhour.com/
up on us. We were eventually forced to pull the plug, which onlinestore/
65 www.linuxuser.co.uk
Review Gizmo Explorer Kit
mini pc
Gigabit Ethernet Easily accessible A SATA 3.0Gb/s port,
and a very capable analogue VGA display plus nearby 5V power
Gizmo
processor make the output is joined by a supply, makes it easy
Gizmo an extremely DisplayPort output on the to add high-capacity
powerful device High-Speed Connector storage to the Gizmo
Explorer
Kit
£157 ($199)
If the Raspberry Pi
doesn’t have the grunt for
your project, the Gizmo
– a 64-bit x86 AMD APU-
based development board
– might be the answer
The Gizmo is undeniably remarkable. A joint bundled copy is only valid for 30 days from registration. In
Pros Cons venture from several firms including AMD and both cases, once the time limit has expired you’ll need to buy a
Excellent Relatively low
performance purchase price Sage Electronic Engineering, it’s a clear attempt licence – but non-commercial users can do so at a discounted
from a remarkably excludes ongoing
compact system, licensing costs for
to do for the x86 market what the Raspberry Pi rate of $299 (around £237 including VAT) for a year’s EDK and
with great bundled software and similar have done for the ARM market. unlimited SmartProbe use. Commercial users, however, will
extras aimed at development kit
development use
The board itself is compact, measuring have to pay Sage’s full retail price of $1,350 (around £1,068.)
101.6mm on a side, with a pair of small heat sinks Licensing costs aside, the Gizmo and Explorer bundle is
rising up to just below the level of the combined USB and an impressive way to get started. The add-on Explorer board
Ethernet ports. These heat sinks disguise the real power of connects to the Gizmo’s Low Speed Connector – a 36-pin PCI
the board: an AMD G-T40E accelerated processing unit (APU) Express edge connector – and provides a small LCD display,
combining two 64-bit x86 processing cores running at 1GHz motor controller, prototyping area and full access to the
with an AMD Radeon HD 6520 GPU offering a claimed 52.8 board’s general-purpose input-output (GPIO) capabilities. An
gigaFLOPS of floating-point performance. included matrix keypad and demonstration programs, loaded
The first thing you notice about the Gizmo, however, is the into Sage’s customised coreboot BIOS, help guide the user
bundled accessories. As well as the board itself, the purchase through making best use of the Gizmo in embedded projects.
price includes a handy breakout board dubbed the Explorer, The high-speed port, meanwhile, offers serious expansion
as well as a hardware JTAG debugger with USB and Ethernet potential, carrying two PCI Express lanes, a SATA interface,
connectivity – the Sage SmartProbe. The latter, designed two USB 2.0 interfaces and a DisplayPort interface for
specifically for AMD processors, offers fine-grained analysis connection to a digital display. These are all in addition to the
and control over the CPU, GPU, chipset and connected two USB 2.0 ports, three analogue audio ports, SATA port,
peripherals, but comes with a serious restriction: after 20 Gigabit Ethernet port and VGA ports brought out on the Gizmo
hours’ use, it stops operating. board itself.
The same is true for the Sage EDK, an integrated As the list of ports suggests, the Gizmo is perfectly
development environment (IDE) for embedded systems: the usable as a microcomputer as well as a development board.
66 www.linuxuser.co.uk
Gizmo Explorer Kit
64-bit x86-based development board
Review
The Gizmo’s
heat sinks are
entirely passive,
and barely get
warm even during
The first thing you notice
extended use about the Gizmo, however, is
The micro-display,
the bundled accessories
coupled with a
bundled matrix
keypad, can be used
for headless projects
A generous
prototyping area
on the Explorer
board is provided for Also
electronic circuits consider
Disconnecting the Explorer board provides a compact ideas – the Gizmo is certainly a device that you should be
footprint, and the passive heat sinks mean silent operation keeping a close eye on if you’re interested in the embedded
with a peak power draw of just 10W. The AMD APU offers full hardware market.
AMD64 x86 compatibility, meaning the board can easily boot Raspberry Pi Model B
£30
any Linux distribution from a USB drive, PXE boot or a SATA- Its somewhat outdated
connected storage device – and it’s even possible to install the For a price that puts the ARMv6 processor aside,
the Raspberry Pi remains a
proprietary AMD Catalyst driver package for surprisingly high- Gizmo on a level with ARM-based development boards, great choice for embedded
performing 3D acceleration. you get a full 64-bit x86 microcomputer with powerful development on a budget
– so long as your project
Benchmarking shows the true capabilities of the Gizmo graphics, and the multi-purpose connectors offer doesn’t need the power
compared to ARM-based development boards: while the great expansion possibilities. While the inclusion of of a dual-core 64-bit x86
processor. Inexpensive add-
Raspberry Pi may be far cheaper, its 95th percentile time time-limited trials for the SDK and debugging hardware on boards can provide extra
of 51.45ms in the SysBench CPU test is blown away by the rankles, upgrading to the full release comes with a capabilities, too.
www.raspberrypi.org
Gizmo’s 9.87ms. For users looking to build a compact web hefty discount for Gizmo owners.
server or NAS, the Gizmo’s impressive processor and Gigabit Gareth Halfacree
Ethernet capabilities will surely shine. More
Coupled with the GizmoSphere – a community of Gizmo information
enthusiasts and owners who share projects, code and www.gizmosphere.org
67 www.linuxuser.co.uk
Group Test Distro Super Test - Pi Edition
GROUP TEST
Raspbian
The basic Debian distro for Raspberry Pi
was originally just a straight Wheezy remix
for ARM – but shortly afterwards, Raspbian
was released. This version supports the all-
Your first port of call to get a Raspberry Pi going important hard float, and is the base for a lot
of other distros that we’re not checking in on
today. As well as Pi Bang and Moebius, there’s
also Occidentalis from Adafruit, and a number of
XBMC-based distros for HTPCs.
Raspbian’s approach to starting to use your
Raspberry Pi is quite simple: dd the image to
the SD card, turn on the Pi, and a configuration
screen welcomes you to modify the setup of your
system or just go straight into the OS. There’s a
good selection of functions, with the ability to
expand the image to fill the SD card, change the
default password without having to know the
default one, and even options to overclock and
overvolt the CPU to some predetermined values.
All of these extras come alongside some of the
more basics as well, such as locale and time, and
it’s great to have this kind of control before even
getting to the desktop.
The Raspbian desktop is LXDE, and uses
Openbox as a windows manager. This allows
the distro to run smoothly and quickly on the Pi,
■ Using LXDE and Openbox even the 256MB early Model Bs and Model As.
allows for maximum available While there is no graphical package manager as
power on the desktop standard, a small selection of great educational
68 www.linuxuser.co.uk
Distro Super Test - Pi Edition
Six Raspberry Pi distros go head to head
Review
scores
8
little Linux experience. It also makes it very useful Linux graphical tool. Stability
Although based on the Debian
testing branch, it is very stable
9
Overall
Raspbian is a fantastic tool
for teaching, general coding
and all manner of home-
grown projects. Definitely
the best distro for beginners
More information
www.raspbian.org
n Professional course structures are available for teaching with and for the Raspberry Pi
69 www.linuxuser.co.uk
Group Test Distro Super Test - Pi Edition
Arch SCORES
8
TM
No further installation
needed than copying the
control over their Pi image to the SD card
Ease of use
5
You need to be very comfortable
with the command line to get
anywhere with Arch
Stability
With only the minimum
packages installed at a time,
Arch is very stable 9
Features & capabilities
7
Arch is another of the officially promoted packages you need for the networking and
Raspberry Pi distros – in that it’s available
on the Foundation’s download page. Joining
sharing, and forgoing the desktop environment
completely. The Raspberry Pi itself has the
Overall
Raspbian as the only other Linux distro, this potential for a lot of uses, thanks to its size and Do anything you want with
Arch ARM build also includes the hard float, and incredibly low power requirements, and distros Arch, just make sure you
is aimed towards the more veteran Linux user. like Arch allow you to really tweak the software have a handy guide if you’re
Arch is a distro you build yourself, almost from so that you can get a low-footprint server that a bit newer to Linux
scratch, with the system already configured to will fit anywhere, or a focused workstation
at least boot to a command-line interface. From with everything you need to work and nothing More information
here you customise the system to your exact more. To the patient user, it’s also a great way www.archlinux.org
specifications, without any of the extra bloat to the learn the deeper ins and outs of using a
you’d get from something like Ubuntu. Linux distribution.
The Pi image is the same way, with Arch
booting into a command line. There’s no
desktop, and no users other than root. There’s
nothing more than the standard tools and
packages that make up part of the Linux kernel.
From here you need to start building up your
system using the pacman package manager, or
grab Yaourt to access source code from AUR.
You’ll need to update everything first before
trying to install software, and the time from
command line to booting into the most basic
LXDE environment was about 90 minutes. As
mentioned before, though, while this might be
frustrating and slow to some Raspberry Pi users,
this extra control allows you to fully streamline
your system, making it as fast as possible with
the smallest imprint on the storage and Pi itself.
This makes it fantastic for headless server
or NAS uses – allowing you to only install the ■ Arch can be whatever you want it to be
70 www.linuxuser.co.uk
Distro Super Test - Pi Edition
Six Raspberry Pi distros go head to head
Review
Fedora
18 Remix
The Pi remixes of Fedora
haven’t had the best time
While originally one of the first recommended
Pi distros, the Fedora Remix fell out of favour
due to some issues at launch. This hasn’t
stopped people from continuing to work on the n It takes a
distro, and the Fedora 18 Remix is beginning to while for the
see the light of day. The image for the remix is whole system
the largest in this test – and at 3GB you’ll need to get set up
to make sure you upgrade your SD card before
attempting to use it. 4GB SD cards are fairly low- There’s noticeable lag even just browsing the scores
priced these days, but it’s still one extra thing to interface, and it straddles the line between
7
get for your supposedly cheap mini-PC. being frustrating and something you could get Installation & support
Like the others, this image needs to be used to. It even crashed on us a number of times It’s a community-supported
manually transferred to an SD card with after the initial setup, such as when asking us if project with a delayed
whatever method you prefer. However, on first we wanted one or two panels to use on Xfce and release cycle, but setup is
boot, Fedora Remix has the same graphical freezing, or just getting in a reboot cycle until we graphical and easy
setup as the full desktop version. From here disconnected the power. The first major update
you set up users, locales and more, and it took about an hour or so to perform, and there
definitely looks and flows a bit better than are some intermittent underscan issues on Ease of use
6
the command‑line equivalent on Raspbian, monitors using the HDMI cable. Coming with a DE pre-
although you don’t nearly have quite the same It’s not a great experience as a desktop. As installed makes it easier to
level of customisation. it’s Fedora though, there’s flexibility to use it in use, as long as you can get
One of the first things Fedora users will any other way, although the same could be said around the crippling speeds
notice once they get to log in is that Xfce is now for Raspbian. At the very least, however, being
the preferred desktop, and there is no option a build of Fedora it is made up completely of
4
to select the GNOME Shell to begin with. It’s truly free software. While that may be limiting Stability
best you don’t though, as even with Xfce and a to some, it at least means that any advanced A lot of hiccups getting it
very small selection of lightweight programs projects will be a great showcase for open working to begin with, and it’s
like the Midori browser, it runs very slowly. source software and Linux. not entirely stable afterwards
7
As feature-full as a standard
Fedora distro, albeit more
noticeably watered down for
ARM than others
5
Overall
Slow and buggy, there’s a
reason the Fedora Remixes
never took off. It needs a bit
more time in the oven
More information
fedoraproject.org
n Even with lightweight software, Fedora on Pi still chugs
71 www.linuxuser.co.uk
Group Test Distro Super Test - Pi Edition
SliTaz 4
A tiny distro supposedly for use on desktop and on server
With the smallest image in the test, SliTaz is version only has 268. These are mostly utilities, thanks to the lack of packages it is fast, and it will
quick to download, install and boot. In fact, and you can’t install a desktop environment from draw very little power. The problem is, something
it shows off on startup that it took only three the repos. However, there is access to Xorg, and like Arch is basically as fast, and the repositories
seconds to get to the command line – the fastest all the tools needed to compile it yourself. SliTaz are full of software that will allow you to also
in this test. SliTaz is in its fourth version, released has its own package manager, tazpkg, with a make it into a server. Also, you can also very easily
in the middle of last year. As an independent good search function to find what packages are turn Arch into a desktop system, something that
distro, not based on anything else, it is one of the available in lieu of a graphical manager. While you SliTaz is very noticeably lacking.
genuine few that support hard float operations can also search the website for packages, you SliTaz definitely has its place, and as a server
without being based on Raspbian. Clocking in at can’t filter by what’s available on Pi or not. it is quick to set up and has a lower footprint than
only 500MB on the SD card, it’s certainly a feat to SliTaz on Pi then is very focused on being used the others. It just lacks the flexibility inherent in
have this fully working system on the Pi. as some kind of headless server, and admittedly the Raspberry Pi itself.
That low storage footprint comes at a price,
though: there isn’t much to SliTaz. Coming with a
grand total of 17 packages pre-installed, it’s an
incredibly lightweight system that the developers
themselves admit is meant to eke the max out of
the Pi. The problem is, while the full SliTaz repos
have a decent selection of packages, the Pi
scores
7
Installation & support
Installs easily enough and
is fairly well supported
5
Ease of use
As a command-line drive distro,
your mileage may vary
n Package searching doesn’t work very well without filters
9
Stability
It’s very simple, which means
it’s also very stable
3
Features & capabilities
Very limited usage thanks to
a stunted package repository
4
Overall
SliTaz has a place as a very
fast web server, but that is
unfortunately all it can do
without serious work
More information
www.slitaz.org
n There are graphical spins of the full version of SliTaz, but none for Pi
72 www.linuxuser.co.uk
Distro Super Test - Pi Edition
Six Raspberry Pi distros go head to head
REVIEW
Gentoo
Compile it yourself with
the most customisable
distro, now on Pi
Using Gentoo is not for the faint-hearted.
While all the distros on this list will let you write
an image to disc and then have the Raspberry
Pi boot just fine from it, Gentoo has you
manually setting up the SD card with a specific
file system layout, adding a specific stage 3
image to the disc, before adding Portage (the
package manager) and the Linux and kernel ■ The quick install guide is a lot more involved than other Pi distros
modules. You’re still not done though, as
afterwards there’s the matter of setting up then do whatever you want with it – after you SCORES
fstab and the boot options, along with clearing configure the network, profiles, software clock
5
the root password. and rcconf etc. Handily though, it does include Installation & support
While this saves you some of the usual tools to activate the Raspberry Pi Foundation- One of the best supported
Gentoo hassle of having to compile an entire approved overclocking profiles from the start. Pi distros is easily the most
system, where the smallest thing can cause Like Arch, Gentoo is for the ultimate tweakers, difficult to install
problems down the line, it is still a lot of work allowing you to get absolutely every ounce of
to get the distro installed in the first place. As power possible from the system and have it
Gentoo provides the pre-compiled kernel, you do anything any other similarly powered Linux
Ease of use
2
don’t get the extra customisation available from computer can achieve. You can then hide it
Gentoo forgoes all semblance
compiling it directly. This means there’s not a away almost anywhere thanks to the size of the
of usability in the name of
huge amount more streamlining you can do over thing. From servers to media streamers and
customisability
something like Arch unless you decide to start even desktops, you can make a Gentoo Pi do
compiling your own Pi-based Gentoo kernel and whatever you want, without any of the bloat of a
risk stability problems. completely pre-packaged system – it obviously
8
Of course, once you’ve gone through the just takes a lot of time and technical know-how Stability
process of getting the SD card set up, you can to get the best out of it, and is not for everyone. Depends really on how you
build it up, but Gentoo can
generally be very stable
10
You can make pretty much
anything you want with a
Gentoo Pi
Overall
6
It wholly depends on the
user and what you’re
comfortable with, but
Gentoo is nonetheless
designed for a very
particular audience
More information
www.gentoo.org
■ With enough time, you can get Gentoo looking like anything you want
73 www.linuxuser.co.uk
Group Test Distro Super Test - Pi Edition
RISC OS SCORES
9
■ RISC’s design Installation & support
The OS of British schools in is much simpler
than more
Putting the image to disc is
the only installation required,
the ’90s is still alive for the Pi modern systems and the new Pi popularity will
allow it to stay supported
Ease of use
7
A simple interface, although
somewhat different to a lot of the
modern desktop environments
Stability
Not much new or experimental,
so RISC has stayed solid. Some
websites won’t render well 9
Features & capabilities
RISC OS should be familiar for anyone who went PlingStore, there are limitations to the amount
A lot less flexible than
the Linux distros also
available for the Pi 3
5
to school in the UK in the Nineties, when Acorn you can do. What it can allow for is to teach some
computers were ubiquitous in the classroom. computing basics to people who have not used a
The software that powered them was RISC OS, computer before. While it is overall quite different Overall
and while Acorn Computers’ main legacy is ARM, to a lot of modern operating systems, mouse
RISC, while nostalgic, is not
RISC OS is still being maintained. It recently control and window management is roughly the
very useful for day-to-day
became available for the Pi via RISC OS Open, and same, and there are far fewer distractions.
computing, or as the base of
is officially promoted as a recommended Pi OS. RISC OS is an important part of history and
an advanced project
Originally designed for the earliest ARM chips, it’s great to see it on a device with aspirations of
RISC OS has always looked fairly basic. With replacing the old Acorn-built school computers. More information
more simplistic icons and art style throughout However, it unfortunately does not serve much www.riscosopen.org
the interface, a lot more work has gone into how more purpose than as a history lesson.
you interact with RISC than its aesthetic, leaving
it smooth and responsive. This is ultimately
more important, and is only really a step behind
something like the Xfce DE in this way. Usability-
wise, it is different from a lot of the main Linux
DEs, and in general a lot of the modern OS
workflow – windows cascade as you open them
rather than opening in the original window, scroll
wheel click is the equivalent of context-sensitive
right click, and there is no real terminal emulator
for the system, forcing you to quit out of the shell
with a simple F12 to get to the command line.
Software-wise, RISC OS is definitely lacking
compared to its Linux counterparts, and not
much of it is open source. As well as a package
manager, there’s the PlingStore, which is the
main way to get graphical applications. There’s
not much between them, though: with less than
200 packages available in the package manager,
and a mixture of 50 free and paid-for apps in the ■ It is quite configurable, yet still limited by software
74 www.linuxuser.co.uk
Distro Super Test - Pi Edition
Six Raspberry Pi distros go head to head
REVIEW
Raspbian TM
Fedora 18 Remix Gentoo RISC OS
Installation &
support
Just put it on
an SD card and
go, extra config
9 As one of the
recommended
distros, it’s well
8 Little support, but
the only one with
graphical setup
7 Supported fairly
well, and no
further config
7 Gentoo is
horrendously
difficult to install
5 It’s been
supported for over
a decade with no
9
optional supported after install and set up proper home, now
it has one
Features &
capabilities
Very
customisable,
and has access
9 A good amount of
software, nothing
Pi-specific though
7 Full of free
software and
some Pi-specific
7 Packages are
extremely lacking,
and it’s designed
3 It is the most
configurable and
customisable distro 10
As RISC is
effectively
obsolete, it does
3
to plenty of packages only really to be of the selection not have much
packages a server available software
A great distro
for any level of
Linux user
9 While not the
easiest to use or
set up, it is highly
7 Slow, buggy and
generally not as
good to use as
5 SliTaz can be
used for very
little, although
4 Difficult to
recommend
over Arch for
6 It may be
nostalgic, but
there’s little
5
configurable Raspbian it does that one anyone choosing reason to use RISC
Overall thing fine between them as your main OS
AND THE
WINNER IS… GROUP TEST
Raspbian
A lot of these distros seemed to go back and WINNER
forth between being as lightweight or as
customisable as possible, or trying to offer a
full desktop experience on the Pi. Raspbian
goes the extra mile and not only supplies a great
desktop experience, but is also heavily tied into
the Raspberry Pi community. With access to
learning modules and the Pi Store, it’s excellent
for teaching computing, as well as for using in a
headless state for a quick and easy-to-use server.
We want to also give special mention to
Arch, as while it may not come with a desktop
as standard, it was the only command-line
distro that proved usable and also highly
configurable. The desktop environment, while
time-consuming to set-up, was as fast as
Raspbian thanks to the lack of bloat that Arch
comes with. Choosing between the two of these
really depends on how much time, patience and
expertise you have with Linux, whatever project
you want to use your Pi for.
Rob Zwetsloot ■ Raspbian was the only distro that came with teaching tools
75 www.linuxuser.co.uk
Raspberry Pi
All-Stars
We find out the 20 best apps, tools and packages that
can help you get the very best out of your Raspberry Pi
So you’ve got your new Raspberry Pi, and you’ve Whether you plan to use it as a desktop, We’ve put all the software onto the disc for
gone over our feature and decided which is the learning tool, HTPC or some kind of file server, this issue as well, so you can either grab it from
best Pi distro for you. Whichever you opt for, there are a number of apps you’d be wanting there or get it from them the various package
you’ll now need to figure out how best to use to employ for each use case. We’ve uncovered managers and Pi Stores.
your Raspberry Pi. As we’ve mentioned, the Pi the 20 best applications available right now
is a very flexible piece of kit. Thanks to its form on the Raspberry Pi, from the basics like author Rob Zwetsloot
models complex systems and
factor and low-power requirements, it’s much updating tools and office suites, all the way
is a web developer proficient in
easier to place around a house or office then through IDEs, web interfaces and even media Python, Django and PHP. He loves
something in a proper ATX case. streaming solutions. to experiment with computing
76 www.linuxuser.co.uk
Raspberry Pi All-Stars
The top 20 apps and tools for Raspberry Pi
FEATURE
Multimedia
Whether you want a HTPC, or
just want to watch something
XBMC
While not intentional, the Raspberry Pi’s
design ticks all the boxes for it being used as
a home theatre PC. It’s small, has low power
requirements, and it includes hardware decoding
that allows it to output smooth 1080p video and
audio over HDMI. While streaming is the easiest
option, with USB hard drives and TV tuners you
can make use of XBMC’s other features. The
most recent release of XBMC includes specific
support for the Raspberry Pi; however, builds
of XBMC have been available for the Pi for a
while now. While you can always install XBMC
via Raspbian, there are dedicated distros
like RaspBMC and OpenELEC which run a bit
smoother, and provide a better experience.
Mumble
The open source alternative to Team Speak is
a great way to keep up and strategise with clan
mates, although it needs a dedicated server to
host the actual conversation. While you could
use your PC, you’re likely to want all available
resources, so putting it on an external system
can be advantageous. However, what if you
don’t have the space for a full server or extra
computer, especially just for in-game chat?
This is another great use for the Raspberry Pi –
which, thanks to its size, can be hidden almost
anywhere while managing your team chat.
Clementine
Originally a port of Amarok, Clementine has
come into its own as a music playing and VLC Subsonic
organisation app that is full of features to The Raspberry Pi has surprisingly great media Another use for a Raspberry Pi server is to have it
enhance your music playing experience. It’s also playback qualities, and VLC is probably the stream your audio over the internet to wherever
fairly lightweight and doesn’t completely bog best media player to make full use of this. you are. Subsonic is available on the Raspberry
down the Raspberry Pi while playing music. It Lightweight, small and able to play just about Pi and works best with big music collections.
has support to stream web radio and can also be every type of file you can throw at it, VLC is a It uses its own web interface, can stream to
used to manage portable media players, making good way to extend your Pi’s capabilities from a multiple players at once, and supports all major
it the full package for audiophiles. basic workstation. audio file formats.
77 www.linuxuser.co.uk
Feature Raspberry Pi All-Stars
Desktop
Get the full desktop
experience with
these packages
Midori
Midori is a very lightweight web browser that is
often used as the default in Pi distros and is just
as functional as something like Firefox or Chrome.
While it may not be quite as extendible as those
browsers, nor have the same sync features, it is
based on WebKit and so conforms to all modern
web standards. It also looks like a modern browser.
Claws Mail LibreOffice
While the best way to keep your Raspberry Pi The best open source office suite is now available
running at full speed would be to use a webmail for the Raspberry Pi. The fantastic selection of
service like Gmail, there is still a place for pro-quality word processing, spreadsheets,
dedicated desktop email clients. Claws Mail is an presentations and database apps run without
alternative to Thunderbird that is very lightweight, any problems and are a great way to extend the
while still being feature full. It has support for functionality of a desktop Pi. It’s all cross-platform
multiple accounts, address books, all manner of too and will be even better when the online
protocols, and has its own plug-in system as well. collaboration feature makes an appearance.
78 www.linuxuser.co.uk
Raspberry Pi All-Stars
The top 20 apps and tools for Raspberry Pi
FEATURE
Tools
Make your life of
Pi Foundation and IndieCity. Not only is it a
convenient place to get some apps and utilities,
it’s a good way to get your own work published and
rpi-update
Every now and then, the Raspberry Pi needs a
firmware update. It can be a tricky process if
made available for other Pi users.
Pi much easier you’re not quite sure how to do it, but this is where
with these apps ImageWriter Hexxeh’s dedicated rpi-update tool comes in.
All you need to do is download it to a Pi, make it
Ubuntu has a dedicated image and ISO writing tool
executable, and then run the tool. It also has some
that you can use instead of dd to get a Raspberry
extra features for advanced firmware updates.
Pi Store Pi image onto an SD card. It’s fairly easy to use:
The Pi Store is a hybrid web store and software download the distro you want to use, select the
appropriate image, then choose the destination
Fedora ARM Installer
centre that allows you to get free and paid- While originally designed to be used for installing
for software moderated by the Raspberry card. Make sure you’ve backed up any files, though,
Fedora ARM images via Fedora, the tool is available
as the card will be wiped.
for other Linux distros, and will allow you to install
images you’ve already obtained. The interface is
quite simple and can download Fedora images for
you. Again, make sure any files on the SD card are
backed up before installing an image.
WebIOPI
Synergy Built on the REST framework, WebIOPI is a web app
The Raspberry Pi has very limited I/O ports, with that, once installed on your Raspberry Pi, allows
the Model A only having one USB port and not you to control the GPIO ports from any web browser
even any network connections. Adding powered on the same network. The interface is graphical,
USB hubs to increase the number of ports on the allowing you to change GPIO direction and the state
system decreases the size advantage that the of the outputs by simply clicking. You can even log
Pi has; however, this is where Synergy can help. in via the web for remote manipulation.
Synergy is a virtual KVM server that allows you to
share another system’s keyboard and mouse over
the network, thereby freeing up the two USB ports
on a Model B.
rTorrent
If you’re using a Pi as a file server of some kind, you
might be wanting to use a command-line torrent
Asterisk
There’s a port of Asterisk already available for the
Raspberry Pi that makes it into a communications
server, and can be used to power IP PBX systems,
VOIP and conference servers. It runs a lot better on
the 512MB Model B, and it is highly recommended
to use a 4GB SD card as well.
79 www.linuxuser.co.uk
Review openSUSE 12.3
distro
openSUSE 12.3
Is there a specific area in which openSUSE 12.3 shines? No, but it adds
some polish and consistency to the distro’s already firm foundations
While openSUSE 12.2 was delayed by two are hybrid images. This extra space on the live images is used
Pros Cons months last year due to development issues, by the complete LibreOffice 3.6 package and GIMP. Of course,
Underneath With all those small
its stylish dark improvements, it’s the 12.3 release comes only six months after you could still use the smaller NetInstall images, which still fit
theme, the latest not easy to become
openSUSE shows excited about
the previous one, so the distro is back on track on a CD but are only usable for an installation. OpenSUSE 12.3
a lot of small openSUSE 12.3, for its usual eight-month release cycle. However, adds a completely new image that still fits onto a CD: a rescue
improvements and as there’s nothing
is more consistent revolutionary here
because of this shorter-than-normal release image that provides a lightweight Xfce environment with tools
cycle, openSUSE 12.3 doesn’t offer revolutionary to recover lost data or partition your disk and even some YaST
new features, but focuses on polish and details. modules to help with system recovery.
First about the installation media: there’s still an ISO file The first thing you observe after installation is the new
with all packages to burn to a DVD, but the KDE and GNOME theme, which is darker and more subtle than the previous
Live CD ISOs don’t fit any more on a CD: they are meant to be one. It’s used from the boot menu through the Plymouth
written to a USB stick, which is easy to do with dd because they bootsplash and the login window to the desktop to give a
80 www.linuxuser.co.uk
openSUSE 12.3
Strong all-round Linux distro
REVIEW
81 www.linuxuser.co.uk
Review Sabayon 11
distro
Sabayon 11
Sabayon is Gentoo-out-of-the-box, but does this approach work for the
Linux distro built on being infinitely customisable?
As a distro that iterates very quickly, Sabayon some problems for people in Fedora 18. This means that the
Pros Cons has already gone up three version numbers process is fairly painless, although unlike some versions of
A very usable Installation and
version of Gentoo package upgrades since this time last year. While this may imply Anaconda, you set up a user account during the installation and
that you can use are slow; some
for desktop or software bloat that there are only small updates each time, not afterwards. This is good on one level, though, as installing
HTPC straight out with superfluous the release notes seem to imply that there are takes a while for the distro to be copied to disk.
of the box packages and DEs
always some fairly major changes going on The GNOME experience in Sabayon is in Fallback mode,
behind the scenes. This iteration there’s support which is a little odd since the live version used the full GNOME
for EFI/UEFI boot and Secure Boot, and only recently the Shell. As it’s running GNOME 3.6, though, GNOME Classic
package manager had an overhaul to become Rigo. still functions perfectly well. Of course, the functionality
Sabayon comes in four initial flavours: GNOME, KDE, Xfce and availability of GNOME Classic in the future seems to
and a much newer MATE iteration. Each of these is just for be at risk; however with MATE as an option, this should not
a default environment, and the others are of course easily affect people with a particular desire to use that kind of
accessible from the package manager, among many more. They desktop environment.
even include Cinnamon in the mix. Installation uses Anaconda, Sabayon’s out-of-the-box claims seem fairly validated
the Red Hat installer, albeit not the brand new version causing by the stock selection of applications. Alongside the usual
82 www.linuxuser.co.uk
Sabayon 11
Gentoo made easy
Review
n Rigo is a
lightweight, informative
package manager
n Multiple desktop
environments are
n The installer lets you choose the right Sabayon for you installed by default
Rigo is a great, It even allows you to install Sabayon as just Sabayon Media
Centre, extending the uses of the distro beyond the desktop
simple and quick and allowing it to work out-of-the-box as a media PC. Fluxbox
is of course the lightweight window manager that is in some
package manager ways the main environment of Sabayon. It’s very quick and is
a fine alternative to the other DEs if you need to get every last
selection of a browser (Chromium), some system tools and drop out of your system.
an image viewer, there’s also GIMP, the full LibreOffice suite This is a very different take on Gentoo then, and one that
and plenty of media playing options. There isn’t a mail client, isn’t unwanted. Of course, the Gentoo core is still there, so
although you can easily get one from the new package while for some people it’s perfectly usable as standard, for
manager if you don’t want to rely on webmail. others you can always tweak away to your heart’s content.
Rigo is a great, simple and quick package manager, with a
nice layout that makes it easy to find the packages you want.
It’s a sort of cross between a traditional package manager One of the most daunting
and the software centres of other distros, although there Linux distros made accessible for more novice users,
are no featured or sponsored apps like in Ubuntu. One of Sabayon packages the power of Gentoo and makes
the nice things about Rigo is that, just in case you didn’t look it available to all skill levels. The addition of XBMC to
hard enough in the info pages, some info boxes will pop up on the default version is a great incentive to get Sabayon
the interface to let you know what dependencies will also be in your media centre as well, although it’s not as good
downloaded, and what licences the software is distributed as more specialised HTPC distros.
under as well. While they’re not intrusive, you cannot turn Rob Zwetsloot
them off, so it may annoy some more than others. More
Each version of Sabayon also comes with Fluxbox and
information
the new Sabayon Media Centre software installed, both www.sabayon.org
83 www.linuxuser.co.uk
Review Porteus 2.0
n Porteus boots
distro incredibly fast
Porteus 2.0
Portable Linux computing has received an upgrade as the newest
Porteus is released, now with an even lighter desktop environment
Pros Cons Along with Knoppix and Slax, Porteus remains Trinity. Like Trinity, Razor-qt is a KDE 3-style environment,
Lightweight, fast No duplication one of the premier portable Linux distros. More featuring a single panel along the bottom with an application
and able to run on or install to other
an image less than media option, comparable to Slax, Porteus is also based on menu. It’s quite fast and has a little more functionality than
250MB in size. The and desktop Slackware and is designed to be lightweight and something like Xfce or LXDE, albeit with a lot less bloat than full
module system environments not
also makes it standard across fast. The website proudly proclaims that Porteus KDE or Cinnamon. The 64-bit version comes with a choice of
easily extendable architectures will boot in 15 seconds on a modern PC, and our KDE or LXDE as defaults, as Razor seems to only run on 32‑bit
experiences have shown this to be generally systems. While this split is a little odd, both architectures have
correct. The latest Porteus is based on the recent Slackware a dedicated Xfce remix, and you can of course install any other
14.0 and comes just over half year after 1.2. compatible environment to each version.
The new version’s biggest difference is a switch to the Porteus will run just fine off of any storage media and
Razor‑qt desktop environment in the 32-bit versions, replacing you can even install it to a hard drive if you wish. However,
84 www.linuxuser.co.uk
Porteus 2.0
Portable Linux distro
Review
85 www.linuxuser.co.uk
Subscribe Subscribe today & start saving
Non-USA readers see page 18
*Terms and conditions: This is a US subscription offer, please don’t forget to quote USA when ordering. You will actually be charged £80 sterling for an annual subscription. This is equivalent
86 www.linuxuser.co.uk to $122 at the time of writing, although the exchange rate may vary. Five free issues refers to the newsstand price of $15.99 for 13 issues being $207.87, compared with $122 for a subscription.
Your subscription will start from the next available issue. This offer expires 31 July 2013.
Book Reviews
Latest Linux books revealed
REVIEWS
COMING SOON
The best Linux books heading to a
Effective JavaScript
68 Specific Ways to Harness the Power of JavaScript
bookshelf near you…
At last, a book which takes the general JavaScript user and,
FreeSWITCH 1.2 holding them carefully by the hand, guides them safely through
Good Governance and Better
Regulation in the Information Age the deeper mysteries until they gain real understanding. Right
from the start, Herman dives into the internal workings of the
Authors: Anthony
Minessale, Michael S language, and their consequences for the coder; for example, why
Collins, Darren Schreiber, numbers are all floating point, and integer arithmetic is the way to
Raymond Chandler avoid errors; what’s going on with UTF-16 representation in JS (try
Publisher: Packt “𝄞 clef”.length for a possibly unexpected result).
ISBN: 978-1782161004 A look at variable scope shows the power of JS, but unearths
Price: £44.99 corner-cases that have caught out many, but the chapter Working
Learn how to install and With Functions will be the main course for most. Objects and
configure a complete telephony system Prototypes; Arrays and Dictionaries; and Library and API Design
of your own, even if this is your first time also receive systematic dissection from Herman.
using FreeSWITCH. In-depth discussions Concurrency may be seen as a particular challenge, as it has
of important concepts like the dialplan, yet to make it to the official ECMAScript specs, nevertheless
user directory, NAT handling and the Authors: David Herman JS’s event-loop concurrency is well supported in the real world,
powerful FreeSWITCH event socket. Best Publisher: Addison Wesley and Herman rounds off the book with a chapter highlighting its
practices and expert tips. ISBN: 978-0321812186 potential pitfalls. A good follow-on for those who’ve read Eloquent
Price: £25.99 JavaScript (LUD #101) and are ready to learn more.
HTML5 Canvas, 2nd Edition
Native Interactivity
and Animation for
The Book of Managing the
the Web GIMP: A Complete Unmanageable:
Authors: Steve Fulton,
Jeff Fulton
Guide to Nearly Rules, Tools, and Insights
for Managing Software
Publisher: O’Reilly Everything People and Teams
ISBN: 978-1449334987
Authors: Olivier Lecarme, Authors: Mickey W Mantle,
Price: £34.50
Karine Delvare Ron Lichty
Flash is fading fast, and Canvas Publisher: No Starch Publisher: Addison Wesley
continues to rise. In the second edition of ISBN: 978-1593273835 ISBN: 978-0321822031
this popular book, you’ll learn how to use Price: £34.99 Price: £25.99
Canvas to draw, render text, manipulate Combining a tutorial with a reference is a well- There’s only so much management you can
images and create animation — all in the worn way to a weighty volume. But with a good learn from a book, but, when it comes to
course of building an interactive web game tutorial, and a useful manual, it can be worth software teams, most of it’s here. Mantle
throughout the book. the strain on your bookshelves. Here we have and Lichty originally conceived of a collection
what may be the most thorough guide to the of useful rules-of-thumb, such as Brooks’s
Absolute OpenBSD, GNU Image Manipulation Program so far. “Adding manpower to a late software project
2nd Edition After walking through the basics for those makes it later,” but found themselves writing
Author: Michael W Lucas totally new to GIMP, the authors dive right in a more comprehensive book to “mentor”
Publisher: No Starch with popular photo retouching tasks, then a programming managers.
ISBN: 978-1593274764 guide to drawing and colouring that, if you’ve Programmers are free spirits, so the authors
Price: £40.99 ever struggled with this in GIMP before, will get devote much time to understanding coders, as
Lucas takes you through you past those less-than-intuitive menus and well as how to recruit a good team – and that
the intricacies of the producing some surprising results. The tutorial includes integrating the new member into the
platform, offering continues with logos and textures; composite team after hiring her.
thorough explanations, technical photography; animation; preprocessing; and As well as providing broad insights into
background, best practices and copious laying out a website. programmers, teams and their environments,
humour throughout. Absolute OpenBSD, Add in the reference section on colour- Mantle and Lichty are good on the fine details:
2nd Edition is completely updated to cover balancing; masks; several filters; customising the many lessons that, once learned, make the
OpenBSD 5.3 and includes new coverage of GIMP; and writing scripts and plug-ins in a difference between a good and a great manager.
OpenBSD’s boot system, security features range of languages, and you have yet another Create and manage a good programming culture,
like W^X and ProPolice, and advanced bookshelf essential from No Starch – and very as well as a fine place to work, and your coders
networking techniques.. good value, too. will be free to excel.
87 www.linuxuser.co.uk
Contact us...
Web: www.linuxuser.co.uk
Email: linuxuser@imagine-publishing.co.uk
Contact us @linuxusermag
Questions Become a fan on
Linux User & Developer
& answers
Your questions
answered
ASK THE EXPERTS
This month your questions
were answered by…
Send us your questions and we’ll do our best to answer them!
88 www.linuxuser.co.uk
Questions & answers
All your technical problems solved
Q/A
■ There are many methods to get an image to your Pi ■ The developer’s best tool
89 www.linuxuser.co.uk
Contact us @linuxusermag
Questions Become a fan on
Linux User & Developer
& answers
ROOT is actually included in the
official Ubuntu repositories for
Ubuntu 12.10, so what you could do
is upgrade to the newer Ubuntu, if
possible, and then install it the
normal way like so:
$ sudo apt-get install root-system
If you need to keep to the LTS release, though, you
can always install a third-party PPA that contains
it like so:
$ sudo add-apt-repository ppa:marco89-7/
root
Then make sure to update Apt and then do the
same installation process.
Game of tag
Hi, I have a bit of a situation. I have a collection of
photos, some 20,000+ pictures. Large portions
n We were once told by an open source company that Netflix is afraid of Linux users “stealing
of these have been tagged, using a tag structure
their bytes”
that seemed to make sense at the time. It is
Root of the
problem
Hello,
I’m a Ubuntu user and I’m trying to install the
ROOT software. I’m following all the steps, like
‘./configure’, ‘make’ and ‘make install’. After n ROOT is an advanced piece of software that allows you to analyse large sets of data
90 www.linuxuser.co.uk
Questions & answers
All your technical problems solved
Q/A
■ digiKam is one of the best photo management suites on Linux ■ K3B has tools to make file permissions work
91 www.linuxuser.co.uk
Sponsorship opportunity
Hosting listings
Bring attention to your brand by sponsoring this
section. Contact Rhian Carter on +44(0)1202586421
NETWORK BACKUP
Permanent KVM
1Gbps INTERNET
PRIVATE SUBNET
HARDWARE RAID
CONTRACT TERM
Whether you’re a hosting firm or
a happy customer who wants a
CONNECTION
CPU CORES /
DISK SPACE
favourite provider listed, drop us
MINIMUM
COST PER
Package
STORAGE
number
SPEED
linuxuser@imagine-publishing.co.uk
Bravo14 (http://bravo14.co.uk) Starter Linux N/A £20 N/A N/A 2,000MB N/A ✓ ✓ ✓ ✓ ✗ ✓ ✓
Bravo14 (http://bravo14.co.uk) Starter Windows N/A £20 N/A N/A 2,000MB N/A ✓ ✓ ✓ ✓ ✗ ✓ ✓
Bravo14 (http://bravo14.co.uk) Business Linux N/A £45 N/A N/A 4,000MB N/A ✓ ✓ ✓ ✓ ✗ ✓ ✓
Bravo14 (http://bravo14.co.uk) Business Windows N/A £45 N/A N/A 4,000MB N/A ✓ ✓ ✓ ✓ ✗ ✓ ✓
Bravo14 (http://bravo14.co.uk) Ultimate Linux N/A £60 N/A N/A Unlimited N/A ✓ ✓ ✓ ✓ ✗ ✓ ✓
Bravo14 (http://bravo14.co.uk) Ultimate Windows N/A £60 N/A N/A Unlimited N/A ✓ ✓ ✓ ✓ ✗ ✓ ✓
Bronze Managed
catalyst2 (www.catalyst2.com) 0800 107 79 79 £199 1 month 1x 2.4GHz vCPU 50GB ✓ ✓ ✓ ✓ 99.90% ✓ ✓ ✓
Dedicated Server
Silver Managed
catalyst2 (www.catalyst2.com) 0800 107 79 79 £299 1 month 1x 2.4GHz vCPU 80GB ✓ ✓ ✓ ✓ 99.90% ✓ ✓ ✓
Dedicated Server
Gold Managed
catalyst2 (www.catalyst2.com) 0800 107 79 79 £399 1 month 2x 2.4GHz vCPU 150GB ✓ ✓ ✓ ✓ 99.90% ✓ ✓ ✓
Dedicated Server
Dell PowerEdge R200
123-Reg (www.123-reg.co.uk) 0871 230 9525 £69.99 12 months 4x 2.13GHz 2x 160GB 10Mbit ✓ ✓ ✗ 99.99% O ✗ ✓
(Ubuntu Linux)
Dell PowerEdge R200
123-Reg (www.123-reg.co.uk) 0871 230 9525 £79.99 12 months 4x 2.13GHz 2x 160GB 10Mbit ✓ ✓ ✗ 99.99% O ✗ ✓
(Windows Web Edition)
✓ - full
Daily (www.daily.co.uk) Linux VPS Pro 0845 466 2100 £29.99 1 month 2.27 Intel Quad Core 60GB 100Mbps ✓ ✓ ✗ ✗* ✗ ✗**
backup
✓ - full
Daily (www.daily.co.uk) Linux VPS Max 0845 466 2100 £59.99 1 month 2.27 Intel Quad Core 100GB 100Mbps ✓ ✓ ✗ ✗* ✗ ✗**
backup
12 160GB
FlexServer2 01628 777730 From £29 Dual/Quad Core 10Mbps ✗ ✓ ✓ 99.90% 10 GB ✗ ✓
months to 2TB
100
BudgetBox III 01628 777730 £36 1 month Intel Xeon 3065 1 x 250GB ✗ ✓ ✓ 99.90% 10 GB ✗ ✓
Mbps
Gbit
Cloud Server 01628 777730 £23 1 month 1 vCPU (1GB) 40GB shared / ✓ ✓ n/a 99.90% O ✗ ✓
node
Gbit
Cloud Server 01628 777730 £40 1 month 2 vCPU (2GB) 40GB shared / ✓ ✓ n/a 99.90% O ✗ ✓
node
Gbit
Cloud Server 01628 777730 £52 1 month 2 vCPU (4GB) 40GB shared / ✓ ✓ n/a 99.90% O ✗ ✓
node
Gbit
PoundHost Cloud Server 01628 777730 £98 1 month 4 vCPU (8GB) 40GB shared / ✓ ✓ n/a 99.90% O ✗ ✓
www.poundhost.com node
O = Option
92 www.linuxuser.co.uk
GET YOUR LISTING HIGHLIGHTED! CONTACT RHIAN
rhian.carter@imagine-publishing.co.uk
+44(0)1202586421 Hosting listings
LISTINGS
PHONE SUPPORT
SHOPPING CART
EMAIL SUPPORT
SERVICE LEVEL
COST PER YEAR
WEB CONTROL
VIRUS FILTER
AGREEMENT
BANDWIDTH
WEB SPACE
ACCOUNTS
DATABASE
FIREWALL
MONTHLY
SUPPORT
PACKAGE
NUMBER
PHONE
PANEL
POP3
NAME AND URL
eHosting (www.ehosting.com) Expert 0844 999 4100 £95.88 5GB Unlimited 250 ✓ ✗ ✗ ✗ ✗ ✓ ✓ ✓
eHosting (www.ehosting.com) Virtual 0844 999 4100 £227.88 50GB Unlimited Unlimited ✓ ✗ ✗ ✗ ✓ ✓ ✓ ✓
Equiphase (www.equiphase.net) Gold 0121 314 4865 £72 800MB 10GB 100 ✓ ✓ ✗ ✓ ✗ ✓ ✓ ✓
Equiphase (www.equiphase.net) Platinum 0121 314 4865 £114 1,200MB 40GB 200 ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Eurofasthost.com (www.eurofasthost.com) Email Only 02380 249 823 £40 1GB 2GB 10 ✗ ✗ ✓ ✓ ✓ ✓ ✓ ✓
Eurofasthost.com (www.eurofasthost.com) Premium 02380 249 823 £250 10GB 25GB 100 ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Giacom (www.giacom.com) Business Pro 0800 542 7500 £199 100MB 2GB 100 ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Heart Internet (www.heartinternet.co.uk) Starter Professional 0845 644 7750 £29.80 2.5GB 10GB 1,000 ✗ ✗ ✗ ✓ ✗ ✓ ✓ ✓
Heart Internet (www.heartinternet.co.uk) Home Professional 0845 644 7750 £89.99 10GB 50GB 10,000 ✓ ✓ ✗ ✓ ✗ ✓ ✓ ✓
Heart Internet (www.heartinternet.co.uk) Business Professional 0845 644 7750 £129.99 Unlimited Unlimited Unlimited ✓ ✓ ✗ ✓ ✗ ✓ ✓ ✓
Heart Internet (www.heartinternet.co.uk) Reseller Professional 0845 644 7750 £299.99 Unlimited Unlimited Unlimited ✓ ✓ ✗ ✓ ✗ ✓ ✓ ✓
O = Option
93 www.linuxuser.co.uk
Your view Your source of Linux news and views
Contact us…
Register and post your comments… Email us directly…
www.linuxuser.co.uk/forum/ linuxuser@imagine-publishing.co.uk
YOUR VIEW
Linux User
Letters
Your opinions about the
magazine, Linux and open source ■ The Linux Foundation
went to a lot of trouble to
bootload
Hi,
with locking the bootloader, I think, is just a bad
move on their part. Luckily, we now have a way
Secure Boot and UEFI has been a hot topic in
the Linux community for almost a year now,
Secure Boot should not be forced on the user. to install Linux on these new computers thanks and it’s great to see that the Linux Foundation
It should be a choice that the user can make, to the efforts of the Linux Foundation, and I will has managed to come up with a solution.
and I would have no problem with it if it was be doing so. Let’s hope that an easier one presents itself in
like that. But to do what Microsoft has done Charlie Ferro the future.
THREAD BARE
Relative theories
In issue 123, IgnorantGuru provided evidence of a conspiracy by
big corporations to take control of Linux and free software. We
stuck it to the man by putting it up on the Linux User website, and
the open source community engaged in a debate about it. Join in
yourself here: bit.ly/Y3ZIVk
Theodore said:
udev is, in fact, a kernel problem, FYI earl.
Now, iguru, I read you here and there about this great Red Hat
swindle. Now… why aren’t we downloading all the GIMP-based stuff and
redoing it from 2.4 to have a working fork already?
Part of that is (perhaps in their eyes) having a tighter grip on branding and
Scott Dowdle said: themes. I’m just guessing though.
You showed a good connection between development work… and So if you are proposing a conspiracy theory… usually one of the items
those doing the development work… and then those doing that you include is… what is the big plan or the goal of such a conspiracy. Did
development work answering questions… with answers that you don’t I miss it?
approve of. Okay. That’s fine. What I don’t see is any evidence that Red
Hat the company is dictating these changes… nor that these changes are Bruce said:
being made because of tablets. Perhaps the developers – yes, many who “So if you are proposing a conspiracy theory… usually one of the
happen to be employed by Red Hat – made these decisions on their own items you include is… what is the big plan or the goal of such a
without the orchestration of a Red Hat overlord. conspiracy. Did I miss it?”
As a Linux user, I go to Linux conferences and see presenters using It is implied by the last sentence of the article. Once Red Hat wraps its
Mac OS X. Why is that? I think that has hit the GNOME developers and tentacles around an open source project, the project is changed so that
they want a more strongly defined environment that is easier to use… nobody can use the code to make something that is faster and/or better
and is a functional equivalent (but not necessarily a clone) of Mac OS X. looking than what Red Hat offers.
94 www.linuxuser.co.uk
Your view
Secure Boot, Linux conspiracy theory, LG webOS
LETTERS
Contact us @linuxusermag
Become a fan on
■ LG currently makes the flagship Android phone, Linux User & Developer
but might the firm move away from the mobile OS?
Python
Magazine team
Editor Russell Barnes
russell.barnes@imagine-publishing.co.uk
☎ 01202 586272
Editor in Chief Dave Harfield
Staff Writer Rob Zwetsloot
Designer Stephen Mathews
Photographer James Sheppard
Head of Publishing Aaron Asadi
Head of Design Ross Andrews
Contributors
Phil King, Simon Brew, Jon Masters, Liam Fraser, Richard Hillesley,
Genius Guide
Rory MacDonald, Joey Bernard, Michael Reed, Kunal Deo, Richard
Smedley, Ian Jackson, Gareth Halfacree & Sandra Vogel
Advertising
Digital or printed media packs are available on request.
Head of Sales Hang Deretz
☎ 01202 586442
System
Poultry Avenue, London, EC1A 9PT.
administration servers
Distributed in Australia by Gordon & Gotch, Equinox Centre,
18 Rodborough Road, Frenchs Forest, NSW 2086.
☎ + 61 2 9972 8800
masterclass Use OpenVZ to take the pain
out of OS-level virtualisation
Distributed in the Rest of the World by Marketforce, Blue Fin
Building, 110 Southwark Street, London, SE1 0SU.
ALSO INSIDE: Imagine Publishing Ltd. Nothing in this magazine may be reproduced
in whole or part without the written permission of the publisher.
Raspberry Pi
All copyrights are recognised and used specifically for the purpose
>> Make a wiki with DocuWiki of criticism and review. Although the magazine has endeavoured
to ensure all information is correct at time of print, prices and
Jamboree 2013 >> SSH tunnelling explained availability may change. This magazine is fully independent and
not affiliated in any way with the companies mentioned herein.
A special report direct from >> The Mirabox reviewed © Imagine Publishing Ltd 2013
the RasPi’s biggest event yet! >> 20+ pages of reviews ISSN 2041-3270
98 www.linuxuser.co.uk
Keep your Pi safe with a
SB Components’ case*
At SB Components we strive to offer our customers the best prices for the best products.
Our product team works tirelessly to source top quality affordable components from around the world.
Raspberry Pi is a trademark of the Raspberry Pi Foundation. Raspberry Pi not included. *Compatible with Raspberry Pi
SAVE UP TO 67% OF YOUR
$ COMPUTING COSTS