27.02.2013 Views

LINUX MAGAZINE DVD

LINUX MAGAZINE DVD

LINUX MAGAZINE DVD

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SERVICE<br />

As a special bonus for our readers,<br />

we are including on this<br />

month’s <strong>DVD</strong> a full year of<br />

Linux Magazine in a convenient, searchable<br />

archive. Look for that article you<br />

missed, and relive the best moments of<br />

the year in Linux. All articles are reproduced<br />

in high-resolution PDF format.<br />

Cover Stories<br />

Each issue features three or more related<br />

articles on a special theme. We covered a<br />

wide range of topics in 2004. Cover story<br />

topics on this month’s <strong>DVD</strong> include:<br />

•<strong>DVD</strong> Burning: You’ll learn about the<br />

<strong>DVD</strong> burning process. We’ll show you<br />

some GUI applications for writing<br />

<strong>DVD</strong>s, and we’ll review six <strong>DVD</strong> writers.<br />

•Distro Tests: We compare and contrast<br />

the most popular Linux distributions,<br />

including Mandrakelinux, Suse Linux,<br />

Debian, Xandros, and Fedora Core.<br />

•Linux Security: We look at Adamantix,<br />

a hardened Debian derivative, and we<br />

examine the PaX memory protection<br />

kernel patch. We also compare Linux<br />

firewalls.<br />

•New Desktops: You’ll learn about configuring<br />

Gnome and migrating personal<br />

data to Evolution, Galeon, and<br />

Mozilla. We also look at KDE 3.2, KOffice,<br />

and Gnome Office.<br />

•Networking: You’ll study tools for the<br />

network, including CUPS, DHCP<br />

18<br />

Linux Magazine <strong>DVD</strong><br />

<strong>LINUX</strong> <strong>MAGAZINE</strong> <strong>DVD</strong><br />

server, and Suse’s System<br />

Configuration Profile Management<br />

(SPCM).<br />

• Hardware Tips: How<br />

to buy a printer, how to<br />

configure Linux for a<br />

digital camera, and how<br />

to create an ultra-quient<br />

PC.<br />

• Software Setup: We examine<br />

Linux software setup tools, such as<br />

Suse’s YaST and Debian’s Aptitude.<br />

You’ll also learn some new techniques<br />

for using configure and make.<br />

•Internet Phones: Topics include Softphones,<br />

Voice over IP Basics, and the<br />

Asterisk software phone system.<br />

• Spam: Techniques for managing spam<br />

on Linux systems.<br />

•Network Options: Network tools and<br />

techniques, including NdisWrapper,<br />

HostAP, the Postfix mail server, and<br />

Samba migration.<br />

• Printing: A deep look at printing in<br />

Linux, including in-depth articles on<br />

CUPS and the Ghostscript printing system.<br />

You’ll also learn how to create a<br />

pseudo-fax printer, and we’ll show<br />

you how to use muttprint to format<br />

text-based email.<br />

• Scripting Secrets: Advanced Bash techniques<br />

and a tutorial on searching text<br />

tables with AWK. We also look at<br />

what’s coming in Perl 6.<br />

Our cover stories will help you build a<br />

Figure 1: Nostalgia buffs will love our December<br />

story on emulating old computer systems<br />

like the Commodore and the Sinclair<br />

Spectrum.<br />

18 ISSUE 52 MARCH 2005 WWW.<strong>LINUX</strong>- <strong>MAGAZINE</strong>.COM<br />

deeper understanding of Linux.<br />

Advanced Techniques<br />

Our advanced technical articles teach<br />

you new technologies and show you<br />

new tools for age-old problems. You’ll<br />

find articles on BitTorrent, PHP Nuke,<br />

VPN security, and filesystem tuning.<br />

You’ll learn about the network time protocol,<br />

and you’ll discover how to rescue<br />

data you thought you’d lost. Other<br />

higlights include:<br />

•Blogging tools<br />

•Apache performance tuning<br />

•Mozilla XUL<br />

•Clustering filesystems<br />

•Powerline and cable modems<br />

• NTFS from Linux<br />

•Palmtop synchronization<br />

You’ll also explore technologies such as<br />

the APM and ACPI power management<br />

standards, and you’ll learn advanced<br />

techniques for tools such as<br />

GnomeMeeting and YUM package<br />

manger.<br />

Reviews<br />

Browse for reviews of the latest books<br />

and tools. You’ll find reviews of several<br />

applications and distributions, including<br />

OpenExchange, VMWare, Suse 9.1, and<br />

Sun Java Desktop, as well as more specialized<br />

tools like the Plan Maker spreadsheet<br />

and Mount Everything, an application<br />

for mounting Windows file systems<br />

in Linux.<br />

Administration Tips<br />

Marc André Selig’s monthly Admin<br />

Workshop column is a tutorial on the<br />

tools admins use every day. Also<br />

included are tips and insights from<br />

columnist Charly Kühnast and special<br />

feature articles for working admins. Topics<br />

include Big Sister, Mobile IP, Reiser 4,<br />

and the smartmontools – an early warning<br />

system for failing hard drives.<br />

Scripting<br />

Mike Schilli’s Perl Snapshot column<br />

brings advanced Perl programming techniques<br />

to the everyday. You’ll enjoy his<br />

KNOW HOW<br />

W<br />

<strong>LINUX</strong> U<br />

Gw<br />

Moi<br />

Crea<br />

Building wikis w<br />

The members of a pr<br />

profit from collectin<br />

any loose ends, in a<br />

Wikis are tailor-ma<br />

BY HEIKE JURZIK<br />

ay b<br />

ment<br />

appe<br />

ment, Wikis p<br />

door” to HTML<br />

tor to click and<br />

Wiki is the<br />

Web – “wik<br />

Hawaiian a<br />

“quickly”. A<br />

tem certainl<br />

Wiki engine<br />

implementa<br />

Users can<br />

ded editor<br />

structure o<br />

ify. Typica<br />

make thin<br />

In con<br />

uses form<br />

syntax th<br />

matting<br />

The w<br />

tems en<br />

CGI: C<br />

Gate<br />

betw<br />

the w<br />

CGIs<br />

Pro


SER KTools<br />

The Full Picture<br />

enview<br />

nMoin Wiki<br />

oject team can<br />

g their ideas, or<br />

central repository.<br />

de for this task.<br />

A<br />

ith MoinMoin Wiki<br />

efore content managesystems<br />

started to<br />

ar for website managerovided<br />

a kind of “open<br />

February column, in which he shows<br />

how to write a Perl script that will monitor<br />

an eBay auction, or his November<br />

column, in which he shows how to<br />

access OpenOffice from Perl. You’ll also<br />

find other features on scripting topics,<br />

including articles on Lua (a language<br />

favored by game developers) and PHP.<br />

Desktop Tools<br />

We bring you the best of the Linux desktop.<br />

Our regular columns cover a broad<br />

range of Linux user topics from KDE to<br />

Gwenview cannot replace a versatile tool like The Gimp. But if you simply need to organize your digital images or shoot<br />

off a slideshow, this image viewer is a good choice. Being capable of handling any image format supported by KDE,<br />

means that this application can handle whatever you need. BY STEFANIE TEUFEL<br />

Packaged<br />

Free Windows<br />

picture paints a thousand words, File Reader plug-in for Qt 3) developed If the four-panel view in the program<br />

or so the saying goes. And that by Lignum Computing allows Gwenview window is too cluttered for your liking,<br />

might explain the masses of digi- to browse even GIMP (.xcf) files.<br />

you can use the Window menu to<br />

tal artwork that clutter up so many<br />

change the view. If you have not added<br />

machines. The only problem is that there<br />

comments to your image collection, you<br />

are thousands of formats, and your The current version of the program is will not need the file info display. To dis-<br />

favorite graphics package may only available on the project homepage at [1]. able it, select Window / Hide file info in<br />

understand one or two of them. Gwen- As the developers provide ready-made the menu.<br />

view is a program that can load, display, packages for most major distributions,<br />

and save any image format supported by installing the program should not prove<br />

KDE. Even graphic artists who regularly too difficult. After completing the instal- You can modify the look & feel of your<br />

use the Gimp image processing package lation, you can type gwenview & to image viewer using the View menu by<br />

will find a friend in Gwenview: the launch the program. The initial window opting to view the filenames of the direc-<br />

QXCFI component (the GIMP XCF Image should be similar to Figure 1.<br />

tory contents in the top right panel<br />

tive Group Writing<br />

Figure 1: The initial Gwenview window has four panels. Figure 2: Large thumbnails are a good indicator of the file contents.<br />

pages, allowing any visiedit<br />

the HTML content.<br />

abbreviation for WikiWikii<br />

wiki” is derived from<br />

nd means “quick” or<br />

nd the open authoring sys- restored at any time, should a page be MySQL, Oracle, or PostgreSQL. The softy<br />

is quick. The MoinMoin deleted or damaged by mistake. Also, ware then uses this data to create the<br />

is one of the better-known wikis allow you to assign special access public HTML pages.<br />

tions of this technology. controls that can restrict editing to regis- Besides taking a look at the original<br />

click to launch the embedtered users, if required.<br />

wiki, you might like to visit what is curand<br />

access the content and The first wiki website was published rently the biggest wiki on the Web, the<br />

f the page they want to mod- by Ward Cunningham in 1995, and it is Wikipedia [3], which offers innumerable<br />

lly, an Edit link is provided to still online [1]. At the time, Cunningham articles on pages in multiple languages.<br />

gs easier.<br />

wrote an email message saying that he It is an example of how well information<br />

trast to “real” HTML, which had programmed a new kind of database can be organized with a wiki.<br />

at tags, wikis have a special “I’ve put up a new database on my web If you are thinking of running a wiki<br />

at needs only a few simple for- server(…). It’s a web of people, projects yourself, you will be spoilt for choice of<br />

commands.<br />

and patterns accessed through a cgi-bin software – there are over 100 different<br />

iki web page version control sys- script.” [2].<br />

wiki engines [4], most of which are<br />

sure that older versions can be This meant opening up his HTML Open Source. In this article we will be<br />

pages to the general public. The foot of looking at the MoinMoin engine, and<br />

each wiki page contains a link that takes introducing its syntax.<br />

users to the editor where they can add<br />

to, or modify, pages. Fortunately, there is<br />

no need to write HTML code to do so. Before we launch into the wiki installa-<br />

Cunningham wanted to make things eastion, let’s first ensure that a few other<br />

ier for the authors and so chose a services are running on your machine.<br />

simpler syntax.<br />

These include Apache [5], for example.<br />

The Wiki engine stores the content Most current distributions include pack-<br />

er as ASCII text, or externally ages with versions 1 and 2 of the web<br />

ch as server. You will not normally need to<br />

GLOSSARY<br />

GI is the abbreviation for Common<br />

way Interface. It provides an interface<br />

een external programs, or scripts, and<br />

eb server.While HTML pages are static,<br />

allow for content generation at runtime.<br />

grams in the web server’s “cgi-bin”direcrun<br />

automatically by the server<br />

r example,<br />

Figure 2: Views of a penguin with the 3D graphics tool AC3D.<br />

com<br />

Pre-Flight Check<br />

COVER STORY<br />

There is no better place to view error<br />

messages than when compiling a<br />

program. Configure scripts are especially<br />

critical – time to find a way out<br />

of the error-prone labyrinth. At first<br />

it might seem full of bugs, but the<br />

application you want to build may be<br />

easier to fix that you would otherwise<br />

expect.<br />

BY ANDREA MÜLLER<br />

T<br />

Hosting with root<br />

access from<br />

£15 per month<br />

Configure<br />

MoinMoin Sources<br />

huhnix:/moin-1.1 # python setupU<br />

.py install --record=install.log<br />

running install<br />

running build<br />

running build_py<br />

creating build<br />

creating build/lib<br />

creating build/lib/MoinMoin<br />

[...]<br />

More than a Viewer<br />

The --record=install.log parameter<br />

writes an overview of the steps to the<br />

install.log file. The next step is to discover<br />

the user and group IDs that your<br />

Apache server uses. You can grep the<br />

Apache configuration file to find these<br />

values. On Suse Linux 8.2, for example,<br />

type the following:<br />

Linux Magazine <strong>DVD</strong><br />

the command line. You’ll learn about the<br />

StreamTuner Internet radio application<br />

and the GnuCash money management<br />

system. Also included are articles on<br />

window managers, retro-gaming tools,<br />

and groupware applications such as<br />

Kontact.<br />

Community<br />

Our Community section is your window<br />

to the global com-<br />

KTools<br />

D<br />

<strong>LINUX</strong> <strong>MAGAZINE</strong><br />

(Details), or you can use thumbnails in Gwenview will apply the<br />

various sizes. Figure 2 shows the top selected texture tiled<br />

right panel with Large thumbnails. Avoid onto your desktop as a<br />

the large thumbnails if your hardware is background pattern.<br />

resource-challenged as this option does The Configure external<br />

require a fair amount of computational tools menu item (see<br />

performance.<br />

Figure 4) allows you to<br />

The bottom right panel in Figure 2 add an external program<br />

shows another Gwenview feature: cor- of your choice. For<br />

rect displaying of images that use an example, if you prefer a<br />

Alpha Channel to define transparency different image process-<br />

values. Gwenview uses a traditional ing program to The<br />

checkerboard background, which is not Gimp, click on the Add<br />

part of the image, to display<br />

button, type the<br />

transparent areas of the<br />

name of the<br />

image.<br />

program in the<br />

Like any other well-<br />

Name box and select the appliscreen mode, and a slideshow function.<br />

behaved KDE application,<br />

cation file for Command. The You can scale the image view by select-<br />

Gwenview provides typical<br />

File Associations menu allows ing View / enlarge, View / reduce.<br />

file management facilities for<br />

you to specify if this program Alternatively, click on the various magni-<br />

copying, moving, deleting<br />

should be used for all files or fying glass icons to scale images up or<br />

and renaming files. You can<br />

images, or only for a special file down.<br />

access these functions via<br />

type. Finish up by clicking on To view the image at maximum size<br />

the dropdown menu that<br />

Apply to display the new entry on a single screen, select Fullscreen. You<br />

appears when you right-click<br />

under External Tools in the can then reduce the image display to<br />

a file or via the File menu. Gwenview’s dropdown.<br />

its normal size by clicking on the win-<br />

developers have also implemented a KIO<br />

dow icon with the red arrows. When<br />

Slave that allows you to access Windows<br />

you select Slideshow…, Gwenview will<br />

shares, tar archives, zip files, and similar Besides configuring external programs, prompt you to specify the delay between<br />

file sources via KDE.<br />

Configure Gwenview (see Figure 5) pro- each image before you start. You can<br />

Besides standard file operations, the vides configuration options for other also choose to display the images in a<br />

dropdown (see Figure 3) has a lot of details. Should the first file in a folder be continuous loop (see Figure 6). Simply<br />

other goodies. For example, you can displayed automatically, or not? Should choose your preferred settings and then<br />

select Sort to sort your images by name, Gwenview display the name of the cur- it’s “Action!” ■<br />

date, or size.<br />

rent file in red, or another color? Do you<br />

want full screen mode to display the<br />

path to the file? This is where to define<br />

As previously mentioned, Gwenview is your preferences. Last but not least,<br />

not meant to replace your favorite image Gwenview has a zoom feature, a full-<br />

editor. But it does provide simple<br />

image manipulation features that<br />

allow you to rotate or flip images.<br />

You can either use the Edit menu<br />

INFO<br />

or the dropdown to Rotate left,<br />

[1] Gwenview: http://gwenview.sourceforge.<br />

Rotate right; Mirror or Flip.<br />

net/download<br />

The External Tools option in the<br />

dropdown provides even more<br />

functionality. For example, you<br />

GLOSSARY<br />

choose GIMP to tell Gwenview to<br />

Alpha Channel An additional channel<br />

open the image with The Gimp – of<br />

besides the RGB (red/green/blue) channels<br />

course, this assumes you have<br />

normally used by image files.The Alpha<br />

installed the program on your<br />

Channel specifies the degree of transparency<br />

machine. If you particularly like an<br />

for each pixel of the image.<br />

image or texture, you can select<br />

KIO Slaves allow KDE applications transpar-<br />

External Tools / Use as wallpaper to<br />

ent access to such varied media as network<br />

drives, or compressed archives.The KDE KIO<br />

use the image as a background for<br />

server automatically handles the details of<br />

your desktop. If you select Exter-<br />

the specific formats.<br />

nal Tools / Tile as wallpaper,<br />

Figure 3: The dropdown<br />

menu<br />

provides a whole<br />

bunch of features.<br />

huhnix:/moin-1.1 # egrep "^UserU<br />

|^Group" /etc/httpd/httpd.conf<br />

User wwwrun<br />

Group nogroup<br />

Configuration Details<br />

mkdir mywiki<br />

cp -r data mywiki<br />

cp cgi-bin/* mywiki<br />

chown -R wwwrun.nogroup mywiki<br />

chmod a+rx mywiki/*.cgi<br />

<strong>LINUX</strong> USER<br />

Figure 5: Modify Gwenview to suit your personal preferences.<br />

Perfect Configuration<br />

From Source Code to the Finished Product: Understanding configure Error Messages<br />

Figure 4: Add your own external programs.<br />

Linux Magazine <strong>DVD</strong><br />

Linux Magazine <strong>DVD</strong><br />

Using the Installer<br />

The installer is designed<br />

to take away the pain of<br />

system installations.<br />

Each modular component<br />

will either perform its task<br />

and move on to the next or<br />

provide an error screen and a<br />

chance to try alternative<br />

actions. This means that in<br />

the majority of cases, you<br />

will not see the installer but<br />

just a series of questions<br />

when configuring your computer<br />

system.<br />

Figure 1: The Debian installer main menu screen.<br />

ebian GNU/Linux is about to As Debian GNU/Linux is<br />

go through a version change. The designed for all levels of experience, you<br />

current stable version has been may prefer the old style where you con-<br />

around for a long time and is about to trol each step. In this case you will need When first adding packages to your sys-<br />

be superseded. “Sarge” is the code name to add the boot parameter<br />

tem you can chose the simple<br />

for the testing version and we expect<br />

installation option which uses the<br />

any day for it to be officially named<br />

“Tasksel” program. For those who feel<br />

as the new stable version with the cur-<br />

more adventurous, you can the adrent<br />

stable stream “Woody” being To cope with any screen device, the vanced package installation which will<br />

retired.<br />

installer display is character based rather use “dselect”.<br />

One of the delays has been the pro- than using a temperamental graphical<br />

ject’s decision to include the new user interface. Instead of selecting options<br />

“Debian Installer”. The installer is in- with a click of the mouse, you can use the<br />

tended as a replacement for the aging TAB or RIGHT ARROW keys to move for-<br />

boot floppy system, that although has ward and the LEFT ARROW key or<br />

provided sterling service, is now looking SHIFT-TAB to move back. Selecting an<br />

somewhat aged. This new installer is option is via the UP ARROW or the<br />

the path for future Debian distributions, DOWN ARROW, with the SPACEBAR used<br />

providing a more modular and easy to check any check boxes. The ENTER or<br />

to use system. This system will also RETURN key activates the choice.<br />

allow greater extensibility for whatever After you have installed the base sys-<br />

the future may bring. With this in mind tem, you will be asked to configure some<br />

we have taken the latest Debian <strong>DVD</strong> options such as your time zone and the<br />

build made with the new jigdo (Jigsaw creation of the root and users’ passwords.<br />

Download) tool to give you the future The system will now use the <strong>DVD</strong><br />

early.<br />

as its source for the other packages<br />

that you want to install.<br />

Debian is not like the familiar<br />

RPM-based distributions. It<br />

favors the .deb packaging<br />

system which has strong<br />

dependency tracking and<br />

good cooperation between<br />

packages and system integration.<br />

To install a package at<br />

a later date, you just need<br />

to run the following com-<br />

Figure 2: The Debian installer detecting your hardware. mand:<br />

Figure 6: Selecting slideshow parameters.<br />

compile the sources manually. Moin-<br />

Moin [6] is a Wiki based on the Python<br />

[7] scripting language. Make sure that<br />

Python is installed on your machine, by<br />

You only need the first line once in the<br />

typing python -V, and if not, install the<br />

configuration file; the second line is<br />

Python packages from your distribu- Red Hat Linux users will need to parse required for each wiki instance on the<br />

tion’s installation CDs.<br />

/etc/httpd/conf/httpd.conf instead, and server – make sure you change the name<br />

Debian Linux uses /etc/apache/httpd. and path. Avoid calling your wiki wiki if<br />

conf.<br />

you can, as this can cause name conflicts<br />

The MoinMoin sources can be down- Now change to the moin directory (cd with internal software components.<br />

loaded from the project homepage. Type /usr/share/moin/ or cd /usr/local/share/ Finally, re-launch the web server<br />

tar xzvf moin-1.1.tar.gz to unpack the moin/) to create a new Wiki instance: (/etc/init.d/apache2 restart for Apache 2,<br />

archive, then change to the new direc-<br />

/etc/init.d/apache restart for Apache 1,<br />

tory created by this process (cd<br />

and /etc/init.d/httpd restart for Red Hat<br />

moin-1.1) and assume root privileges.<br />

Linux). If you then access the URL<br />

Python can help you install the software.<br />

http://localhost/mywiki/ with your brow-<br />

The command is as follows:<br />

ser, you should see the wiki welcome<br />

page (see Figure 1).<br />

Debian users will need to change the IDs<br />

in the chown line to www-data.www- When you are trying out your new wiki,<br />

data, and Red Hat Linux users to apache. it makes sense to take your first steps in<br />

apache. The two entries then<br />

need to be added to the<br />

Apache configuration file (this<br />

is /etc/httpd/httpd.conf for<br />

Apache 1 and /etc/apache2/<br />

httpd.conf for Apache 2 on<br />

Suse Linux, /etc/apache/httpd.<br />

conf for Debian, and /etc/<br />

httpd/conf/httpd.conf for Red<br />

Hat Linux):<br />

Alias /wiki/ U<br />

"/usr/share/moin/U<br />

htdocs/"<br />

MoinMoin Wiki<br />

Figure 1: Good morning – MoinMoin shortly after take off. Figure 2: Using MoinMoin as a template.<br />

ScriptAlias /mywiki "/usr/localU<br />

/share/moin/mywiki/moin.cgi"<br />

Sandbox<br />

KNOW HOW<br />

his is something that every Linux In this article, we will be looking at the else. These files tell you if it is possible to<br />

user will experience sooner or error messages you may encounter when use the normal three card trick to build<br />

later. You are unable to find a running ./configure. To compile software the program, or if you need to edit a file<br />

binary package for that much sought correctly, it is important to know how to first. Also, many programmers use these<br />

after program for our distribution To resol e these errors<br />

files to inform users of additional soft<br />

Table 1: MoinMoin Syntax<br />

Wiki Syntax HTML Syntax Displays as<br />

"italics" italics italics<br />

"'bold'" bold bold<br />

##comment comment not displayed as output<br />

[[BR]] hard newline<br />

New line Paragraph<br />

= Heading = Heading Heading<br />

== Subheading == Subheading Subheading<br />

=== Level 3 === Level 3 Level 3<br />

==== Level 4 ==== Level 4 Level 4<br />

===== Level 5 ===== Level 5 Level 5<br />

—- (four dashes) horizontal line<br />

www.linux-magazine.com April 2004<br />

DEBCONF_PRIORITY=medium<br />

munity of Linux users and developers.<br />

Monthly columns such as Brave Gnu<br />

World and Projects on the Move raise<br />

awareness of promising Open Source<br />

projects. You’ll walk with the intrepid<br />

souls who sallied forth on the Linux<br />

Beer Hike. And you’ll learn about important<br />

conferences, summits, and seminars<br />

in the world of Open Source, including<br />

events such as KDE akademy, Oscon,<br />

and LinuxWorld UK. ■<br />

apt-get install packagename<br />

Why run Debian?<br />

Most people who chose Debian GNU/Linux<br />

agree that the apt-get package system is far<br />

superior to rivals, whether that is RPM,<br />

urpmi, yum or apt4rpm. Beyond that lie<br />

other more meaningful reasons. Debian<br />

does not seek to be constantly releasing<br />

new versions to increase sales. In fact,<br />

Debian is run by volunteers who form a<br />

community.The GPL is at the heart of the<br />

Debian community and this granting of<br />

freedom is the real reason why Debian users<br />

are so passionate about their OS.<br />

Debian also takes the issue of security very<br />

strongly to heart. An example can be seen<br />

each month by looking at how many security<br />

notices Debian announces compared to<br />

other distributions.This open form of information<br />

ensures that you are in a position to<br />

maintain the security of your computer at<br />

all times.<br />

The apparent slow change in versions also<br />

ensures that the system has the stability<br />

you require.This does not stop you from<br />

running applications with some 12,000<br />

packages available on the Debian mirrors<br />

for a range of processor architectures.<br />

Contact Info<br />

Editor<br />

John Southern,<br />

jsouthern@linux-magazine.com<br />

Competence Centers<br />

Competence Center Software:<br />

Patricia Jung, pjung@linux-magazine.com<br />

Competence Center Hardware:<br />

Mirko Dölle, mdoelle@linux-magazine.com<br />

Competence Center Network & Security:<br />

Achim Leitner, aleitner@linux-magazine.com<br />

Correspondents & Contributors<br />

Jono Bacon, Elisabeth Bauer,<br />

Rene van Bevern, Zack Brown, Joe Casad,<br />

Alison Davies, Mirko Dölle,<br />

Tobias Eggendorfer, Hans-Georg Eßer,<br />

J. D. “Iliad” Frazer, Oliver Frommel,<br />

Steven Goodwin, Georg C. F. Greve,<br />

Telsa Gwynne, Hagen Höpfner,<br />

Charly Kühnast, Yuwei Lin, Martin Loschwitz,<br />

James Mohr, Michael Schilli,<br />

Carsten Schnober, Tim Schürmann,<br />

Jörg Schumann, Marc André Selig,<br />

Ralf Spenneberg, Stefanie Teufel<br />

Proofreading & Polishing<br />

Ian Travis, itravis@linux-magazine.com<br />

Layout<br />

Judith Erb, Elgin Grabe, Klaus Rehfeld<br />

Cover Design<br />

Pinball, info@pinball-werbeagentur.de<br />

Great software on the <strong>DVD</strong><br />

ce 15.07.2004 19:17 Uhr Seite 97<br />

Advertising: www.linux-magazine.com/Advertise<br />

All countries (except Germany, Austria, Switzerland)<br />

Brian Osborn, ads@linux-magazine.com<br />

phone +49 6509 910 495<br />

fax +49 6509 910 497<br />

Germany, Austria, Switzerland<br />

Osmund Schmidt<br />

anzeigen@linux-magazine.com<br />

phone +49 6335 9110<br />

fax +49 6335 7779<br />

Management (Vorstand)<br />

Hermann Plank, hplank@linux-magazine.com<br />

Rosie Schuster, rschuster@linux-magazine.com<br />

Business Unit Management<br />

Brian Osborn, bosborn@linux-magazine.com<br />

Product Management<br />

Hans-Jörg Ehren,<br />

hjehren@linux-magazine.com<br />

Subscription: www.linux-magazine.com/Subs<br />

Subscription rate (12 issues including monthly <strong>DVD</strong>)<br />

United Kingdom £49.90<br />

Other Europe Euro 79.90<br />

Outside Europe – SAL<br />

(combined air / surface mail transport) US $ 94.90<br />

Outside Europe – Airmail US $109.90<br />

phone +49 89 9934 1167<br />

fax +49 89 9934 1199<br />

subs@linux-magazine.com<br />

SERVICE<br />

Linux Magazine <strong>DVD</strong><br />

The Linux Magazine Debian GNU/Linux<br />

<strong>DVD</strong> contains hundreds of applications<br />

to cater for whatever task you want to<br />

perform. For desktop environments and<br />

window managers we have a large<br />

choice from the popular KDE or GNOME<br />

options to the more unusual Blackbox<br />

and Sawfish.<br />

If you want to try some office work on<br />

your new Debian system, you can start<br />

off with either OpenOffice 1.1.0, KOffice<br />

or the GNOME office applications such<br />

as Gnumerics and Abiword. Gnucash<br />

will keep your money organized and for<br />

the old school text only users there is<br />

always Emacs or Vim to master.<br />

The program development side is not<br />

forgotten in the mass of applications<br />

supplied on the <strong>DVD</strong>. GCC supplies a<br />

host of language compilers, alongside<br />

Perl and Python. KDevelop and Anjuta<br />

provide fully Integrated development<br />

environments.<br />

Figure 3: Running KDE with XMMS, KNotes, Konqueror and Klondike.<br />

You can run your own servers such as<br />

the ever popular Apache web server and readers and ftp transfer agents abound. The <strong>DVD</strong> disc is full of all the tools and<br />

Samba to share data and information Email clients, Newsfeed viewers and utilities that you would expect from a<br />

with any MS Windows computers you instant messengers are also included. modern Linux distribution plus many,<br />

have attached to a local network, as well That’s not to forget all the multimedia many more. All of which are easily<br />

as increase your security with GnuPG applications, games, productivity tools, installed onto the system from over 4.3<br />

and the Shorewall firewall.<br />

documentation and file utilities that are GBytes of compressed files, ensuring<br />

Of course, these days, a modern sys- also included on the <strong>DVD</strong>.<br />

that your tastes are catered for. ■<br />

tem needs to be Internet ready and<br />

aware. Debian GNU/Linux provides<br />

numerous ways to browse and explore<br />

the Web. These range from the ubiquitous<br />

Mozilla and Nautilus to text only<br />

applications such as Lynx and Links.<br />

Knode or Pan can be used as newsgroup<br />

Installer components<br />

• main-menu Controls which components are used for the installation<br />

• languagechooser Choose your language for installation messages<br />

• countrychooser Choose where you are in the world<br />

• ddetect Finds hard disks attached to the computer<br />

• pcmcia Configure PCMCIA devices for laptop networking<br />

• kbd-chooser Choose your keyboard model<br />

• netcfg Configure the network connections<br />

• iso-scan Finds ISO filesystems on the computer<br />

• choose-mirror Lets you choose the installation files location<br />

• cdrom-detect Finds CD-ROM devices attached to the computer<br />

• anna Installs packages from the chosen mirror<br />

• partman The Debian preferred partitioning tool<br />

• autopartkit Automatically partitions a whole hard disk if required<br />

• partitioner Allows the partitioning of hard disks<br />

• partconf Creates filesystems on your hard disk partitions<br />

• base-installer Installs the basic system so Debian will run when rebooted<br />

• kernel-chooser If more than one kernel exists, gives you the choice<br />

• bootloader-installer Installs a boot loader so Debian will start without installation media<br />

• baseconfig Configure the system after rebooting for the first time<br />

• shell Execute a shell from the second console<br />

• bugreporter Save problems to a floppy to report to Debian developer team<br />

Contact Info / UserFriendly<br />

Linux Magazine<br />

Stefan-George-Ring 24<br />

81929 Munich, Germany<br />

info@linux-magazine.com<br />

phone +49 89 9934 1167<br />

fax +49 89 9934 1199<br />

www.linux-magazine.com – Worldwide<br />

www.linuxmagazine.com.au – Australia<br />

www.linux-magazine.ca – Canada<br />

www.linux-magazine.co.uk – United Kingdom<br />

96 June 2004 www.linux-magazine.com 97<br />

www.linux-magazine.com March 2004<br />

• Telephone and email support<br />

• 3000MB storage, 100Mb connectivity<br />

• Free NFS backup storage and DNS service<br />

ALSO AVAILABLE…<br />

www.photocase.de<br />

checking for cc... no<br />

tells you what the script is<br />

checking for cc... no<br />

looking for. Here, configure<br />

checking for cl... no<br />

is looking for a script file<br />

configure: error: no<br />

called imlib-config. As it<br />

acceptable U<br />

fails to find the script, – no<br />

C compiler found U<br />

–, it decides that gdk_imlib<br />

in $PATH<br />

does not exist on the developer<br />

machine (checking for<br />

The script checks whether<br />

gdk_imlib… not found).<br />

the files required to com-<br />

You can type locate<br />

pile the software really<br />

imlib-config to find out<br />

exist. The lines starting<br />

whether the imlib-config<br />

with checking tell you<br />

file is missing on your<br />

what it checks. The results<br />

machine, or if configure<br />

are shown at the end of<br />

looked in the wrong places.<br />

each line, no in this case.<br />

Alternatively, use find,<br />

In other words, the script<br />

although this may take a<br />

quits and outputs an error Figure 1: The “Development” package group category in Suse’s YaST tool contains lot longer, as it does not<br />

message if it fails to find the packages needed for compiling.<br />

perform a database search.<br />

what it is looking for. In<br />

If the search fails to<br />

this case, the machine simply does not This basic set of tools will remove the come up with the goods, you can assume<br />

have a suitable compiler in its $PATH. cause of most error messages. If error that the file really does not exist. In this<br />

The PATH variable (variables are indi- messages continue to occur, you may case, you will need to install it. How do<br />

cated by the dollar sign, an operator that need to do some detective work.<br />

you go about locating the file in the<br />

queries the value of the variable) contains<br />

the search path for executables. Seek, and Ye Shall Find<br />

thousands of packages that a distribution<br />

comprises? The tools provided by the<br />

Every distribution has a different set of Listing 1 shows the most common type Mandrake and Suse Linux distributions<br />

directories in its path. The echo $PATH of configure error message.<br />

make this easy. If you have Mandrake,<br />

command outputs a list of the directories In our example, the configuration type urpmf imlib-config. This tells the<br />

in the path.<br />

script complains about a missing gdk_ package manager to consult the database<br />

In this case, the shell was unable to imlib (your target application may be and show you the files and packages<br />

find a C compiler, an application that missing krb5.h, or lidSDL.so). The line containing imlib-config (see Figure 2).<br />

converts software written in the C programming<br />

language into an e ecutable<br />

that says checking for imlib-config… no urpmf gdk_imlib tells us that the devel-<br />

Dedicated servers from £80pm and ADSL from £15.40<br />

Figure 3: Each issue includes a UserFriendly cartoon created exclusively<br />

for Linux New Media.<br />

75<br />

Configure<br />

Figure 4: Receive the news while you work with<br />

OpenOffice and Knewsticker.<br />

COVER STORY<br />

While every care has been taken in the content of the<br />

magazine, the publishers cannot be held responsible for the<br />

accuracy of the information contained within it or any<br />

consequences arising from the use of it. The use of the <strong>DVD</strong><br />

provided with the magazine or any material provided on it<br />

is at your own risk. The <strong>DVD</strong> is thoroughly checked for any<br />

viruses or errors before reproduction.<br />

Copyright and Trademarks © 2004 Linux New Media Ltd.<br />

No material may be reproduced in any form whatsoever in<br />

whole or in part without the written permission of the<br />

publishers. It is assumed that all correspondence sent, for<br />

example, letters, e-mails, faxes, photographs, articles, drawings,<br />

are supplied for publication or license to third parties<br />

on a non-exclusive worldwide basis by Linux New Media<br />

unless otherwise stated in writing.<br />

Linux is a trademark of Linus Torvalds.<br />

ISSN 14715678 Printed in Germany<br />

Linux Magazine is published monthly by Linu<br />

Ltd, Manchester, England. Company<br />

Distributed by COM<br />

West Dra<br />

www.linux-magazine.com June 2004<br />

<strong>LINUX</strong> <strong>MAGAZINE</strong><br />

<strong>LINUX</strong> MAGA<br />

“I just wanted to say that I’m very<br />

impressed with the server –<br />

we survived the Slashdotting two<br />

weeks ago more or less unscathed.<br />

Brilliant stuff!”<br />

Hugh Hancock, machinima.com<br />

WWW.BYTEMARK.CO.UK TEL: 0845 004 3 004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!