Professional Documents
Culture Documents
Linux Format - 2005-12 - II - Christmas - Issue
Linux Format - 2005-12 - II - Christmas - Issue
Newsdesk
■
■
Debian Alliance is formed ■ Chinese schools go for the Linux burn ■ Desktop icon project launches
Open Document format boosted in Boston ■ Virtual worlds from Russia ■ Clothes store picks Linux
Linux desktop
gets Tango-ed
Move to have common icons across open source software
Steven Garrity of the Mozilla Identity
team and Novell’s Jakub Steiner have
announced an ambitious new project
to spruce up the Linux desktop and
Nanjing, capital of Jiangsu province move towards a more unified look
for Gnome, KDE and applications
such as the Firefox browser.
of its lightweight MepisLite OS at the to an initiative that I believe will that’s largely because Debian seemed
end of the month. Warren Woodford, ultimately fail,” he wrote on the Ubuntu to be faltering for a little while. But
the founder and president of the wiki (https://wiki.ubuntu.com/ now that Sarge is out there, the real
Mepis project, said the eventual aim MarkShuttleworth). “There’s no point momentum is behind Debian.”
was to build Mepis releases with only here in going into the reasons why I
DCC-compliant kernels. The MepisLite think the DCC will fail – time will tell. I
release was built on the first beta would encourage members of the
version of the DCC software and, as Ubuntu community to participate in
such, was initially only available on the the DCC discussions if they have time
x86 platform. and are interested. If the DCC
Test versions for other architectures produces good code, we should
are expected in the very near future. merge that into Ubuntu releases, and
Murdock said he expects the final it should be easy to do so.”
release to be fully compliant with the Ubuntu is the rising star of the
LSB 3.0 specification. Debian world, but has been growing
increasingly independent from its
Wot no Ubuntu? parent distro. Back in July this year,
But the DCC has one very notable when the alliance was still being
Ian Murdock was dismayed by the absence: Ubuntu. Project leader Mark planned, Murdock told ZDnet.com that
late arrival of Debian Sarge. Shuttleworth has said that though the he thought Ubuntu was making a
aims of the project are “loft and massive mistake. “Debian is
The first DCC-compliant code was laudable” it will slow down the increasingly just another upstream
released in September, and the first project’s ability to add features and source for them. Personally, I think this
distribution to take advantage of it was polish and will be expensive. “I’m not is a huge mistake on their part. Sure, Alliance rebel: Mark Shuttleworth
Mepis, which released a test version prepared to devote scarce resources they have lots of momentum, but is keeping Ubuntu out of the DCC.
Michael
Meeks
Michael works for Novell
full-time on developing
OpenOffice.org, and
dislikes herring
Mass communication
US state makes landmark ruling against closed source in the public sector
COMMENT
The state of Massachusetts native MS Office files – but would be stung with licence fees in the
end in sight?
Search respectively, but have denied
persistent rumours that Google
will offer its own hosted version of
StarOffice over the web. Sun CEO
Scott McNealy and Google’s
Eric Schmidt hosted a joint news
conference to announce the
partnership, which will see Google’s
toolbar piggybacked on to downloads
IBM drops patent infringement claims in hope of speeding up court case of Sun’s Java Virtual Machine (JVM).
Executives for IBM have eight counterclaims outstanding from a licensing arrangement… SCO’s ■ Just to keep the speculation
bubbling, there are a number of
opted to drop patent including a breach of contract and sales have been careening wildly interesting looking projects built on
infringement allegations violation of the GNU General downward, so IBM has offered to drop Ajax (Asynchronous JavaScript and
against SCO in a bid to speed up the Public License. the counterclaims in order to speed XML) that promise to pull traditional
desktop applications into the web
protracted SCO vs IBM case. In August Pamela Jones, creator and editor of things along.” browser. There is Zimbra (www.
2003, IBM launched a counter suit the Groklaw website (www.groklaw. In another development that may zimbra.com) for email, Writely
(www.writely.com) for word
against SCO – which had accused net), said that it makes sense for IBM speed things along, SCO has been processing, Numsum (www.
IBM of illegally contributing Unix code to drop the patent claims as it is denied another extensive round of numsum.com) for spreadsheet
to Linux – alleging that four SCO unlikely SCO would have the cash to what’s called discovery. SCO claims work and Webnote (www.aypwip.
org/webnote) for note taking. All
products infringed patents. IBM asked pay any penalties should it be found to that it needs ‘discovery’ time to of these might make a tantalising
that SCO be prevented from be guilty once the case was concluded. prepare its case and discover the acquisition for a web services
distributing the products until the case “IBM can save more money by bringing extent of its adversary’s alleged company looking for ways of utilising
all their spare server capacity.
was settled. this farce to an end quickly than it can wrongdoings. Critics say that it’s simply
The case is now set for a February possibly get from SCO in damages a process by which SCO is stalling the
2007 court date, and IBM still has from those counterclaims or royalties legal proceedings.
Matalan rings up
till savings
■ RealNetworks has fixed a flaw in
the Linux edition of its RealPlayer
10 audio and video player. The bug,
which also affected the open source
Helixplayer, allowed an intruder
to execute commands on a host
system. Users are being urged to
upgrade their software to 10.0.6.
Faster, cheaper, more secure tills for the nationwide
■ As expected, SUSE used the
clothing retailer, courtesy of open source LinuxWorld Conference and Expo in
London to launch the boxed edition of
Matalan, the UK bargain SUSE 10.0, the first of its distributions
to benefit from ‘community exposure’
clothes retailer, has migrated via the OpenSUSE project (the OSS
its entire electronic point of version is on our DVD this month).
Spokesman Matt Asay said that
sale (EPOS) system – that’s ‘tills’, to the company would be announcing
you and I – to run on Linux partnerships in the future that should
after a trial by technology see the return of SUSE to the shelves
of PC World and even Dixons.
consultant Capgemini. A
solution based on IBM’s Retail ■ The movie version of Microsoft’s
Environment for SUSE Linux top selling game Halo will be made
with a healthy dose of open source
was tested against a Java software. The movie will be executive
application running on produced by Peter Jackson and his
partner Fran Walsh, and the special
Windows XPe (the
effects will be created and rendered
embedded version of XP) on the 1000 dual-processor blade
for two months. In addition system installed by IBM in Jackson’s
WETA Digital facility in New Zealand.
to cash savings, Capgemini’s
study found that the Linux ■ Schoolchildren the Italian region of
system was more efficient on Bolzano returned to their classroom
after the summer break to find their
the limited hardware available, computers upgraded and running a
was more flexible in terms of combination of Debian and Gnome.
software management, and was less Over 16,000 have been migrated.
Matalan chose an IBM/SUSE solution for
of a target for malicious crackers. its cash register system.
Boring =
system known as the Great Firewall
of China. Saudi Arabia has also
blocked access to LiveJournal, Flickr Raising pulses through the Project coordinator Denis Shergin
and Blogger accounts.
gaming world, Unigine is a told LXF that the application had
■ Microsoft’s attempt to enforce its
patent on FAT (file allocation table)
technology has been rejected by the
US Patent and Trademarks Office.
If granted, the patent would have
new cross-platform 3D
application aimed at games
developers and virtual reality
grown out of an open source project,
and that Linux support has been a
goal since the project was launched.
researchers. Despite being in an early “Unigine always was a cross-platform
useful
had significant implications for Linux
vendors and the interoperability
stage of development, the engine has (Win32/Linux) engine,” he said. “We There’s an old joke – if
of the two operating systems. The a polished look, and has been use Slackware Linux as a main Microsoft made cars,
company may appeal the decision. developed to play to the strengths of development OS, and many people in they’d crash twice a day. Ripping
■ Nessus, once marketed as an programmers raised on C/C++ and our team are involved in open source satire, and no mistake. But why
‘open source vulnerability scanner’ artists familiar with Maya or 3D Studio. projects. We really like the Linux does nobody ever make the
has announced a change of licence Version 0.33 features modelling environment for its transparency and same gags about Google? If
for the third release of the application.
Developer Renaud Deraison says and rendering tools, including a full flexibility.” One of the company’s aims. you’re talking unfinished, lazy
Nessus 3.0 will continue to be offered skeletal animation module and a Shergin added, is to attract attention to software, it’s hard to think of a
free of charge, but would no longer
selection of pre-made shaders. Users Linux as a desktop OS. more appropriate company to
be available under the GPL.
can also extend the applications The application started life as take shots at. So forgive me, but
■ Autodesk, the developer of 3D facilities through the GLShell (GLSH) Frustum (www.frustum.org), an here’s a gag of my own: if
Studio Max, has agreed to acquire
Alias, the company responsible for
scripting language, which the company open source 3D environment designer Google made cars, you’d get the
industry-standard 3D application claims offers enormous speed created by Alexander Zaprgayev in engine, the dashboard, and the
Maya. Don’t expect the name Alias advantages over Perl, Python and LUA. Tomsk, Russia. Zaprgayev is now the fun pink fuzzy dice – while all
to last much longer.
The biggest addition to this version lead developer at Unigine. the boring bits like
of the software, however, is a Pre- Shergin said that Unigine was speedometers, petrol tanks and
computed Radiance Transfer (PRT) conceived as a commercial application, the windscreen get put on hold
system – also known as spherical but that the company would not for the foreseeable future.
harmonic lighting. This helps to create neglect the open source community. Just take Gmail. 2GB of
realistic light schemes in real time, and “Open source is great fun, but without storage? Thanks! Draft saving?
is a real step forward for academics investor support it’s really hard to Thanks! Labelling system and
and games developers. In essence, the create a complete, high quality address forging and all the
developer can move global light solution for this market.” other interesting stuff? Muchas
sources – a sun for example – in real Demos of Unigine are available from gracias, amigos!
time with no performance hit. PRT was the company’s website (http:// It’s just a bit of a shame that
recently used in Halo 2. unigine.com). nobody seems interested
enough to make the contacts
feature not royally suck, or to
make deleting mail that you no
■ Firefox has a new offshoot. The longer want any less painful than
Firemonger project attempts to
bring the benefits of Firefox and
hammering a whole watermelon
Thunderbird to the sceptic by allowing into your own eye.
users to access both applications Fun coding is all very well,
and a range of plugins directly from a
CD without having to install anything and Google gets the excitement
on to the hard disk. The project lives of an idea better than almost
at www.firemonger.org. anyone – but in long term use,
The engine features real time It seems standard practice to use it’s hard to fight the same
■ The FTLinux course, a primer on
physics modelling. non-standard GUIs in these types
the deployment and use of Linux annoyed feelings provoked by so
that was first published in 1998, has of applications.
many open-source programs:
been released for free at www.
FTLinuxCourse.com. The course that sometimes you need
covers installation, programming, someone to sit down and do the
web development and system
administration. bits that aren’t so much fun,
and that most people probably
■ A number of Novell, SUSE and won’t notice.
OpenSUSE websites have been
hacked and defaced by a group Still, at least they’re all free,
calling itself IHS (Iran Hackers and it’s not as if we’d ever be
Sabotage). The defacement included totally happy. At least, not until
the assertion that it was Iran’s right to
develop nuclear weapons. Google Maps can zoom in close
There is a full complement of enough to show you sitting at
The PRT system makes rendering
modelling options in the of real-time images less your computer, using
application. processor-intensive. Google Maps.
COMMENT
KDE Community
LINUX FORMAT
EXPOFEST
We go to open source
conferences so you
don’t have to… Here’s
27 August–4 September, Málaga. Billed as: “The annual conference of KDE developers and contributors.”
LXF man on the ground: George Wright.
Conference survival tip: “Make sure you have a Konqi with you for the boring bits!”
KDE developers and users KDE 4.0 development is well under emphasis on users, showing studies on He was a good speaker, preferring
from around the world way in the development repositories the usability of its software. not to use slides in his presentations
descended on the University and 3.5 should have just been Throughout UserConf the talks (cue a sigh of relief from the
of Málaga’s computer science released when you read this (there’s were scheduled in two parallel streams, audience) but rather to talk directly,
department in early autumn for a a beta version on our coverdiscs), so it was not possible to attend every initially in front of large projected
week of learning, schmoozing and so the KDE world is pretty busy at one – with the exception of the two photographs from his time in space.
coding. The first two days were set the moment. keynote speeches. The second Shuttleworth argued that the open
aside for talks aimed at users and The summit began with a panel of keynote at UserConf this year was source community is one of great
administrators, and the following two speakers addressing the conference given by possibly the biggest celebrity collaboration, and that individual work
days for developers and contributors. attendees. Much of the introduction in the Linux world at the moment, is no longer a viable option in the
The remainder of the conference was was spoken in Spanish, with a
dubbed the coding marathon – a translator, but the gist of it was that
chance for KDE hackers to come
together and get some serious
the authorities were very pleased that
the KDE project had chosen Málaga “WE ALL WANTED TO GET
development work done.
The overall organiser this year was
for the conference this year. And so
were we.
TO ‘BEAUTY AND MAGIC
Antonio Larossa, one of the core KDE
developers, but in addition to his Support from Novell
FOR KDE DEVELOPERS’.”
commendable efforts, the Linux Immediately afterwards, the users and
Málaga user group put in a good deal developers conference (dubbed Mark Shuttleworth. His talk was modern age. His talk highlighted a big
of time to take the lion’s share of the UserConf) kicked off with an opening entitled ‘Ubuntu and Kubuntu’, which problem he sees in the open source
work. They were exceptionally friendly talk about the Novell Linux Desktop turned out to be a very inaccurate title world – the bug tracking system. For
and a great asset to the conference. operating system. Novell’s support of indeed. Instead, Shuttleworth any one package there are several bug
Though the KDE 3.5 release was KDE was stressed very heavily, as explained that he wasn’t going to databases, he explained, and no
still being worked on, the focus of the anticipated, although some of the discuss his flagship distribution at all, collaboration between the application’s
conference was on the next major default applications have been and decided to talk about maintainer and the distribution. To
release of KDE – version 4.0 – which replaced by non-KDE programs, such collaboration within the open source conclude, he demonstrated a web-
promises many improvements, such as as OpenOffice.org and Mozilla Firefox. community, highlighting issues that he based system in development that
the much-hyped Plasma framework. Pleasingly, Novell placed a lot of felt needed fixing. would allow collaboration between
projects’s databases.
Photo by GaÎl Beaudoin
Eirik sells Qt
After the weekend came the
developers and contributors
conference, this time nicknamed
DevConf. The sole keynote was from a
prominent figure in the KDE world:
Eirik Chambe-Eng, one of the
Akademy 2005 group photo. KDE founder Matthias founders of Trolltech. He gave a
Ettrich is in the first standing row, far right.
keynote speech at last year’s Akademy
ICECREAM EXA
PLASMA
KDE EDUTAINMENT
and there were many references to his ranging from multimedia to web windows on the corners of the cube Seigo, the current maintainer of the
previous talk, but as usual a fair development to graphics. and watching scrolling text on them. KDE panel, Kicker. It’s spoken of as
proportion of the presentation was One presentation that we all wanted When the window was dragged the ultimate panel for any desktop
figures from surveys showing how to get to was Zack Rusin’s talk on around it rippled like a flag waving environment, and will include features
popular Qt is with Trolltech’s ‘Beauty and Magic for KDE developers’. around, and Rusin also showed the like those found in SuperKaramba, a
customers. Interestingly, the statistic for Rusin was recently hired by Trolltech windows popping up and down when palette of scripting tools designed to
the customers who were either using to work on Exa (his graphics extension they received focus. True, there isn’t give you complete control over your
open source software or intending to to X.Org), which should give X11 the much practical use for the things he desktop due to be released with KDE
do so rose, suggesting that open sort of graphical capabilities that was demonstrating, but it certainly 3.5. Plasma is still very much in the
source is in a more viable position Apple users have enjoyed with Mac showed off the flexibility and power of planning stages, and its core
commercially this year and gaining OS X. At first his talk had to be Exa. Rusin emphasised heavily that developers have been tied up working
enterprise support. Light relief came postponed because of incompatibilities Exa is a name not an acronym and on Kicker for the 3.5 release, but
from Chambe-Eng showing some between his laptop and the projector. thus does not stand for anything expect it to get much more attention
embarrassing photos of Matthias The day after DevConf, the organisers except “stop making stupid acronyms in the months ahead.
Ettrich, the founder of the KDE project had to set up a video camera on a that don’t make sense”… A lot of the work done during the
and project leader on Qt at Trolltech. projector and filmed the screen coding marathon was aimed at next
instead of going directly from the The coding marathon year’s KDE 4.0 release, and many
For the developers... laptop to the projector. With DevConf over came a five-day people took advantage of the local
DevConf was much busier than Rusin’s presentation itself was coding marathon, where KDE ‘Icecream farm’. Icecream is a
UserConf and had three, not two, impressive – while most of the other contributors came together to rack distributed compiling system,
streams running in parallel in three speakers used OpenOffice.org or PDF, their brains collectively over head- developed by some of the core KDE
rooms. Again, these talks were Rusin wrote his presentation in C++ hurting problems. Several so-called developers, which uses massive
recorded on video by the Fluendo using Qt’s Arthur, the highly bird of a feather (BoF) sessions were parallel computing power on networks
project and uploaded to the KDE file accelerated graphics library introduced organised to discuss various areas of to compile projects. Among its list of
server. The topics varied quite a bit, in Qt 4. The presentation itself was KDE including education, Plasma, features are the ability to make use of
visually engaging, with marketing and all sorts of other things. cross-compilers in multi-architecture
full 2D rendering of The Akademy discussion mailing list networks and the ability to monitor
cogwheels and other was buzzing with activity organising the compiling with nifty graphical
bits of eye candy in the BoFs and some of the newer monitors. Using Icecream, it was
the background. projects, such as the KDE possible to cut the compile time down
After the Edutainment project, received for a KDE module from several hours
presentation, Rusin favourable interest from governmental to a mere 15 minutes.
gave a demonstration conference attendees. The hacking After the coding marathon it was
of Exa’s capabilities rooms were consistently full, with time to say goodbye – to the Linux
and managed to do many KDE hackers making good use Málaga people and to the KDE
all sorts of things of the opportunity to work together in developers who had come from all
never really seen person while they could. over the globe to attend. It was a
before on X11, Perhaps the most talked-about fantastic event, and we’re looking
including rotating proposed feature of KDE is the much- forward to seeing some of the
The hacking rooms gave a chance the screen as if it were a large cube to hyped Plasma project. Plasma is the technology we got a sneak preview of
to work face to face on problems. change virtual desktop, and placing brainchild of KDE developer Aaron unleashed on to the Linux desktop.
LinuxWorld
Conference and Expo
5–6 October, London. Billed as: “The must-attend event for the Linux and open source community.”
LXF man on the ground: Andy Channelle
Conference survival tip: “Take headache tablets and strong mints”.
If there was one thing that which seemed to involve shuttling from
Insert lame pun about
could be said to define this Dover to Olympia an insane number of
racks here.
year’s London version of the times over two days, was paying off, as
LinuxWorld Conference and Expo, it visitors from UK schools had come to
was intent. Exhibitors told us that in the show specifically seeking out
previous years, the show, which is held Karoshi. The software is a network
annually at Olympia in the west of the management system aimed at the
capital, tended to attract visitors with a education sector that, since its
vague interest in the products on offer, inception, has been adopted by several
but there was very little in the way of... schools with cost savings, Jo said, in
well... money. excess of £80,000 for some users
This time things seemed different, (more on page 65).
and it wasn’t just the presence of Elsewhere in the .org pavilion, the
corporate behemoths such as Sun, Gnome team were proudly displaying
their Linux Format award for Best
Desktop Software, and folks from the
Joomla (www.joomla.org) project
were showing the best way of putting
their ‘legal issues’ behind them by
wowing a constant stream of visitors
with Joomla’s CMS prowess. Also JIVE TALKING
present were KDE, UKUUG, Hula, In the conference area, the biggest choice to our customers.”
Debian, Mozilla Europe and many crowd of each day gathered for the Sun’s Phipps said that, rather than
others. Exhibitors and visitors alike Great Linux Debate, in which luminaries attempting to migrate people to Linux
were pleased to see a little more space from the Linux world (and LXF’s Nick right away, the desktop strategy should
devoted to the .org pavilion this year, Veitch) attempt to shoehorn adverts for be built around a gradual migration:
as it demonstrates an understanding products into their answers before moving to Firefox, OOo and others
that this is where the open source OpenForum’s Graham Taylor could stop before convincing the users of the cost-
them. The award for most blatant plug effectiveness of shifting the entire OS.
community (and its best products) are
went to Simon Phipps of Sun, who kept Mark Spencer, the developer of Gaim
conceived and refined.
mentioning some piece of hardware his and the Asterisk open source telecoms
company had just announced. system, reinforced the need for cross-
Ubuntu on the up The questions from the audience were platform development. “In order to
It’s a useful barometer of the relative the traditional mix of the astute, obvious succeed, we need to offer users
LinuxWorld also saw some pretty
success of a distribution (and a and perplexing with many directed at alternative models for picking up great
blinged-up Daleks.
desktop environment) to count the proprietary punchbag Nick McGrath software,” he said.
number of machines running it in the from Microsoft.
Novell and HP – they’ve all been here hall; and by that measurement, McGrath gave some Everyone laughs at
interesting answers in one of Nick’s jokes.
before. This time there was a new Ubuntu is definitely a distro on the rise.
relation to his
breed of visitor: the decision maker. There were more versions of SUSE
company’s need to
These men and women (mostly men) running, mainly because Novell had so
‘understand the open
prowled the hall seeking out innovative many machines, but if you discount
source development
open source technologies, and really vendors running their own software, method’ in order to
took an interest. Staff from Axigen, a Ubuntu seemed the most visible. This better compete and
mail server company, made the trip to translated into a boost for Gnome, interoperate with it.
London from Romania to demonstrate which was also on show in the Red Hat He also got the
their wares, and said that this show and Sun exhibitions. For the first time, biggest laughs of the
had a focus that even the New York or it appears to have caught up with KDE. day when he said,
German events had failed to muster. Usually as we drift away from these responding to a
question about 2006
This idea of ‘potential’ didn’t stop at shows, two or three people are left in
being the year of the
the gates of the .org pavilion, which the hall hoping to blag the last freebie.
desktop, that
was busier than ever. Jo Harris of the But this year, as closing time drew near
“Microsoft is about
Karoshi project (www.karoshi.org. on Thursday, the hum of conversation providing freedom of
uk) said her hectic work schedule, was hardly diminished. LXF
LINUX DISTRIBUTION
Ubuntu 5.10 ON CD
A compiler upgrade makes this a breezier distro than Hoary. Andy Hudson finds out what else is new.
KEY STUFF
Easy-to-use Debian-based distro.
Also consider Mandriva or OpenSUSE
“The Ubuntu team have
■ DEVELOPER also done amazing work to
The Ubuntu Foundation
■ WEB www.ubuntu.com
get ACPI working on many
■ PRICE Free under GPL branded laptops, making
this one of the best choices
Ubuntu is truly the enigma for Linux on the go.”
of the Linux world. Only
released in October 2004,
you might think it would need time to This is all very well, but Ubuntu’s
build its support base, yet it need for everything to ‘just work’
consistently wins awards and makes us think that Ubuntu is trying
frequently tops the DistroWatch.com to become more like Apple rather
rankings. All these accolades point to than Microsoft. Apple’s philosophy is to
one giant achievement: Mark provide software that people want to
Shuttleworth’s team have taken use rather than tinker with, and it
Debian, one Linux distro that you could be argued that Ubuntu is
The chips are down, and Ubuntu holds all the cards (note the Beagle
could hardly call user-friendly, and search tool running). With usability like this, who needs Mac OS X? mirroring this to a certain degree.
given it a human face. Also interesting is the launch of
Version 5.10 (codenamed the and other not immediately apparent of course roll your own kernel with the Edubuntu distro, which makes
Breezy Badger) is the latest release, features. If you’re familiar with Ubuntu specific optimisation flags. The only heavy use of the Linux Terminal Server
and if previous versions are anything you’ll know it makes a lot of choices thing to watch out for is that Ubuntu Project and is aimed at schools. LTSP
to go by it’s going to be hugely popular. for you about which applications are does not ship with any development support is now built in to Ubuntu as
The Ubuntu Foundation has supplied. As mentioned in our review tools installed as standard, so you’ll standard, and it will be intriguing to
worked hard on Ubuntu’s installation, of Hoary (LXF68) we believe this need to use Synaptic to obtain the see where they go with this. Most
with the text installer now continuing works in Ubuntu’s favour, as it reduces required tools. Unsurprisingly, then, schools and colleges in the UK are
to the second stage of the installation. the feeling of being lost in among all Mono is not installed by default, but Microsoft-only, although some do use
No longer do you have to watch reams the options. there are Ubuntu-specific packages Linux for file and print purposes.
and reams of text information scrolling The applications immediately available through Synaptic. There’s a lot riding on Ubuntu in terms
past at lightning pace: instead there’s a available include OpenOffice.org 2.0 Support for PHP 5 is now included, of bringing new users into open source.
friendly status bar that tells you (1.9.125), Evolution 2.4, Gnome’s although 5.1 is expected to be All in all, this is a very positive
exactly where you are up to in the BitTorrent client, GnomeMeeting, released by the time you read this. For release. Ubuntu gets better and better
setup routine and which packages are Rhythmbox, Totem, Sound Juicer and Bluetooth fans, support for keyboards with each update and it will be exciting
currently being worked on. Serpentine. This last package allows and mice is available out of the box. to see what the effort promised for
Also included is a graphical bootup mastering of audio CDs from a range 6.04 will produce. LXF
screen with status messages of audio codecs including OGG and Know thine enemy
appearing below the word ‘Ubuntu’. It’s MP3. Those of us in the UK will no With the release of Breezy, Mark LINUX FORMAT VERDICT
a little basic, but better than nothing. doubt already be taking advantage of Shuttleworth also let us know the FEATURES 9/10
our fair use allowance and Serpentine name of what will become Ubuntu PERFORMANCE 9/10
Linux made simple will encourage this further. 6.04. It has been christened the
EASE OF USE 10/10
At first glance, nothing much has Dapper Duck – dapper because it will
changed from Hoary Hedgehog (5.04). New instructions have to be pretty smart to poach DOCUMENTATION 8/10
Gnome 2.12 replaces 2.10, but its There have been a few improvements Windows users away from Vista, and Solid, easy to use distro that every
refinements and improvements are under the hood. Ubuntu now includes Duck because… it begins with D. In Linux user should try, and the pre-supplied
applications are all sensible choices.
mostly hidden in right-click menus access to GCC 4.0, with the related what might be heard as a battle cry,
benefits that this brings, although the Shuttleworth has asked for some real RATING 9/10
kernel is still compiled with GCC 3.4. effort behind 6.04 to lure old XP
FEATURES Breezy uses kernel 2.6.12, but you can users away from Windows.
AT A GLANCE
The helpful, if This Add/ Easily arrange
somewhat annoying Remove and burn any
updates pop-up is a Application tool OGG or MP3 file
good move for is a welcome to an audio CD
reassuring security simplification with Serpentine.
conscious users. for Synaptic.
LINUX DISTRIBUTION
KEY STUFF
Distribution aimed squarely at
advanced users.
See also: Debian and Gentoo.
■ DEVELOPER Patrick Volkerding
■ WEB www.slackware.com
■ PRICE Free under GPL
3D SOFTWARE
Maya 7 Unlimited
If this release was a chance to catch up on features, the suite is all the better for it finds Nick Veitch.
AMOUNT
installed by default with Communications Security has made
TIME TIME
nearly every distribution, and has bold claims about the enhanced
become one of the most essential security and performance in the latest
tools on your system. Using SSH, you incarnation of its SSH Tectia software.
can connect to your own, familiar In a change from previous releases,
command prompt from a machine where all the SSH tools were
anywhere on the planet. You don’t combined into a single package, the
need broadband – thanks to the new version is available pre-packaged
nature of the text-based interface, you to include just the client, or the client
can get away with the bandwidth of a and the server combined. Packages
smoke signal. But if you’ve got more, are available for both Red Hat and
SSH can do other tricks, such as SUSE’s enterprise Linux offering, as
tunnel a port from a remote machine well as SUSE’s Professional distribution.
or forward an X Windows session. Our SUSE 9.3 and 10 weren’t listed, but we
Linux experience wouldn’t be the had no problem installing the included SSH Tectia is shown below OpenSSH, and in our tests was slightly faster at
the cost of greater CPU usage.
same without SSH. RPM packages on to our SUSE 10 box
SSH started life as a project after removing OpenSSH from our
developed by Tatu Ylönen and was system. We also successfully installed We pitted this third generation These are buzzwords that will take
released as open source in 1995. the RPMs on Mandriva Linux 2006, against OpenSSH 4.0, and it is indeed pressure off the typical IT manager,
Ylönen went on to found SSH after making sure the new binary files faster. It transferred a 700MB file and avoid the personal responsibility
Communications Security to further were in the system path. across our network at about 10.1MB/s. an open solution often brings.
the development of SSH, which The packages themselves are a OpenSSH, by comparison, managed On a big enough battleground,
eventually pushed it into the realm of drop-in replacement for OpenSSH, but 8.3MB/s, but used slightly fewer CPU this makes SSH Tectia unbeatable.
enterprise-based proprietary software. we did experience a few problems cycles. If your business transfers Technically, you don’t get much for
The free version used by most Linux while using the SSH file transfer tool gigabytes of data using SSH, this is a your money, but in today’s world, you
distributions is called OpenSSH, and SFTP to transfer and receive files with significant improvement, but for the just can’t buy enough security. That’s
was developed by the OpenBSD team OpenSSH. The transfer would often rest of us it’s hardly going to change what’s on offer here: an indemnity
as an alternative to Ylönen’s SSH. timeout before completion, so it’s the world. policy for a backbone of corporate
You may wonder how SSH obviously not 100% compatible with communication. Yes, this is a stable,
Communications Security makes any other formats. Interestingly, SFTP Keep it a secret efficient and effective suite of tools;
money selling a costly and proprietary includes folder and file completion, Security is obviously the main front on but more important than that, it’s
which is sorely missed in which the battle between SSH Tectia reassuringly expensive. LXF
the free version. But the and OpenSSH will be fought. Both
biggest touted benefit is implementations are technically very
LINUX FORMAT VERDICT
performance, surreptitiously similar, featuring almost identical
implemented by way of a encryption. But when it comes to
FEATURES 7/10
bolted-on enhancement to ensuring your valuable data can’t be PERFORMANCE 6/10
version 2 of the SSH compromised, OpenSSH can’t compete EASE OF USE 6/10
protocol. Dubbed G3, this is with enterprise rhetoric. For example, VALUE FOR MONEY 6/10
the third generation of the SSH Tectia can offer FIPS 140-2
Expensive SSH for the enterprise with an
SSH2 protocol implemented certification, as required by the US
authority that can’t be argued against.
by SSH Communications government, and scalable user
Security, and is supposedly authentication. You can also deploy, RATING 6/10
KDE uses the SSH protocol for transferring a complete rewrite of the update and patch SSH Tectia using
remote files through FISH. code base. additional management software.
OFFICE SUITE
ThinkFree Office 3
Thinking free, says Alex Cox, means finding an office suite without traditional shackles.
KEY STUFF
A Java-based office productivity suite,
now faster and more stable than ever.
Also try KOffice.
■ DEVELOPER Haansoft
■ WEB www.thinkfree.com
■ PRICE $49.95 (download edition)
Distrowatch
This month’s roundup of news from Linux distro development.
WELCOME!
How many times
have you
A brief history of
Linux distributions
witnessed (or
even taken part
in) an online
discussion where
each party
Ladislav Bodnar defended their
From half a dozen to over 300 in a decade
is a founder,
preferred distro
maintainer, editor
and poured Welcome to the first
and janitor of
DistroWatch.com. scorn on
Distrowatch! This is a 1992 ....... SoftLanding Linux System
everything else?
new regular section for 1992 ...... Yggdrasil alpha
We do love our operating systems
and are prepared to prove our the magazine that will keep you up to 1993 ...... Slackware Linux 1.0
allegiance in passionate arguments date with the latest distro news. We
1995 ...... Red Hat Linux 1.0 ‘Mother’s Day’
on internet forums. hope you’ll find it useful for everything
1996 ...... Caldera Network Desktop 1.0
you need to know about your
“IT SEEMS THAT JUST preferred flavour of Linux.
1996 ...... SUSE Linux 4.2
1996 ...... Debian 1.1 ‘Buzz’
ABOUT EVERYBO DY The concept of a Linux distribution –
a complete operating system with the 1998 ...... Mandrake 5.1 ‘Venice’
IS BUILDING NEW Linux kernel, essential GNU packages 1999 ...... Corel Linux 1.0
DISTRIBUTIONS.” and other open source software – 1999 ...... Linux From Scratch 1.0
emerged in 1992 from two companies: 2001 ..... Knoppix 2.0
Having said that, research
indicates that a Linux user is much Softlanding Linux System and Yggdrasil 2002 ..... Gentoo Linux 1.0
more likely to switch allegiance Linux. Their early efforts were riddled 2002 ..... Lindows 1.0
than, say, a football supporter. If with problems, causing frustration to 2003 ..... Fedora Core 1 ‘Yarrow’
Manchester United underperforms many users who attempted to install
2004 ..... Ubuntu 4.10 ‘Warty Warthog’
one season, its followers dutifully them on a variety of hardware
return the next, hoping for better configurations, so it was hardly
things. But users of Linux surprising that they gave rise to a new
distributions are much less breed of Linux distributions. Among
forgiving. The latest release of
them, Slackware Linux and Debian
Mandriva didn’t work for you? No
GNU/Linux were the most successful.
problem, you can simply download
and install SUSE, Ubuntu or any Slackware was created by Patrick
other of the hundreds of Volkerding and launched as version 1.0 Just some of the landmark Linux releases since 1992.
distributions available until you in July 1993. It is estimated that at its
find the one that makes you feel peak in 1995 Slackware had a market across the globe who exchange ideas independent applications. Although
proud of your PC once again. share of 90% of all Linux installations. and code on the internet, was bound many ideas were floating around at
This ever-increasing range of Many other Linux companies made to disintegrate in chaos and fail the time, it was a new company called
products, together with new, use of Slackware in those years – a miserably. But the reality surprised the Red Hat, established in 1995, which
amazing ideas, is what makes the good example is SUSE Linux, which sceptics. Debian has not only become brought about a revolution. Its RPM
world of Linux distributions so
started as a company translating living proof that unpaid volunteers can package management format was a
fascinating. From multi-billion
Slackware files into German and accomplish an amazing amount of major breakthrough and, in the
dollar corporations with hundreds
of well-paid programmers to distributing large sets of floppy disks work in an loosely organised following years, it was quickly adopted
penniless students hacking about containing Slackware Linux to environment, it has also become one by several other Linux distributions.
in their bedrooms, it seems that interested users. of the most respected and stable Linux
just about everybody is working on Debian GNU/Linux was first distributions around, with quality The Renaissance
some open source code, writing announced in 1993 by Ian Murdock control structures that many The dotcom boom and bust at the
applications and building newer, and, after a slow start, the distribution commercial companies can only turn of the century meant big changes
better distributions. quickly became one of the largest dream of. on the Linux distribution scene.
We haven’t paid enough cooperative software development As the early distributions started Mandrakesoft (renamed to Mandriva
attention to this phenomenon, but
projects ever created. Many predicted adding more and more software, it was earlier this year) survived financial
this is about to change – welcome
that this type of development work, clear that much simpler package problems and made some
to Distrowatch!
carried out by hundreds of volunteers management was needed for all the fundamental improvements to Red
RSS READERS
Want the news, the whole news and nothing but the news? Paul Hudson
puts his newspaper down and seeks out the finest RSS readers.
Blogs and news, blogs and Winer created his own XML-based Really Simple Syndication). Both of
news. Is that all RSS readers syndication protocol for his site, Winer’s apps were based on RSS 0.91
are good for? Yes, pretty Scripting News. From there, Winer and and incompatible with Netscape’s RSS
much, but think of the riches! Netscape collaborated on a modified 1.0. All this mess means one thing:
boingboing.net, alienlovespredator. version of RSS, which was christened making an RSS reader is no easy task,
com, theonion.com, www. RSS 0.91 despite being substantially and choosing an RSS reader isn’t
barbrastreisand.com/news_ different from 0.90. RSS now stood for much easier. OUR SELECTION
statements.html… all the essential Rich Site Summary, and started to be Thankfully, modern RSS readers AT A GLANCE
content in the world delivered as easily adopted on a wider basis. don’t bother you with all this version
as an email. That was when things really started information, they “just work”. But there Akregator .............................. 42
For something that’s so simple and to get crazy. Netscape dropped are many other things to consider: Blam ...........................................39
yet so important to modern computing, development of the format just as it which supports tabbed browsing?
BottomFeeder ....................41
RSS has a complicated history. It all was taking off, which caused a fork. Which lets you find specific news items
began in 1999, when Netscape On one side, an external group quicker and faster than the others? Liferea ...................................... 40
created the very first version of RSS produced RSS 1.0, based on Which has the best features, such as RSSOwl................................... 42
(which stood for RDF Site Syndication) Netscape’s original. On the other, favicons to identify feeds? All this and Snownews .............................39
for the my.netscape.com web portal. Winer produced RSS 0.92 then RSS more we’ve taken into account in Thunderbird ........................ 40
At the same time, a chap called Dave 2.0 (now saying that RSS stood for order to find the best…
Blam
Disappointing Mono flag bearer.
■ VERSION 1.8.2 ■ WEB http://developer.imendio.com/wiki/Blam
■ PRICE Free under GPL
Liferea
The best option for power users.
■ VERSION 0.9.4 ■ WEB http://liferea.sourceforge.net/
■ PRICE Free under GPL
Thunderbird
department. Mozilla Mail, the base if it were a web browser. Yes, this
upon which Thunderbird is built, is means that you end up downloading
of course a highly advanced email lots of irrelevant page furniture along
and messaging client, but it never with the news – which, to our minds,
Firefox’s little brother just isn’t ready for RSS. really got around to adding much in seems to ruin the whole point of RSS
the way of RSS support. It’s here in the first place.
■ VERSION 1.5 ■ WEB www.mozilla.org where Thunderbird manages to
■ PRICE Free under the Mozilla Public License
distinguish itself from the parent suite Not quite Firefox
– but only just. Managing your RSS feeds is painful,
Firefox is one of the biggest New York Times for a brief moment. While there’s no Blam-style and really highlights the difference
success stories in the world of free But its lesser-known cousin, extreme shortage of features here, between Firefox and Thunderbird. With
software, having even managed to Thunderbird, is making baby steps neither is there an abundance. The Firefox, the GUIs are always smart,
cross over into print advertising in the forward in the mail and news key problem with Thunderbird is that streamlined and very obvious, even
most of it is geared towards collecting to relatively new users. With
and writing emails, with RSS loosely Thunderbird, be prepared for longer
tacked on as a “we may as well” pop-up menus, frequent multiple-
addition. So, the options enable you to choice dialog boxes where there’s no
set the default character encoding for obvious way to close them without
a blog, which is fairly useless. using the window decoration, and a
Furthermore, the GUI for RSS feeds is Search dialog that will scare even the
just recycled from the main mail- hardiest of users away. All this makes
reading system, so there’s just one GUI sense if you’re using Thunderbird for
that serves everyone without things your email or Usenet news already,
having to move around. It’s a nice idea, but we just can’t recommend it as a
but if you only want to use stand-alone RSS reader.
Thunderbird as an RSS reader, it gets
annoying to have RSS entries treated
LINUX FORMAT VERDICT
as if they were unformatted emails.
Thunderbird’s clumsy workaround for A great mail reader, but just doesn’t cut it
as an RSS reader.
this is to set the system to browse to
the live web entry for each post by RATING 4/10
default, embedding the Gecko engine
Thunderbird combines Firefox’s UI goodness with all the usability of Emacs. directly into the bottom-right pane as
BottomFeeder
Ugly, ugly, ugly, ugly, ugly…
■ VERSION 4.0 ■ WEB www.cincomsmalltalk.com/BottomFeeder
■ PRICE Free under Artistic License
…ugly, ugly, ugly, ugly. Get the them. How many? Many many, that’s
point yet? No, BottomFeeder is not the how many. Some features seem like
most attractive item in this trophy good ideas that we can immediately
cabinet of RSS readers, and the put to use, such as the ability to
reason is apparent as soon as you visit create instant blog entries based
the website: it’s written in Smalltalk. upon a news entry; some features
This particular language is deader than seem like good ideas that we could
Etruscan, which means the language immediately put to use if we could
bindings for modern graphical toolkits just think up a use for them, such as
are somewhat thin on the ground. adding del.icio.us tags to blog entries. Forget the poor design and focus on the features…
BottomFeeder uses what looks like an And other features probably seemed
early Motif GUI, which puts you off like a good idea when the programmer sorting and you’re done)! Back up and with a small, yellow news ticker, where
before you start. Compiling by hand is was typing them in, such as the ability restore your settings and feeds to a the latest feed entries slow march
somewhat pointless, given that to impersonate a particularly broken remote FTP server! Surf the web using across your screen.
Smalltalk is interpreted, which means Mac OS X GUI. The confluence for all the built-in web browser! Nominally
you can just download binaries and these options is the inevitably huge this last feature is intended to allow
LINUX FORMAT VERDICT
run them as they are. settings dialog, but that’s best avoided. HTML RSS entries to be rendered
If you can live with the properly, but it’s used for external links Pug ugly, but powerful enough that you
Features ahoy! mindbogglingly poor GUI, you’ll find a too. One feature we are particularly
could get accustomed to it.
With our patented Anti-Ugly glasses feast of functionality. Create your own fond of is the Slim Mode, which hides RATING 7/10
firmly in place, let’s get down to Amazon feeds at the touch of a button the main GUI away (not a moment too
business. Features: there are many of (specify category, search name and soon, in our opinion) and replaces it
Mandriva GlobeTrotter
RSSOwl
Perhaps Java isn’t so bad after all…
■ VERSION 1.1.3 ■ WEB www.rssowl.org
■ PRICE Free under the CPL
Akregator
time to re-jig the GUI to use i and enables you to run a fast search
components and add a few minor on the articles to find a particular term.
tweaks of their own. The default feed This is such a simple thing to
list is somewhat predictable: Akregator implement, and yet several other
An RSS reader that Krusty the Klown would love. news, KDE news, more KDE news, readers on test aren’t so smart.
plus some KDE apps news and KDE- Another clever feature that is unique
■ VERSION 1.1.2 ■ WEB http://akregator.sourceforge.net
Look news. to Akregator is the ability to show the
■ PRICE Free under GPL
Although Akregator’s default number of unread news items in its
interface uses the stock three-pane status bar icon; most other tools here
“Aha,” you say, “a ‘K’ in a really reading program. In true KDE style, view, the developers have added tabs require you to hover over their icon to
weird place. That must mean…” Yes, Akregator is largely the same as other to better use screen space. This works get a tool tip.
Akregator is the KDE-preferred news tools around it, but its writers took the quite well in that external links just get However, apart from those two, the
opened in Konqueror in a fresh tab, distinct lack of features is quite obvious
but we had problems following links and highly surprising to boot. KDE
some times – almost as if Konqueror applications traditionally have features
were barred from opening fresh stuffed in every possible location, with
windows of its own. The screen space a Preferences panel a mile long; this
that is cleaned up by the use of tabs is one doesn’t. Sadly, its developers
cunningly spoilt with the inclusion of haven’t turned that to their advantage
eight (count them, eight) menu with Gnome-like economy and design.
options at the top, followed by a three- Blam is featureless, but at least it
button tool bar that is pretty pointless. looks good. Akregator, while not as
A much wiser option would have been low on features as Blam, is not nearly
to move those three buttons down into so easy on the eye.
the left-hand pane so that the right-
hand panes could have moved up and LINUX FORMAT VERDICT
used more screen space.
Neither attractive nor powerful, but
somewhere in the middle of the table.
Smart search
The bright point in Akregator’s RATING 6/10
functionality is the Quick Filter box,
Someone needs to tell the Akregator folks that clashing colours are bad. which sits neatly above the article list
ROUNDUP
THE VERDICT OVER TO YOU
Is Thunderbird
Do you use Em
under-rated?
acs
your news as we to read
your breakfast?
on the forums
ll as make
Let us know
at ww
linuxformat.co w.
.uk.
Seven RSS readers, and only crunch, features such as the Vfolder GUI tweaks such as the condensed
one can win: Liferea. It has support and the ability to read feeds view and favicon support, and Liferea
the right mix of power and from commands as well as URLs pulls even further ahead, deservedly
prettiness that makes it suitable for all placed this beyond the reach of its winning this roundup. That said, it’s still than Liferea adding PDF export
types of user. When it comes to the competitors. Add in the little lacking that extra bit of refinement options any time soon!
that’s necessary to reach true We were surprised that
excellence. We’d particularly like to Thunderbird still treats RSS support
see further edits to the UI to bring in as a last-minute addition rather than
lessons from Akregator and Blam – an integral part of people’s day-to-day
the Refresh All button needs to be lives; even the command line-based
marked more clearly (as in Blam), and Snownews had more thought put into
LIFEREA
9/10
an on-hand search box (as in it, and was actually a very usable way
Akregator) would be useful too. to browse the news across a secure
For the runner up, we’d be hard SSH connection.
pressed to choose anything but Last but not least, we’d like to
RSSOwl. This surpasses Liferea in many mention BottomFeeder. We think this
ways, particularly with juicy social is the dark horse of RSS readers: yes,
networking features such as the GUI is ugly and very hard to work
AmphetaRate support. However, three around, but that’s something that can
things hold it back: the lack of Vfolder be easily fixed if the developers take a
support, the lack of favicons and the critical look at it compared with other
strange lack of caching by default. The news readers. With a radical rethink of
last two are pretty easy to solve, so we the layout, and keeping all of the
expect RSSOwl to catch up with Liferea powerful and off-the-wall features it
pretty quickly. Adding Vfolder support already has, this could be a real
Liferea’s condensed view makes it easy to view all your feeds at once. isn’t so easy, but it’s much more likely contender in a few versions’ time. LXF
TABLE OF FEATURES
Reader User Interface System Tray Vfolders Favicons Authentication Feed Sources HTML Renderer Drag and Drop
Akregator Qt Icon, Unread news URL KHTML KDE
Blam GTK Icon URL Gecko Gnome/KDE
BottomFeeder Custom URL Custom
Liferea GTK Icon ✔ ✔ ✔ URL,command,file Gecko Gnome/KDE
RSSOwl Java/SWT/GTK URL Gecko
Snownews Curses ✔ URL Lynx
Thunderbird GTK URL Gecko
Serpentine
Files are added via the standard GTK
Mike has installed and
tested more apps than dialogs, but you can drag and drop
he’s had hot dinners. them in the playlist to rearrange them.
As you can see. Handily, the playlist doesn’t show
■ VERSION 0.6.3 ■ WEB http://s1x.homelinux.net/projects/serpentine merely the filename but uses tags
Quite often I’m asked about
the selection process for from the files, so you get a lot more
HotPicks – why do I choose info. The burning process sports a little
certain apps and not others? progress bar for further feedback.
The answer is demonstrated
in the graphic below: Disco inferno
Serpentine’s developers have made
the wise decision to use GStreamer as
KS
IC
TP
HO
BROWSER MODIFICATION
FILESYSTEM TIDY
KleanSweep Conkeror
■ VERSION 0.20 ■ WEB http://conkeror.mozdev.org
■ VERSION 0.1.5 ■ WEB http://linux.bydg.org/~yogin
HOT GA
ME
STRATEGY GAME
S
Singularity
■ VERSION 0.21a ■ WEB www.emhsoft.net/singularity/index.html
DRIVING SIM
Ultimate Stunts
■ VERSION 0561 ■ WEB www.ultimatestunts.nl
According to recent research, driving sims have always held some Stunts strives to recreate the DOS Currently, the game is supplied
driving a car over a ramp, rolling it appeal in the form of competitive classic Stunts, albeit with more with a handful of racetracks, only
three times and escaping unscathed racing and strategy, but all-out flying- modern graphics and under an open one of which has much interactive
generates an even higher Coolocity car-fests like Stunt Car Racer hold the source licence. scenery of interest. Using the cursor
Factor than being The Fonz. Serious key to on-the-spot fun. Ultimate To build Ultimate Stunts from keys you can drive around ramps,
source, you won’t need to unravel a tunnels and half-pipes (some
tangle of dependencies – just have reminiscent of the classic Hard
the X and OpenGL development Drivin’) and send the car hurtling into
packages installed before you set off. the air. If you find that you can’t
SDL is an optional dependency to change camera angles with the right
enable sound support, although you Alt key, edit the ultimatestunts.conf
can live without it. Once built and file and switch the ‘shiftup’ and
installed, entering ustunts at a terminal ‘camerachange’ keybindings. Now
prompt will bring up the main game. you’ll be able to change camera
At this early stage, Ultimate angle, but not change gear (this isn’t
Stunts’s presentation is hardly sock a problem, as the car is an automatic).
blow-offingly impressive. The rather And this is important simply
generic pumping soundtrack adds a because the game is much more
little spice to the throwaway textures entertaining from the outside view.
and graphical effects, although For the most part, the physics are
strangely, the Ferrari you drive is fairly convincing and there’s great
orders far more detailed than anything satisfaction to be had from pulling off
else in the game. We greatly preferred a particularly virtuosic manoeuvre.
teh third-person mode – you get to Ultimate Stunts still needs plenty of
Don’t try this stunt at home. Try it on the motorway instead, preferably see the car react to the terrain so work, but already it’s entertaining to
with the blissful OutRun music blaring from your speakers. much better than in first-person mode. play around with.
Sysprof
■ VERSION 1.0 ■ WEB www.daimi.au.dk/~sandmann/sysprof
BITTORRENT DOWNLOADER ./configure, make and make install more than an embedded KHTML pane
(as root). with quick links to well-known BT
Xplanet
interfaces http://netmonitor.
sourceforge.net
HIBERNATE?
Want to save time database coding so you can lounge around eating
honey and picking fleas? Of course you do. Scott Douglass can help.
TEDIOUS STATEMENTS AND CODE?” working with multiple objects, Hibernate has
mechanisms so these files can be auto-generated.
to persist with Hibernate, you can use the provided specify them in the query itself. You can use native Once you’ve got it, it’s simply a case of unpacking
tools to generate the mapping file, and from this, the SQL directly with Hibernate, but the developers don’t the archive and building with Apache Ant (http://ant.
database schema. recommend it. apache.org – indispensable Java build tool). There
are more detailed instructions on the website.
LXFtrumps
Jim Jagielski
Unix
Jim was bitten by theadmin.
bug as a student sys d his
pe
Since then he’s dip en
s in a var iet y of op
toe
rce pro jec ts, inc luding
sou
bre ath : Pe rl, PHP,
(deep
, GNU, CGIWrap,
MOVES UK LTD
BIND/named, Xntpd .
an d Ap ac he
FreeBSD
)
44 (six in dog years
AGE erican
Am
NATIONALITY
URTESY: WINNING
UX 11
YEARS USING LIN 11
LA NG UAGE S
PROGRAMMING 8
NUMBER OF PCS + tea
TAKE 3
DAILY COFFEE IN 2
TOP TRUMPS CO
AL S OW NE D
SAND ng to
w people are goi
HE SAYS “Right no
pth than breadth.”
be wanting more de
>> www.linuxformat.co.uk
THE LXF
INTERVIEW
im Jagielski has had a LXF: And what’s your role there? Python were like my three and I liked just releases but how Apache was
J
profound effect on the JJ: In addition to being one of the Ruby but I didn’t want to spend any being used in external companies or
development of open core developers on the web server time on it. But that’s really changed things like that.
source. He’s worked for and project, the Tomcat project, and some now, and I’m finding myself getting And that was fun, it was a great
contributed to more high- of the other projects, I also serve on much more interested in becoming a time. You’d be surprised at the
profile projects than there the board of directors and I also serve developer, a low-level developer on number of potential articles that you
are wildebeest on the plains. We were as the executive vice president and Ruby. So I’ll most probably be working could use, and it was very difficult at
lucky enough to bump into him at at secretary of the ASF [Apache Software on doing that kind of quickly. times being able to figure out which
OSCon, and get what Jim described Foundation]. So I’ve got developer one made sense in the environment.
on his blog as “A great interview.” roles as well as some more LXF: Tell us about life on Slashdot. It was tough having to say, “This is
administrative roles. JJ: There was a point in time when good news, but we’re going to have
LXF: Most people probably Slashdot still had the Apache sections, to hold it.” And the bad thing about
connect you with Apache, but that LXF: Are you actively involved in they still had sections for a lot of open Slashdot of course is that if it’s two
doesn’t really tell the whole story any other projects? source environments, BSD for days old or three days old, it’s old
does it? After all, you have worked JJ: I do love to keep my fingers in PHP, example, and they were going through news, so it was hard trying to limit
on PHP, Perl, FreeBSD, ... I really do enjoy that. Unfortunately a phase when they actually wanted the number of good Apache-related
JJ: That’s correct. Probably my biggest most of the development I have been people who were in that community to news stories to that environment.
claim to fame, at least within this working on has been focused on the be the editors for those sections. Then of course, once things
changed the Apache section came
ON ZEND: more in-house, with internal
Slashdot editors.
“Helping PHP make inroads into corporate LXF: You were also CTO at Zend
America was something that I enjoyed and for a while [a company that sells
PHP solutions to businesses].
I’m very proud of the time I spent there.” JJ: That was fun. It started off initially
when Zend was looking at creating
an open source advisory board. They
were somewhat concerned about
generation, has been Apache. I mean, ASF, simply because of time restraints. So it was my responsibility back creating an open source company
I really just started off in the internet. But I still try to keep commit access to with Slashdot to come up with stories, around their PHP engine, they were
Apple used to have an operating PHP, and if I see patches within Perl of course, but also to be the ‘funnel’ somewhat afraid about how the PHP
system called AUX, and I was the I’ll send those in as well. for any Apache-related stories – community would respond to it. They
editor of the FAQ for that. And that I’m really trying to get more into things that made sense in the Apache were very smart in knowing that one
was what got me into open source by the Ruby community. There was a community, news that the Apache of the key features, one of the big >>
doing porting and stuff like that to it. point in time when PHP, Perl and community wanted to know about. Not success points of any open source
support for Access]. I think what’s tons of people saying yes, this would LXF: Covalent originally sponsored Adding for example load-balancing
important is how we build it, because be very cool. But again, we don’t try to the Open Source Applications Of capabilities, full internal cacheing for
obviously we take a lot of time working do anything to make our version of Tomorrow, the Apache initiative. proxy capability, a lot of features that
out the best compositor flags, things Apache different from Apache, Was that a sneaky way of hiring would have been nice to have been in
like that, on how to build Apache to because it is Apache. for the future? 2.0, but will be in 2.2.
get the best performance. JJ: No, not really. First of all, even
If you’re running under Solaris 8 LXF: Didn’t Covalent spearhead though the first selection was really LXF: So a lot more stability, a lot
for example it’s a whole serve the 64-bit Apache? done by Covalent, all the subsequent more scalability…
compiler fight to get the most, if you’re JJ: There is no one really inside the selections will be done within the ASF. JJ: A lot more scability. The feedback
running pre-4versus Worker you have ASF who spearheaded it. For one What we wanted to do more than from external people who are using
to compile those differently as well. thing, even if there was one particular anything else was to ensure the it,really big users of Apache, this is
There are two main ways that Apache person who was the leading force to continued viability of the communities. direct feedback: “This is what we need
can run, in a threaded or non- do something inside the Apache, And people who are going to college to take us to the next level.” To keep
threaded-type environment. So, we inside the ASF, one of the things that’s and learning, taking courses and Apache, even though we are happy
take the time now to really build it crucial to the ASF is the idea that we whatever, they want to be able to do with the market share, and we don’t
right. And then we run it through our are all equal peers, a meritocracy. So that but it’s difficult for them to work design for market share, but it does
QA implementation in a lot of different the idea is that it’s the group itself that on open source when they also need mean we have a responsibility to the
environments that it could be exposed spearhead efforts, not an individual to have a part-time job and pay the people who are using it. So we need
to the best way to make sure that it inside. Even if there was something fees associated with going to school. to ensure that Apache is kept fresh,
runs correctly, it runs reliably and that I had – quote – “spearheaded”, I So we thought it would be a great current, up to date and anticipate what
things like that. wouldn’t feel comfortable saying that, idea if we could make it easier for the needs and
features are going Go to
ON APACHE 2.2: to be in the next
www.linuxformat.
co.uk/mag/jagielski.html
couple of years.
to find out more about
“The biggest change will be in the And make sure
that Apache is
Jim’s work at the ASF,
Covalent, and the
L
inux was born to go to school. implications for schools in poor areas. And even non-tailored Linux support. That is changing. There is now
Everything about it, from its So Linux isn’t just being adopted in systems can be suitable for schools a wide range of teaching software,
open, inclusive philosophy to its institutions in France, Germany and and colleges. Tim Fletcher, the games and network solutions available.
friendly penguin mascot to its the US – it’s also being adopted in learning technologies manager at Many have the backing of mainstream,
low costs, holds appeal for Brazil, China, South Africa... Parrs Wood High School in mature Linux projects – of the
college ICT departments, There are other compelling Manchester, says he uses Fedora Core software we’ll look at in this feature,
primary school heads and education reasons to migrate, one being the there because it’s more user-friendly, for example, Edubuntu was spun off
authorities. Especially the low costs bit. possibility that students learn more as well as being cheaper and more from Ubuntu, Skolelinux is based on
For Dennis Fangmann, the principal of about computing with open source. reliable. “Users don’t see the Debian, and so on.
Grace Lutheran School in Sandy, Utah, Like many, Steve Hardogan believes difference, and admins for the most Buoyed by advocacy groups and
it means he is saving an estimated Windows is not ideal for teaching part find it easier to use,” he says. government endorsement of open
$29,000 a year since converting to computing and programming, because
an open source system. it has a price tag and because the
The Grace Lutheran School system code is hidden, “thereby eliminating “THE ENTHUSIASM FOR
was installed by Steve Hardogan,
whose Californian company has been
some of the most significant aspects
of learning that might take place.” Also,BRINGING LINUX INTO
installing thin-client Linux systems in
schools for the last year. From what
some of the teachers and developers
we spoke to for this feature were
EDUCATION IS IMMENSE.”
he’s seen he believes schools can save proponents of constructivist education
up to 75% of their technology – a kind of learning by doing Hardogan would agree that Linux is source, such software is being used by
expenses by switching. The British philosophy that is well-suited to open, low maintenance. “I’ve installed LTSP more and more students around the
Educational Technology Agency has online study through Linux. [Linux Terminal Server Project] in world – while the emergence of
made a more modest estimate that But it doesn’t have to be anything schools from Hawaii to Indiana, and I commercial support for many of them
schools can save 20%–50% of their more than just an operating system. almost never hear from them,” he says. and specialist services like Hardogan’s
ICT costs by adopting free or open The front-ends and administration “It’s kind of spooky!” hints at a new maturity. So, before we
source software (www.becta.org.uk). panels of the latest educational Linux The enthusiasm for bringing Linux go on to look at some projects in
The potential to save on IT costs projects are specifically written to be into education is immense. But more detail, if anyone can think of a
through Linux, with the option to simple and user-friendly, taking into traditionally, there have been two reason why Linux can’t play a major
recycle old hardware and the lack of account that neither teachers nor IT obstacles – a lack of widely available role in education, raise your hand. >>
software licenses, has exciting staff are necessarily Linux hackers. software, and a lack of commercial Anyone? You at the back?
WHAT NEXT?
To many, open source seems coalition of groups pushing for open meet each other and visit the
instinctively ‘right’ for education. standards and resources in education. exhibitions. We rated it “could do
GCompris is one of the promising
“Sharing knowledge and contributing Schoolforge-UK was set up in May better” in terms of numbers, and it was new apps on this month’s coverdisc.
to the wider community are values 2003, and recently held the FLOSSIE agreed that we will market future
that most teachers believe in,” explains (FLOSS In Education) conference in events much more aggressively,” says schools will be able to benefit from
John Ingleby, the secretary of the Bolton, inspired by a recent Ingleby. It is hoped that with open source software, and given the
group Schoolforge-UK. But just as in government report showing that organisations such as Schoolforge-UK dedication of projects such as KDE
business, Linux still needs advocacy schools and colleges could increase backing the adaptation of open source Edu and Edubuntu, this is likely to
and great support if it is to get the returns on their IT budgets by software inside schools, many more happen sooner rather than later. LXF
widespread acceptance in schools. using open source software as an
Where educational Linux might be alternative to commercial software.
more fortunate than enterprise Linux is There were presentations on
GET INVOLVED
in government backing. We saw that Moodle, Karoshi and assistive
How parents, teachers, students and Linux advocates can help.
the Skolelinux distribution is being technology software, case studies from ■ Persuade people who are new to Linux to try a Live CD distro – or to try out some
part-funded by the Norwegian open source converts, strategies to get of the education apps on the coverdisc.
government, and this is a familiar story. from zero to Linux and a couple of ■ Join an email discussion group or mailing list. In the UK, visit http://groups.google.
In LXF72 alone we reported on two general talks on Linux in education by com/group/sf-uk-discuss. Elsewhere, try www.schoolforge.net/sfdiscuss.php.
large initiatives to get Linux into event sponsor IBM. Developer Ian ■ Encourage purchasing decision makers at your school to consider Linux – perhaps
schools in Indiana, USA, and Auvergne, Lynch described the ‘International show them any government guidelines on adopting open source.
France, and both projects were driven Grades in Office Technology’
■ Teachers can try out an open and collaborative approach to schoolwork – the idea
by local government. Awards and certificates, which can be taken at just
of sharing work and learning together is the key to open source projects.
official endorsement can also help about any age and complement the
individual projects, like those award- national curriculum. They are designed ■ Visit the websites of some of the education projects you’ve read about here, and
see if they need help in development, documentation or translation.
winning KDE apps or Moodle, which is to be independent of proprietary
being evaluated by Becta for use by software, and so they are designed ■: Ask your local LUG to adopt a school and set up a web server for them with some
the Government Department for with OpenOffice.org in mind. student-friendly web-based applications to show them the potential of Linux.
Education and Skills. Expect more to come from groups ■ Donate your computer equipment to schools – try your LUG or seek out individual
Outside official channels, Linux like Schoolforge-UK. “We rated the projects, such as www.tuxlab.org.za/partners/sponsor_join.htm in South Africa.
user groups and communities are FLOSSIE Conference highly successful
■ Help the Moodle team raise the price of a stand at the BETT show in January. Visit
playing an active role; bodies like the in terms of the speakers, the venue,
www.helpusgettobett.com/?page_id=17.
Schoolforge project, an international the debates, and the opportunities to
THE LXF
INTERVIEW
HE SAY 0 involved with... religious issues. was 487K, 2.6.8 was 883K, 2.6.10
S “That model of doi
big releases every two ng the really I always expected it to come to was 1.5MB...
or three years was
just not workable” tears, I always expected the wheels AM: Although they are all incremental,
would fall off the BitKeeper thing. It but yes.
came a little bit more abruptly than I
expected, but we recovered pretty well. LXF: Is that the speed of
We didn’t take a dent, really, and we’re development picking up?
still going. AM: To some extent yes. Also, those
releases were further apart in time –
W
hen you meet discussed the move away from LXF: Did BitKeeper act to show the we’ve been slowing down a bit lately in
the maintainer of BitKeeper, bugfixing and and the need wider kernel development the releases. But no [development] is
the 2.6 Linux to increase the turnaround speed of community how things could be, not slowing down.
kernel, asking Linux kernels. and that’s why you’re now using
him to sit on a Git rather than going back to LXF: I noticed now in your change
large inflatable LXF: The move to BitKeeper emails and patch files? Did logs there’s “signed off by”. What
chair and answer questions probably annoyed a lot of people, BitKeeper bring you so many caused that?
isn’t what most people would do. For particularly the FSF. And then benefits that people realised they AM: Well, it’s sort of f allout from
us, though, Andrew Morton is second [Andrew] Tridgell’s work sort of can’t live without it? some of the SCO silliness. People
only to Linus Torvalds in the Linux food moved off BitMover again and on AM: Oh, yes, we couldn’t live without wanted us to have some way of
chain, and so was able to provide an to Git, which may only be [version control] and we shouldn’t basically being able to demonstrate
invaluable insight into the inner temporary itself. have lived without it before BitKeeper where a piece of code came from.
workings of development. We AM: No, I would imagine Git’s going came along. Everybody downstream This is something we thought >>
accosted him at OSCon 2005, and to stick. very much appreciates it. independently was not a bad thing, so
it’s a push rather than a pull model in hacking away at my stupid patch LXF: Is that almost because some want to carry on being the 2.6
that sense. management script. of the maintainers only do any maintainer, or would you rather
But what’s in the future? actual maintaining out of respect migrate that to someone else who
Filesystem and user space I guess we LXF: Aren’t you spending 12–14 for you? wants to look after it so you can
should get in soon. Some people hours a day hacking the kernel? AM: Well, sometimes you have to push on to 2.8?
would like to see that. Oracle clustered AM: Yes, merging and testing and shame them into it, frankly! Mainly you AM: We’ll cross that bridge when we
filesystem [OCFS] we’ll put into 2.6.14. fixing patches. Reviewing patches. have to have sympathy with them. The come to it. A lot of it will depend on
The whole clustering issue is the big Communicating with other developers great majority of bugs we have are at our reasons for having branched off
one. We’ve had trouble for a number on design issues. And I spend quite a the driver level, and maintainers can’t 2.7; I’m not sure what they would be at
of years with getting clustering lot of time with bugs as well. reproduce the bugs. That’s the whole this time. One reason we might decide
structure into the kernel. problem I have in the kernel. So you to do it is because we’re simply not
There are a whole bunch of LXF: Fixing bugs? need to enter in some long happy with the quality that we’re
clustering projects out there but they AM: It’s more a matter of giving a bug complicated dialogue with the reporter getting in 2.6. But as I say I still think
all seem to have gone off in totally some attention. Often people come up of the bug to attempt to resolve what’s we can make a lot of adjustments to
different direct ions and development with a bug report, and a bug report is happening, and send them patches our 2.6 processes.
teams don’t seem to be able to find a valuable thing but it’ll drop on the and additional de-bug patches and get
any common ground so we just floor, so I feel I need to enter in a them to do x, y and z. Debug by LXF: Can you see
haven’t been moving forward on that. dialogue with the reporter to get some remote control. So they’re all pretty yourself doing this Go to
www.linuxformat.
But OCFS appears to be a complete more information and generally try tough to solve. for a long time?
co.uk/mag/morton.html
solution and looks OK, so I have no and get the person who really owns AM: Probably, I
for Andrew’s ruminations on
problem merging that in the kernel. that code involved in the problem. LXF: Are there other things you’d guess I’ll continue Novell’s hiring practices
I’m not sure that things like Red Hat’s Particularly at this point in the kernel like to be working on, other doing Linux in some and the continuing saga
projects that interest you? capacity for the rest of the 2.7 tree.
ON KERNEL QUALITY:
AM: I get a bit tired of not writing any of my career. LXF
code any more; I guess at some point
“We’re getting quite a few in time, particularly if I start feeling
that I’m not performing as well as
regressions sneaking into the project deserves, I’ll
Everyone loses some data at some point: a picture, your personal files as well as configuration settings, and it’s then
LAST document, address or vital soundfile. It’s a fact of a laborious process to set up your new system to work just as
TIME
computer life that most people have come to accept – the old one did. However, if you go the trouble of putting your
wrongly. Regular backups, for example, are one way of ensuring home directory on a separate partition, all this hassle can be
that any lost data be retrieved without much fuss. But how can avoided. Simply reformat the partition that contains the
Buzzword fever took over, as
we make sure that we don’t lose a file in the first place? operating system, and leave all your files and settings safely
we looked at instant
messaging, Skype, IRC and
Like many things, it comes down to being organised, which intact in your home partition.
Google Talk. If you missed the means designing a file structure that takes into account the The (slightly) bad news is that, if you already have a fully
issue, call 0870 837 4773 or ways in which we use a computer; and – and this is the tricky configured Linux system with /home on the main partition (also
+44 1858 438795 for bit – making sure that we always drop, rip, save and import files known as / or the root partition) then the only really practical
overseas orders. into the correct folders. way to do this is to back everything up and reinstall Linux with
The first thing to consider, and the first part of this tutorial, is a new set of partitions. This could either be a blessing or a
how to partition your drive. Dividing your filesystem into two or curse, depending how much stuff you’ve accumulated in your /
more partitions is one of the best ways of keeping in control of home directory. But either way, don’t worry – this is not as
your data. It’s common practice to reformat the entire hard scary as it sounds. I’ll step you through the process, using
drive when installing a new version of Linux, but this wipes all Mandriva Linux 2006.
Warning: this process will DESTROY all the data on your computer. Make a complete backup of your precious documents, photos and anything else before you
start the installation. LXF can’t take responsibility for lost stuff, and we can’t retrieve documents from formatted disks. Back up now.
1 2
Reboot and find the partition manager Set up your three partitions
Once you’ve backed up, reboot with the Linux installation CD, and go through the Select the disk to be partitioned and hit Auto Allocate. This will create three
bootup sequence until you come to the partition manager. This is where you partitions by default: / (root), /home, and /swap as a sort of overflow. Most
decide if the Linux system will live beside an already installed Windows partition, other distros will create two partitions – / and swap – so you will need to add a
use the current partition setup or create a new scheme. In this screen shot, third using either Ext3 or ReiserFS, accessed as /home. You don’t have to
Mandriva is addressing a small and unused hard disk. To install on to a accept the Auto Allocate partitions just as they are. To adjust them, select one of
completely blank hard drive, select Clear All from the tools along the bottom of the planned partitions with the mouse and use the Resize option that appears in
the screen. WARNING! This will destroy all your data – so back up first. You can the Actions box on the left-hand side of the window. The root partition should be
also select each partition in turn and opt to remove it or edit it. at least 2GB in size, but if you have the space I would recommend 8–10GB. The
swap partition needs to be approximately twice the PC’s
RAM, and the rest can be used for /home.
anywhere within the main window and select Create New > Link So now we have a directory structure which links to a shared
To Location (URL)... to open the symlink dialog. Then use the folder and a private folder to keep all our secret stuff. All that’s
Browse button (with the small file icon on it) to open a file left is to set up sensible folders for what you might call ‘local’
selector and choose the /home/Shared/Dropbox folder. Once content – word-processing files, pictures, downloads and so on.
this is accepted, right-click on the newly arrived icon and select The best way to make sure the system doesn’t become
Properties again, but this time click on the big icon image to cluttered is to go for sensible divisions in the structure of your
open the icon browser where you can select an image home directory (and to always make sure you use the schema
appropriate for each user. you’ve set up). At the very least, you will need folders for
Now when Rita double-clicks on this icon it will open up the Documents, Downloads, Apps, Archive and Junk.
Dropbox folder within /Shared. She can open and save things ■ Documents For work in progress and documents you know
normally in this folder and can also simply drop files in there so you’ll need in the near future.
they are accessible to Sue and Bob. ■ Downloads This will probably end up full of .tar.gz and RPM
Create links to /Shared/Music and /Shared/Photos to files, sounds, desktop wallpaper and other assorted stuff. Take
ensure Rita can also access the other content too. care to clean it out occasionally.
■ Apps Some applications are distributed as static binaries. If
I want some privacy you’re the only user who needs access to them, you can store
By default, Rita’s /home directory will be accessible to the them in here. If you wanted to follow traditional Unix naming
other users on the system, though only she can change or you could call this one bin.
delete the content of any of her folders. Of course, she can ■ Archive When a job or piece of work is finished and
save documents into /Shared if she wants to let Sue and Bob discarded, shove it in here. At the end of the month, turn
read and amend them – but what if she wants to keep some the whole thing into a zip file and burn it to a CD – no more
files to herself? backup hassles.
Once again, permissions can be used to restrict Sue and
Bob from browsing into sensitive areas. In the Rita account,
■ Junk This is a paranoid step, but Junk is the space I use
before Trash – which is a prelude to unrecoverable loss. At NEXT
create a new directory and call it Private (or even PRIVATE) and
give it a nice icon. Right-click on the resulting icon and select
any given time, the /Junk folder will contain three months
of zips from /Archive and other assorted bits of nonsense. MONTH
We’ll look at ways of accessing
Properties. You can set the Permissions tab so that only the When it hits 4GB I burn the directory to a DVD and move
owner can read and write to the directory; other users are the contents to Trash. your files over a local network
forbidden. And that’s it! An organised way of working awaits... LXF (from any machine) and over
the internet.
When talking about Linux file permissions, each file has three
Access state File Folder
possible states: read, write and execute. These states are user-
Read The user can open and view A listing of the folder contents specific, which means that the permissions may change depending
the contents of the file. No can be displayed either upon who is attempting to access a file or folder. In our Rita, Sue,
changes can be made. Many through a file manager or CLI Bob and Shared setup, for example, when Sue is trying to access /
system files you encounter command such as ls. Sue she will have read and write access, but if Bob attempted to
will be configured to allow
access it he would only have the option to view the content.
users read-only access.
Permissions can also be expressed as r (read), w (write), x
Write The user can read and edit Folder contents can be (execute) and - (deny) and these will be displayed as a nine
the contents of a file. The displayed, moved and deleted. character text string in some file managers. It’s easy to break this
owner should have these In a multi-user system it is down into three sets of three to cover owner, group and others as
privileges by default for sensible to deny other users
we did above. In the scheme rwxrw-r--, the owner can read, write
most documents in your write access to your home
and execute; members of the group can read and write; and
home directory. directory.
everyone else can only read.
Execute This permission is used for A folder can be have execute
applications or executable permissions if it needs to be
binaries. accessed by an application or
script.
Some hardened hackers might try to baffle you with numbers, but
Number Read Write Execute
number permissions are really quite easy – especially if you have a
0 handy table stuck to the wall above your computer. Each set of
permissions is given a numerical value.
1 ✔
Our /Shared directory above would have the permissions 777,
2 ✔ because it allows full, unadulterated access to the owner, the
3 ✔ ✔ group – that is, all the other registered users – and everyone else.
Rita’s
4 ✔ /PRIVATE directory (when viewed by Rita herself) would be set to
5 ✔ ✔ 700 or, in terms of a text string, rwx------.
6 ✔ ✔
7 ✔ ✔ ✔
BASIC PROGRAMMING
TIME
month I want to look at all those little tips and tricks
that are very useful but don’t really fit in with anything else. Don’t forget dependencies when
We’ll be building a complete config editor, putting my Gambas reusing modules and classes
Part three in LXF73 was all
about maximum application
secrets into action along the way. If you do reuse code that you’ve already written, don’t forget to
building for minimum effort. add any dependencies that the code may have. If you have
If you missed the issue, call Always have an escape route written a module for database connections you will have to add
0870 8374773 or +44 1858 I’ve said this before and I’ll say it again: before you do anything the gb.db component, and so on.
438795 for overseas orders. else, add a way of exiting your new Gambas-coded form cleanly.
Either add a button or a menu item with the code
ME.Close
■ Two Gambas
projects
containing
demo code
>> not the most useful application in the word, but it does give you
a good idea of how the parameters are handled.
This next example is a little more useful – it expects you to
supply two values (in the right order), and then loads them into
global variables.
PUBLIC TargetUrl AS String
PUBLIC Database AS String
PUBLIC SUB Main()
input_variables_2
message (TargetUrl & “ “ & Database)
END
PRIVATE SUB input_variables_2()
TargetUrl = Application.Args[1]
Database = Application.Args[2]
It’s a graphical language, but Gambas can also be used to
END write command-line programs.
As I said, the variables must be entered in the right order.
But if you use flags the order doesn’t matter, thus:
PUBLIC TargetUrl AS String the INPUT statement:
PUBLIC Database AS String PUBLIC SUB Main()
PUBLIC SUB Main() DIM m AS Float
input_variables_3 m=doMultiply()
message (TargetUrl & “ “ & Database) PRINT m
END END
PRIVATE SUB input_variables_3() PRIVATE FUNCTION doMultiply() AS Float
DIM i AS Integer DIM x AS Float
DIM j AS Integer DIM y AS Float
FOR i = 1 TO Application.Args.Count PRINT “Enter x:”
SELECT CASE Application.Args[i] INPUT x
CASE “-u” PRINT “Enter y:”
TargetUrl=Application.Args[i+1] INPUT y
CASE “-d” RETURN x*y
Database=Application.Args[i+1] END
END SELECT
NEXT Change from a terminal project to a
END graphical one (and vice versa)
This time you could type myapp -u /localhost -d mysql or When Gambas asks if you’d like to create a graphical or a
myapp -d mysql -u /localhost and it wouldn’t matter, you terminal project, you may ask what the difference is between
would get the same result. the two. The answer is a single Gambas component: gb.qt.
Simply, if you enable gb.qt in a terminal project then it
Run Gambas without the GUI becomes a graphical project. And if you disable gb.qt in a
You may have realised something from the previous tip: you graphical project it becomes a terminal project.
don’t have to use Gambas just for GUIs. You can also build Easy as that.
terminal (or command line) applications. In fact, when you
create a new Gambas project you are given the option of Extract information from files
building either a graphical project (which is the default) or a In previous tutorials we’ve looked at how to access databases,
terminal one. but here’s how to access a file. All you have to do is open a file
If you do create a terminal project you will find that there is in one of four ways: read, write, create and append. It’s fairly
no Forms folder – you don’t need one, of course, as there’s no obvious what each method will do, although it’s worth clarifying
GUI. But because there is no visual output device you will need the difference between write and create. Write will empty and
to write to the standard output. Here is the obligatory ‘Hello then write to an existing file. Create will make a new file if it
World’ application: doesn’t exist, or act like write if it does. Here’s a nice example:
PUBLIC SUB Main() DIM lLine AS String
sayHello DIM pFile AS File
END OPEN “/etc/passwd” FOR READ AS #pFile
PRIVATE SUB sayHello() WHILE NOT Eof(pFile)
PRINT “Hello World” LINE INPUT #pFile, lLine
END PRINT lLine
COMPULSORY
The terminal applications can use all of the Gambas WEND
CLICHÉ... components. Apart from the graphical ones, that is. CLOSE #pFile
My apologies for including Here, the /etc/passwd file is read and it’s contents displayed.
this example, but it is part of Try INPUT to send information to a
my contract that I include at terminal application Make the most of Gambas
least one ‘Hello World’ for We’ve already seen how to use command line options with dynamic arrays
every series of articles. It’s
Gambas. These work with graphical and terminal projects. If In fact, Gambas arrays are always dynamic, so that tip title is a
apparently one of the new
you’re using a GUI you’ll obviously also have text boxes to input little misleading. Anyway, let’s spend a little time looking at how
European directives.
data. However, if you’re using only terminal input you can use to use them. Definition is easy:
VECTOR GRAPHICS
Everyone seems to be talking about Inkscape these you can select these objects to transform them or change their
days. Not only has it risen quickly to the position of the properties. In fact, editing vector images requires less black
vector graphics editor for Linux, it is also getting magic than editing bitmaps, because objects remember what
noticed on Windows and Macs too. And why wouldn’t it, being they are and are willing to tell you what you can do to them.
the only completely free vector editor of its level on any The basics of Inkscape are covered in the interactive SVG
platform? The growth of SVG (Inkscape’s native format and a tutorials that come with Inkscape itself (in the Help > Tutorials
W3C standard), in particular its support in the forthcoming menu). I especially recommend the Basic tutorial as the first
Firefox 1.5, is a factor as well. step for newcomers; when done with it, you will know the basic
Inkscape is still quite young and developing very fast. In less terms and will be able to create simple but useful graphics.
than two years of existence, Inkscape has had seven major There were also a number of Inkscape overviews and tutorials in
releases, each one delivering an abundance of new features magazines and on the Web, but most of them only cover the
and usability improvements. The latest release to date, 0.42, is bare essentials of the program.
no exception; in fact, it’s the biggest Inkscape release so far, with This series of Inkscape tutorials will demonstrate some of the
hundreds of major and minor improvements of all kinds. more powerful and less documented features recently
Many novices who start using Inkscape face a double introduced into the software. This tutorial explains one of the
challenge. Not only is the program itself new, but the concept most important new features in 0.42: the Gradient tool.
on which it operates – vector graphics – is also unfamiliar to Gradients are essential. They are the easiest way to jazz up
many people whose graphics experience is limited to bitmap that lifeless flat look that vector objects have by default. Master
graphics (most often in programs such as Gimp or Photoshop). designers can create amazingly photorealistic art using nothing
Luckily, learning to work (and eventually think) in vector but carefully laid-out gradients. We’ll cover the basic techniques
graphics is usually easy and natural. The basic idea is that (just of gradient creation and editing; then on page 88 we’ll look at
like in the real world) everything is composed of objects, and how they can be used to create professional-quality images.
1 2 INSTALLING
INKSCAPE
Most Linux distributions
include Inkscape these days,
but usually it’s not the latest
version. You can get Inkscape
0.42 (the version used in this
tutorial) from the coverdisc,
or download it from
www.inkscape.org.
3 4
>> 5 6
7 8
QUICK TIPS
■ Gradient handles are
editable not only in the
Gradient tool, but also in
the Node tool and in all
shape tools (Rectangle,
Ellipse, Star and Spiral).
■ Watch the status bar: it
always displays useful
information on the
selected gradient handle
and the object(s) it Draw gradient on the stroke Merge and separate handles
belongs to. Apart from the fill (interior) of an object, gradient can also be The handles of any selected objects can be merged together.
■ The Vacuum defs applied to an object’s stroke (outline). Here, the rectangle has Dragging a merged handle will affect several gradients at once.
command in the File menu an elliptical yellow-to-transparent gradient on its fill and a linear For example, you can merge the centres of two objects’ elliptical
removes any leftover black-to-transparent gradient on its stroke. Both gradients’s gradients (A), merge an elliptical handle with another object’s
gradient definitions that handles are displayed simultaneously; a visible difference linear handle (B), or merge the fill and stroke handles of the
may be lingering in your between them is that the stroke gradients use greenish same object (D). When you drag to create a new gradient with
document. It’s a good way connecting lines between the handles, while fill gradients use several objects selected, you get what looks and acts like a
to tidy things up and
blue lines. single gradient applied to multiple objects, but is in fact many
reduce the document size
gradients, with the handles of all gradients merged together (as
a bit.
in C in this illustration).
9 10 PROFILING A
GRADIENT
One gradient feature lacking
in Inkscape is gradient
profiles; that is, a way to
make the transition between
colours accelerating or
decelerating (shifted towards
one end of the gradient)
instead of monotonic. But it’s
not really fair to blame the
Inkscape team for this: this
feature is missing from the
SVG 1.1 that Inkscape
implements. You can,
however, emulate a gradient
profile by adding several
middle stops into a gradient
and shifting them slightly
from their default positions
(without changing the colours
in the gradient).
11 12
NEXT
MONTH
We’ll look at one
Shading by ellipses Glass half-full!
Sometimes you don’t even need to edit gradients to get the For a final example, consider how this intricate semi-transparent
of the most powerful result you need. Here, to get from A to C, the Gradient tool was glass was done (it’s a public domain image from
Inkscape features:
only used twice: to create opaque-to-transparent elliptical www.openclipart.org, a highly recommended resource for
clones.
gradients on two ellipses, one white and one black (B). Then, a designers). It consists of 12 objects with various linear and radial
total of 29 clones (linked copies) of these shader ellipses, gradients. Note that some handles are merged, the bottom
variously scaled and rotated, were used to add depth and shadow objects use eccentric foci (A), and the rim of the glass
expressiveness to the cartoon face. is made with a gradient on stroke (B). LXF
Did I ever mention that Emacs is extensible? To clear provided. You will also need W3 installed on your system (ftp://
any doubt, I’ll say it here: Emacs is extensible. And ftp.xemacs.org/pub/xemacs/emacs-w3).
just to be sure that you got the point, let me repeat it:
Emacs is extensible. Dict-web.el
Yes, just as it’s possible to run a global crime ring while WEB: http://purl.org/net/emarsden/home/downloads
never leaving your underground cave lair, it’s quite possible to CATEGORY: Utilities
browse the web, play games and listen to La Traviata without Are you ever unsure of the meaning of an obscure word? This
leaving your favourite text editor. To put this to the test, in this will happen to you more often than it should if, like me, you are
instalment we will take a look at the top ten Emacs extensions not a native English speaker and have to deal with the
not distributed with the editor (the selection is entirely comments of a magazine’s production editor every month. The
subjective), leaving in our wake the widespread belief that solution? This very nice Emacs extension. Select a word in the
Emacs is just a text editor. The Loading Simple Extensions box, buffer, then type
right, gives brief instructions on how to make them work (more M-x dict
details will follow in the next instalment). Most are Elisp files You will be prompted for a word to enter; the one you selected
(.el), the language in which most of Emacs is coded. will be the default. Press Enter and an explanation of the word
So what are we waiting for? Let the fun begin! will pop up. Since this extension uses www.dict.org, you will
need to be connected to the internet, and more than that, the
Calculator.el Emacs web browser W3 (ftp://ftp.xemacs.org/pub/xemacs/
WEB: www.barzilay.org/misc/calculator.el emacs-w3) needs to be installed.
CATEGORY: Utilities
One of my favourite Unix tools is the simple but powerful Emacs-wget
command line-based calculator Bc. Still, until I discovered this WEB: http://pop-club.hp.infoseek.co.jp/emacs/emacs-
extension, I had to leave Emacs and switch to an Xterm wget
whenever I needed to use it. Now I can have the numbers CATEGORY: Internet
displayed right in my editor. Wget is a favourite old command-line tool for retrieving
To call the calculator function, it is just matter of executing websites. Hang on a minute, did I say command line? Sorry, I
M-x calculator <RETURN> meant Emacs. If you don’t believe me, try this extension. Once
Then, you can start to add, subtract, multiply it is correctly set up, execute
and so on. The results will be displayed in a M-x wget
dedicated buffer. and enter the URL to retrieve. Not only does wget correctly
work from within Emacs, but the output displayed in the
Coffee.el minibuffer is also identical to that of the shell.
WEB: http://purl.org/net/emarsden/home/
downloads Erc.el
CATEGORY: Amusements WEB: http://sourceforge.net/projects/erc
Of course Emacs can brew coffee! Sceptical? CATEGORY: Internet
Then load this extension and run Emacs as an IRC client? Why not? Install this extension, then
M-x coffee add to your .emacs file the lines
Answer the questions (using Tab will display (require ‘erc-auto)
the available options), go to the coffee (autoload ‘erc “erc”)
machine and collect your deserved hourly and execute
dose of caffeine. Warning: the required M-x erc-server-select
What other editor enables you to play RFC2324-compliant coffee machine (see The data that needs to be inserted should be familiar if you’re a
games between coding sessions? ftp://ftp.isi.edu/in-notes/rfc2324.txt) is not habitual user of this network.
SCRIPT PROGRAMMING
Ostagazuzulum! No, that’s not me mashing my leaves Google. So friends, in this tutorial we will use PHP and
LAST keyboard randomly or indeed me sneezing into Web Services to send queries to Google and use the results in
string(56) “string doSpellingSuggestion(string $key, string here because the descriptive names (eg $output_encoding)
$phrase)” makes it clear how the function works. The return value from FOUR COOL
[2]=> doGoogleSearch() is a class that contains a variety of WEB SERVICES
string(178) “GoogleSearchResult doGoogleSearch(string information, so what that script does is just print it out so you TO TRY…
$key, string $q, int $start, int $maxResults, boolean $filter, get an idea what Google lets us play with.
■ Amazon
string $restrict, boolean $safeSearch, string $lr, string $ie, Here’s part of the output: If book sales floats your boat,
string $oe)” stdClass Object go to www.amazon.com/gp/
} ( aws/landing.html and check
That reads just like PHP function prototypes. For example, [estimatedTotalResultsCount] => 2290 out Amazon.com’s
the second function is called doSpellingSuggestion, it takes [resultElements] => Array e-commerce service.
two parameters ($key and $phrase, both strings), and returns ( ■ eBay
a string. We’re interested in the third function, [0] => stdClass Object Link in to the world’s most
doGoogleSearch(). As you can see, it takes quite a few ( popular auction marketplace
parameters, several of which are named rather obscurely. Here’s [URL] => http://www.hudzilla.org/php/index.php using SOAP and WSDL:
what they all mean: [snippet] => <b>Hudzilla</b>.org - the homepage of http://developer.ebay.com
■ $key This is the unique developer key Google assigned to Paul Hudson ■ Flickr
you for your personal use. You shouldn’t share this with others, [title] => Practical PHP Programming Want to learn how to query
as this key has only 1,000 searches a day. [cachedSize] => 68k your online photo blog?
Check out the instructions at
■ $q This is the query you want to send to Google. )
www.flickr.com/services/api
■ $start The point at which you want the results to start. For You’ll get a lot more data back from your query, but in print
example, setting this to 1,000 would skip the first 1,000 results. every second counts so we’ve printed only the first 12 lines. We ■ Yahoo
Go shopping, check air fares,
■ $maxResults The maximum number of results you want get estimatedTotalResultsCount, then a resultElements
and draw on Yahoo! maps all
returned. Note that Google limits this to ten, which means you array containing each of the results. Our query asked for only
from one developer network:
need to use the $start parameter and multiple calls to get five results (see the $max_results variable), which means we’ll
http://developer.yahoo.net
more than ten results to your query. get no more than five results in the resultElements array.
■ $filter Should Google ignore multiple hits from the same These are ordered numerically, so the first hit is at index 0, the
site, or multiple similar hits from different sites? second hit will be at index 1, and so on. For each result we have
■ $restrict Should Google restrict your search to a certain a URL, a title (the HTML <title> tag for the page), a snippet (the
category or country? first few words from the page’s body text) and the size of the
■ $safeSearch Do you want to return adult content? page in Google’s cache. With a bit of brainpower, we can loop
■ $lr Allows you to set a language restriction. our way through the returned array, and output the results in a
■ $ie Used to set the input encoding. This is ignored now, so neatly formatted way:
set it to be blank. print “Search for $query complete - {$result->estimatedTo
■ $oe Used to set the output encoding. This is also ignored talResultsCount} estimated results.\n”;
now, so set it to be blank. foreach($result->resultElements as $search_result) {
Yes, it requires quite a few parameters to be able to call print “ {$search_result->title}\n”;
such a simple function, but it’s great to have all that flexibility print “ {$search_result->URL}\n”;
available to you. Now, let’s try using it… print “ “ . strip_tags(htmlspecialchars_decode($search_
result->snippet)) . “\n\n”;
Hudzilla out of the hat }
With the all-powerful doGoogleSearch() at our fingertips, Most of that’s quite
here’s some new code to try out: obvious, with the exception
<?php being the last line that gets
$soap = new SoapClient(‘GoogleSearch.wsdl’); printed. Google returns its
$key = “YourSpecialGoogleKeyHere”; data ready to be printed into
$query = “Hudzilla”; a web browser, which means, for
$start = 0; example, that it highlights search terms
$max_results = 5; in bold. Some websites also use
$filter = false; characters like >, so we change
$restrict = “”; them to their non-HTML equivalent
$safe_search = false; (>, in this case), then strip out any
$language_restrict = “”; HTML tags so it’s suitable for printing on
$input_encoding = “”; the command line.
$output_encoding = “”; Go ahead and run the script now, shout “Ostagazuzulum!”
$result = $soap->doGoogleSearch($key, $query, $start, to the mystery of those in the cubicles around you, and
$max_results, $filter, $restrict, $safe_search, $language_
restrict, $input_encoding, $output_encoding);
you’ll see output like this:
Search for Hudzilla complete - 2340 estimated results. NEXT
if (is_soap_fault($result)) {
print “Your query failed: {$result->faultstring}\n”;
Practical PHP Programming
http://www.hudzilla.org/php/index.php MONTH
Next month we’re going to
} else { Hudzilla.org - the homepage of Paul Hudson
expand our linguistic horizons
print_r( $result ); I think you’ll agree that was remarkably easy. The
and discover the mystery of
} power of WSDL means you don’t need to know what
multi-byte strings.
?> functionality Google offers you; the power of SOAP
This time I’ve used variables to store all the parts of the means you don’t need to care how data is sent or
SOAP call. Obviously this isn’t needed: in your own scripts, you received, and the power of PHP means we can do it all
can just place the values directly into the call. I’ve used variables in just a few lines. That’s magic! LXF
Answers
If you really are stuck and the HOWTOs yield no good result, why not write in?
Our resident experts will answer even your most complicated problems.
Q
I tried to review
Whatever your question, we can /var/log/messages and
answer it. From installation and found the file to be
modem woes to network admin, empty. Listing the
we will get the answer for you –
contents of /var/log I found
just fire off a letter or email and it'll
all be taken care of. /var/log/messages to be dated two
days ago while /var/log/messages.1
was dated today. I created a few
Having run a small entries using logger and saw that
ISP and produced
my messages were in fact being
coverdiscs for
Linux Format, written to /var/log/messages.1.
Neil Bothwick I rebooted the system and from
describes himself then on new entries were being
as a Linux jack-of-all-trades. written to /var/log/messages. I have
checked the Syslog configuration at
Hans Huberland /etc/syslog.conf and confirmed that
is Rackspace messages were meant to be written /etc/cron.daily/logrotate, while Use Synaptic to install any software
Managed Hosting’s to /var/log/messages. Am I /etc/logrotate.conf and the included you want, including missing
Linux expert and a overlooking something? I run Red /etc/logrotate.d/* files dictate which libraries for SuperTux (below).
real-life system
Hat Enterprise Linux 4. logs are to be rotated and how often.
administrator on
call for your questions. Dave E Inspecting the logrotate
On Unix filesystems, ‘inodes’ configuration file illustrates how, after
Send your questions for our experts to:
Linux Format, Future Publishing,
30 Monmouth Street, Bath BA1 2BW
or email: lxf.answers@futurenet.co.uk.
Got a sysadmin query? Send it to Hans
at sysadminqa@rackspace.co.uk.
A describe the type,
permissions, ownership,
timestamps and the data
that make up a file. In fact, the
filename is just a link in a directory
log files are renamed, new log files
are to be recreated. Also, /etc/
logrotate.d/syslog dictates that
Syslogd is to be restarted to reload
the configuration while closing and
to the inode as identified by its reopening all log files for append.
inode number. This last step must have failed, and
Submission advice The Syslog daemon, Syslogd, is Syslogd kept on appending to the
● Please be sure to include any relevant
responsible for the entries written to inode linked by /var/log/messages Obviously I am missing
details of your system. “I can't get X to
work” doesn't really mean anything to us if /var/log/messages. Using lsof, it is the last time Syslogd had been something. But what?
we don’t know things like what version of possible to determine the inode that properly restarted. Rebooting restarts Bruno Van Bogaert
X you are trying to run or what hardware corresponded to /var/log/messages Syslog, which is why the issue was, on You are missing the SDL_
you are running on.
Q
messages I have just installed Essentials directory of the DVD,
something not work? What were you
expecting to happen? What does the error
Calling ls with -lai includes the Debian 3.1 and although not as a Debian package.
message actually say? inode number in the listing, giving everything seems OK. The easiest way to install this (or
7898395 -rw------- 1 root root But then I tried to install almost any other package) is to run
● Please remember that the people who
write this magazine are NOT the authors 933307 Sep 14 20:13 /var/log/ the game SuperTux that came with Synaptic by selecting System >
or developers of Linux, any particular messages your LXF71 DVD using the Package Manager (Synaptic Package
package or distro. Sometimes the people It follows that Syslogd will keep on Autopackage installation. Manager) from the K menu, click on
responsible for software have more writing to the same inode regardless Everything seemed to work, but Search and type sdl-image. Tick the
information available on websites etc. Try
reading the documentation!
of any link name change, be it a now when I try to start it up I get box by the package and click Apply to
rename or a deletion. the following message: install it. SuperTux should now run.
We will try to answer all questions. If we don't
The link /var/log/messages should bruno@tux:~$ supertux If you ever have another program
answer yours specifically, you'll probably find
we've answered one just like it. We can't
have been rotated to /var/log/ supertux: error while loading shared complain about a missing file, go to
really reply to all your questions. messages.1 by Logrotate. Under Red libraries: libSDL_image-1.2.so.0: http://packages.debian.org and
Hat ES 4, logrotate is run daily as cannot open shared object file: No follow the link to Search The Contents
specified by the crontab entry such file or directory Of Packages. This page is so useful it
Q
I’m running a box with run once for all files matching the
SUSE 8.2 (yes, I know – pattern, instead of once for each file.
it’s very old) and Xampp The postrotate section specifies the
[the Apache distro]. How action to be taken after rotation. In
I can get Xampp’s log files into the this case, it reloads Apache’s
log rotation possibilities of SUSE? configuration, which causes Apache to
They are growing and growing. release its locks on the old files and
From the forums start logging to new files. When it comes to managed hosting the outset and will remain on your
Rackspace is unique. We are the only account. All Rackspace employees are
I take it from your question You may need to change the path
A
hosting company to guarantee 100% committed to ensuring customer
that you already have to the log files, and you might also
network uptime and we will even satisfaction, and they will not rest until
Logrotate running and have to replace /etc/init.d/apache2 pledge to replace faulty hardware (let’s a client problem is resolved.
successfully rotating other reload with apache2ctl restart or face it, it does happen) within an hour. Since Rackspace was established in
log files, which are normally apachectl restart. You can also add As you would expect from Red Hat’s 1998, it has specialised in managed
configured in /etc/logrotate.d. You options to this file to set how often the only Advanced Hosting partner you will hosting – nothing else. We’re not an ISP,
need to add a file to this directory for logs are rotated and how many receive Fanatical SupportTM and instant we don’t sell domain names, and we
each set of log files you want to rotate. rotations are given. emergency response from fully- won’t offer website design – all we do
Yes, SUSE 8.2 is rather old; and you Otherwise the defaults will be used qualified level three technicians, is managed hosting. As a result, we do it
do not say which version of Xampp (four rotations given once a week). For available 24 hours a day, 365 days a very well and 97% of our customers
year. No answering machines, no would happily recommend us.
you are using, but this configuration example, the lines
diversions, no silly on-hold messages. For information on how we can
file will rotate the logs for Apache 2 if daily
All our customer platforms are improve your web hosting, please
they are stored in /var/log/apache2: rotate 7 housed in state-of-the-art, secure data contact us at www.rackspace.co.uk
/var/log/apache2/*log { will rotate the logs daily and keep the centres and can be fully customised to and ask any questions you have about
missingok last seven logs. NB meet any requirement. A dedicated the ultimate managed hosting service.
notifempty account manager is allocated to you at See page 98 for Rackspace’s star letter.
sharedscripts Transfer corruption
Q
postrotate We are getting very
/etc/init.d/apache2 reload > /dev/null strange corruptions does not match that of the source. IDE disk and associated cables have
2>&1 || true whenever we download My colleagues argue that this is a been replaced and the operating
endscript files bigger than 100MB hardware failure, but the vendor system re-installed without any
Save this as /etc/logrotate.d/ on to a new server running Red Hat insists that this is not the case. We errors. However, on downloading
apache2, and the logs should be Enterprise Linux ES 3. The files have looked through /var/log/ massive attachments we started
rotated the next time your machine download to the server without messages and dmesg for signs of experiencing the same errors. We
runs Logrotate (usually on a daily Cron reporting any errors, but the MD5 errors but could not find any. are very confused.
job). The options are documented fully checksum of the downloaded file As an act of goodwill, the single Raphael
I have come across a very
>> motherboard was swapped the running distro A? If so, would there
problem went away. be any issues such as latency and
The Kernel-utils package on ES 3 responsiveness?
provides the Smart Monitoring Fred Quintana
Daemon, which can monitor the ‘Self- There are several options for
Monitoring, Analysis and Reporting
Technology’ system built into most
modern-day ATA drives. Using Smart
it may be possible to single out a
failing disk before it actually commits
A this, most of which involve
some sort of emulation.
Which one you choose
depends on how much effort you want
to put into it, and whether you want to
suicide. You could also try disabling spend any money!
DMA and repeating the process: The easiest, and most expensive,
# /sbin/hdparm -d0 /dev/hda solution is the commercial VMware
HH Workstation 5, which received a
favourable review in LXF68. Although
Distro in a distro often perceived as a means of
Q
I would like to find a way running Windows on Linux, or vice
to use two distros at the versa, it is very good for Linux on
same time without Linux and is how I test software on
rebooting. Is there a various distros. The VMware website is
Installing Fedora Core into Qemu (which is running on Gentoo) gives you
program that allows a user to boot at www.vmware.com. This is a two distros without dual booting.
up another distro when already in virtual machine that does not try to
another? For example, if I had a emulate a processor, so it achieves available now, which turns it into a ideal for your needs. Qemu is available
dual boot PC running distro A with near native speeds. VMware-like virtual machine when from http://fabrice.bellard.free.fr/
distro B installed on a separate The next alternative is Qemu. This emulating a PC on a PC. It’s slower qemu. Qemu is open source, but the
partition, would there be a way to
boot up a distro B session while
started life as a processor emulator,
but there is an accelerator module
than VMware, even with the
accelerator, but it is free, and could be
accelerator module is only free as in
beer (it’s proprietary).
>>
Q
I’ve been trying to is for online updates. NB number of
install Mandriva from packages. The
the LXF Mandriva Partitions squeeze bottom of the
Q
Special. It loaded and it I’m running Mandrake package selection
runs but I cannot add the updates 10.1 on one of the window shows
disc. I’ve followed the instructions partitions of my PC. I how much space
in the magazine, attempting to bought the LXF your selected
load it in via the Mandriva Control Mandriva Special with the Mandriva packages will
Center and RPM. When it scans the discs and started installation. At occupy. Make
disc it reports errors and gives the the third disc a dialogue box sure that this is
following message: ‘Unable to add appeared stating that there is less than the size
medium, errors reported: insufficient room to complete the of your root
...copying failed’. installation. I am totally stuck, as I partition – keep
From the LXF forums can’t get back to Mandrake – it’s well under to be
What’s happening is that just a black screen. on the safe side.
A
You have not given us a
great deal of information
to go on, but there are a
few possible causes for
Once Mandriva
is running you
can easily
install any
extra packages you need
genuine. The error occurs because the symptoms you describe. Are from the Mandriva Control Center. console to install. Am I doing
the file containing the key is not you trying to perform an update or An alternative is to use the something wrong? I keep getting
where the Mandriva Software a new installation? If it’s an update, custom partitioning option during error messages when I try to
Manager expects it to be. Despite the the installer should just replace installation, and resize your other install, like Libstdc++.so.5 issues. I
message, the updates CD has been your existing software with newer partitions to leave more room for have been told that the problem
added. If you go into the Mandriva versions, so the space Mandriva. NB has to do with dependencies but I
Software Installer (click on the box requirements would be about the really don’t get it.
icon with the green plus symbol) and same. If it’s a new installation, the Install for all Neil Dexter
Q
select All Packages, By Update installer should reformat your I successfully installed The basic RPM system is
Availability. You will see that the
updates are indeed available for
installation. However, when you try to
install any of them, you’ll get a
warning that their signatures cannot
partition (assuming you told it to
install on the same partition that
contained Mandrake 10.1) before
starting to install the software.
I suspect that this partition is
Mandriva Linux from
your LXF Mandriva
Special alongside
Windows. As you said in the
magazine, I have found myself
A quite… well, basic. It will
identify dependencies, but
not actually do anything
about them (a dependency is where
one piece of software requires
be verified, because of the missing fairly small – probably only just getting frustrated with all the new another in order to run). The software
GPG key. Just this once, it is safe to large enough to hold your previous things to learn. But I am sticking you are installing needs version 5 of
install them: the packages on the CD system – and Mandriva is trying to with it! the Libstdc++ (standard C++) library.
are indeed the official ones. install more or larger packages. The one thing I am really You could go searching for an RPM
The GPG key is on the updates Your first priority is to get your struggling with is installing of this, install that and then chase
CD, so to do to get rid of this error system working again. I suggest software. I can’t get to grips with the next dependency, but Mandriva’s
you can mount the updates CD, you run the installer and select RPMs/binary packages or using the installer will take care of all of this for
open a terminal and type you. If the package you are installing
su <root password> is on the Mandriva discs, you’re better
rpm --import /mnt/cdrom/main_ off using the Mandriva Control Center
updates/media_info/pubkey to install it from there. This will install
You should be returned to a the RPM package you want plus any
command prompt after typing the dependencies.
rpm command. If you get an error Even if you have downloaded a
message, it will probably be because separate RPM from somewhere else,
the updates CD is not mounted on you can still use Mandriva’s
/mnt/cdrom. Make sure you can dependency handling by using its
view the contents of the CD before urpmi command instead of the basic
running this command. RPM. For example:
Once the update CD and sh armyops230-linux.run
signature are set up, you can install The sh is needed because these
the updates themselves from the installers are in fact shell scripts.
Software Installer, as described above. Because Linux does not allow you to
You need the section marked Look arbitrarily execute files, you can’t just
At Installable Software... to get the run it by typing its name as you
updates from the CD – the section To get the Updates CD working fully, add the Mandriva GPG key. would with a Windows .exe file. NB
Q
I recently converted my download the correct RPM to although the version number may ./configure prefix=/usr
small graphic art studio replace my existing back-ends, but have increased by the time you read make
to a GNU/Linux-only no matter what I do, I can’t get it this. However, this requires a later make install
environment and wiped installed or my scanner working. version of Glibc, also available from the The rpm commands remove the
my main system clean of Windows, Joshua development repository, which may existing Sane files, but also send a
replacing it with Fedora Core 4. I You don’t say exactly what break other software. Using a message to the RPM database to
have an abundance of open source
graphic software tools – Blender,
Gimp, Sodipodi, Inkscape, KIconEdit,
Qcad and more – which have served
me well and should continue to do
A your problem is – whether
it is with installation or
configuring the scanner. The
version of Sane that supports this
scanner is quite new, and hasn’t yet
development version of such a critical
library on a production system is not a
good idea, so you need to install the
latest Sane from source, replacing the
RPM version. Do this as root.
make it think that the files are still
there. Without this step, an update
may try to install the ‘missing’ files,
replacing your new Sane with an older
version. Doing it this way means that
so. However, I have an HP Scanjet made it into the main Fedora Core 4 rpm --erase --nodeps sane- when the newer version is released as
2300c (USB), which until recently package list. There is a package in backends an RPM, your system will be updated
was unsupported by stable Sane their development repository, at rpm --install --justdb /media/cdrom/ as normal. NB
back-ends. A few days ago, updated http://download.fedora.redhat. Fedora/RPMS/sane-backends-1.0.15-
versions of those back-ends com/pub/fedora/linux/core/ 9.i386.rpm
WIN!
Every month, the best question NeuroCast automatically scans the
related to systems administration FM radio dial for an available
that a LXF reader sends in wins a frequency and broadcasts using all-
prize. This month you have the digital stereo encoding, just like
chance to win the life-enhancing broadcast towers used by
Neuros MP3 digital audio computer. professional radio stations.
With a Neuros, you can manage The Neuros has many recording
all the music stored on your PC. capabilities that make it a robust tool
Create play lists. Delete songs. Get for the recording hobbyist. The
new files, thanks to the Neuros device includes an on-board you can play your favourite
Synchronisation Manager. No more microphone, perfect for the quick stations with one click,
getting stuck in front of the PC to memo or recorded lecture. It has just like on your
make changes – do it all on the line-in recording capabilities and you car stereo.
Neuros, and get on with it. can record to MP3 or WAV, with a Tempting, isn’t it?
Then use its NeuroCast feature to choice of seven recording qualities. You know what to do:
broadcast the music on your Neuros Neuros also features a built-in email sysadminqa@
device through any FM radio. FM radio with five preset buttons so rackspace.co.uk.
FTP or SSH? Our primary concern is security: be tied down to their home directory the users:
Q
As a design agency we don’t want to give our clients and no other. To enable FTP # useradd -s /bin/false -m -k /dev/
receiving artwork and access to other clients’ uploads. chrooting, uncomment the following null someuser
other raw material by However, the sysadmin who two lines from /etc/vsftpd/vsftpd. If you’re adamant about using
email and through the originally provisioned the server conf: SSH rather than FTP, you can install
post on CD and DVD, we were advised us to upload our website chroot_list_enable=YES scponly to enable users to scp or sftp
considering teaching our clients to over SSH rather than FTP, claiming chroot_list_file=/etc/vsftpd.chroot_ into the server without having the
upload material to us on to a that SSH is much more secure. list right to interactively ssh into the
co-located server running Fedora What is your opinion? The list of FTP chrooted files server. The scponly project lives at
Core 4. C Mantle should be in the file /etc/vsftpd. www.sublimation.org/scponly.
At first we were considering Fedora Core 4 ships with chroot_list. Installation is well documented in the
implementing a web-based
application. However, after much
deliberation we saw the light and
are now considering using FTP.
A Vsftpd, which is a robust
FTP server that makes
chrooting users a breeze.
Chrooting means that the user will
Also, as you would not want to
give FTP users shell access to your
server, /bin/false should be
specified as the shell when creating
Install file included in the tarball.
Scponly users can also be chrooted,
making the installation marginally
more complex. HH
Q Q
I have set up the firewall Which ‘notebooks’ (the
in the Mandriva Control things that used to be
Center by unchecking all called laptops) are best
boxes, which should stop suited for running Linux?
anything getting through. I’m looking to buy a machine and
I then went to Steve Gibson’s will only be able to afford a one-off,
Shields Up! site (https://grc.com/x/ so it will have to be a little forward-
ne.dll?bh0bkyd2) and ran the looking in terms of hardware, even
Common Ports test. Everything was if the software has some catching
then ‘stealthed’ apart from port 113 up to do. I know that I want a
(IDENT). This was using my Alcatel 64-bit processor and systems, but I
SpeedTouch USB modem. also know that I must be able to
However, if I connect using my afford it! I also need to know if
Netgear combined router/firewall, there are any worthwhile speech
everything is stealthed, including recognition programs in Linux – I
port 113. So how do I configure had a stroke recently and am
Shorewall to stealth port 113 when A quick tweak of the Shorewall configuration files is all it takes for getting tired of one-finger typing!
Mandriva’s firewall to make your computer invisible to the internet.
using the SpeedTouch? A Whitaker
I know there are arguments that Until you mentioned 64-bit,
port 113 shouldn’t drop network
packets as this can cause problems,
but I use the router for hours on
end and never experience any
connection slowdowns, even
What hardware?
Q
We’ve rented a number
of dedicated Linux
servers from a hosting
company. I’ve confirmed
modules, there’s usually a wealth of
information output to the console. You
can retrieve this information by
dumping the kernel’s ring buffer using
dmesg.
A I was going to recommend
an IBM ThinkPad. IBM
notebooks are built to last
and have good Linux compatibility.
However, they all currently use the
though it does stealth this port. that the disk and memory allocated The kernel can be further queried Intel Mobile Celeron processor range.
And of course, if you reject are as requested, but have been by manually inspecting /proc, the The difficulty with recommending a
packets, crackers know that your denied physical access to the data interface to kernel data structures. Of specific computer is that it is the
computer exists… centre. How can we verify what particular interest are: individual components that are the
From the LXF forums make and model of components ■ /proc/cpuinfo CPU information. source of compatibility frustrations. I
You have discovered the have been used within our servers? ■ /proc/ide/ IDE bus and disc could tell you to buy a Milliard