Sie sind auf Seite 1von 35

Issue #22 - February 2009

full circle
EMANUELE GENTILI

THE INDEPENDENT MAGAZINE FOR THE UBUNTU COMMUNITY PROGRAM IN C - PART 6


WEB DEVELOPMENT - PART 3
INSTALL CRUNCHEEE TO EEE PC
SPREADING UBUNTU

SPREADING UBUNTU RESIZING IMAGES WITH FFMPEG

ONE MACHINE AT A TIME


UBUNTU FOR NON-GEEKS

INSTALL ANY
DISTRO TO
YOUR ASUS
EEE PC
1
Full Circle magazine is not affiliated with or endorsed by Canonical Ltd.
p.04

Resizing Images With FFMPEG p.06

full circle
Program In C - Part 6 p.08
Web Development - Part 3 p.14
Installing CrunchEEE To EEE PC p.17
Spread Ubuntu p.19

www.fullcirclemagazine.org Making The Switch p.22

Ubuntu For Non-Geeks 3rd Ed. p.23


: Emanuele Gentili p.24
p.26
p.28

P.23 P.24 p.30


P.08 P.14
p.31
: DVD Rippers p.33
p.35

P.17 P.19 P.28 P.33

icons: KDE4 Oxygen

The articles contained in this magazine are released under the Creative Commons Attribution-Share Alike 3.0
Unported license. This means you can adapt, copy, distribute and transmit the articles but only under the following
conditions: You must attribute the work to the original author in some way (at least a name, email or URL) and to this
magazine by name ('full circle magazine') and the URL www.fullcirclemagazine.org (but not attribute the article(s) in any way that
suggests that they endorse you or your use of the work). If you alter, transform, or build upon this work, you must distribute the
resulting work under the same, similar or a compatible license.

2
EDITORIAL
This magazine was created using :

I
t's that time again folks. With Jaunty being released in a few
months, a new codename is released. See our news item about
9.10 on page 4.
Our Web and C series are joined this month with .
In this series of articles, Grant Paton-Simpson will give you advice on
which computer users you could suggest Ubuntu to. We also have
another series in the making which will start in a few months time.
Keep your eyes peeled! Also starting this month is ,a
cartoon by Costantinos Bourboulas, it's on page 27. Ubuntu is a complete operating
system that is perfect for laptops,
Returning this month is the book review, with competition. This desktops and servers. Whether at
month it's . You can read my review home, school or work Ubuntu
contains all the applications you'll
on page 23. Hopefuly in the next few months we'll have several ever need including word processor,
copies of the reviewed book as prizes. email application and web browser.
Good luck in the competition, and keep those emails coming! Ubuntu is and always will be free of
charge. You do not pay any licensing
fees. You can download, use and
Ronnie share Ubuntu with your friends,
Editor, Full Circle Magazine family, school or business for
absolutely nothing.
ronnie@fullcirclemagazine.org
Once installed, your system is ready
to use with a full set of productivity,
internet, drawing and graphics
applications, and games.

3
NEWS Ubuntu 9.10: Karmic Koala

Mark Shuttleworth has announced the


Washington Times Goes Open successor to Ubuntu 9.04 : Jaunty Jackalope
Source

The Washington Times has


announced that it uses Ubuntu on
its servers and is working on
several Python-based projects:

For the 9.10 desktop:

http://opensource.washingtontime
s.com/

You can read the full announcement at: http://fridge.ubuntu.com/

4
Ballmer: Linux Bigger Competitor HP To Certify Ubuntu On
NEWS than Apple Proliant Servers

Microsoft's HP and Canonical are working


The Adventures of Rick Rocket CEO had some together to achieve full Hewlett-
released for Linux interesting Packard certification of Ubuntu
things to say on Proliant servers.
The full
version about which
Mark Murphy, alliances manager
features 48 companies
for Canonical, said the goal of
missions, Microsoft sees
epic space the partnership is for HP to list
as its competitors in the client
battles set Ubuntu as a supported operating
operating system space. You'd think
in a wide system.
Apple was their number one
variety of
locations, over 30 ships that show competitor - and you'd be wrong.
damage as they are hit, 12 According to Microsoft, Linux is a
powerups, colorful cartoon bigger threat to the company than
graphics, a superb music Apple, placing Linux above Apple in
soundtrack, and more! the marketshare figure pie chart
A trial version with 8 free missions thing. "Linux, you could see on the
can be downloaded from: slide, and Apple has certainly Murphy wrote in a blog
increased its share somewhat," post.
http://www.mygamecompany.com/ Ballmer said.
Products/RickRocket/main.htm Ubuntu has recently been
In any case, it appears that Linux making great strides on the
The full version of Rick Rocket (and piracy) is a larger blip on desktop. Last October,
costs $19.99 (USD). Microsoft's radar than Apple, and it's Canonical's release of Ubuntu
not hard to see why. With an 8.10 Desktop Edition, nicknamed
For more Linux game news, jump
to page 28 for . economy that's not doing very well, "Intrepid Ibex," was praised by
people will opt for cheaper products. many testers -- including CRN's
Apple cannot offer those, but Linux Test Center -- for its robust
and piracy can. functionality and ease of use.
http://www.osnews.com http://www.crn.com/

5
you specified in 'output.filetype'
COMMAND AND CONQUER
Written by Lucas Westermann
– without changing the size
(since, if the size is not specified,
ffmpeg defaults to the size of the

E
ver had a video clip you command – if you're unsure whether source). However, to convert
wanted to reduce in size or not you've already installed it – "Freedom Downtime" (starting
and add to a slideshow for a since apt-get will not overwrite the size of 640x480) to a smaller clip
presentation? Or, maybe convert existing program, but merely inform (say 320x240), the command
into another format so that you you that it's already installed. Also, it would look like this:
could play it? Today, I will show will ask you for your password (since
ffmpeg -i freedom\
you how to do both of those you're using sudo), and, if you're new
downtime.mpg -s 320x240
things using the command-line to this, you may be surprised that it freedom\ downtime\ resized.mpg
tool 'ffmpeg'. I will also introduce does not show anything when you
you to the 'mogrify' command, enter your password. This is normal, Of course, you could also
which is an image-editing tool just type your password and hit the change the format of the file at
contained in the imagemagick enter key. the same time by changing the
package. It allows you to do many For this article I will be converting file extension. This shouldn't
things, but I will cover the basics – a short clip from "Freedom take too long (obviously
mostly the resizing of images (e.g. Downtime" which I used in a depending on the size of the
for thumbnails or other small presentation. ffmpeg offers a lot of clip). My clip was a few minutes
images). options (which you can read about in long, and took maybe 30
detail in the roughly 13-page-long seconds to convert on my laptop.
To use these tools, you will need
to install ffmpeg and manpage – by using the command Mogrify is a very handy tool,
imagemagick through either "man ffmpeg"), but the option I use especially if you find yourself
Synaptic Package Manager or most frequently is the option to posting a lot of pictures on web
Add/Remove Applications, or, in convert files. The format for such a forums that don't allow uploads
the spirit of this article, through command is: of images exceeding a certain
the command-line with: ffmpeg -i inputfile.filetype size, or do not allow linking to
outputfile.filetype large images for previews in
sudo apt-get install ffmpeg
imagemagick posts. I use mogrify mainly for
That command would just convert making thumbnails of images,
It's safe to run the install the input file to whatever output file but it can do many more things,

6
such as adding text, adding option, yet it removes any other systems too. Hopefully,
effects (charcoal, colorized, etc.) unnecessary comments, etc. from you've found this useful, and
and much more (it's all outlined, the file header to reduce image size. next time you need to convert a
once again, in the manpage, So using that tool the command video or an image, you'll
reached with "man mogrify"). would be: remember mogrify and ffmpeg.
Mogrify supports resize After all, practice makes perfect.
mogrify -thumbnail 50 in.jpg
arguments in either percentages
out.jpg
or pixel values. So, for example, if
you have a 1280x800 pixel image You can also use it to convert http://www.imagemagick.org/ww
which you want to resize to images using the “-format” w/mogrify.html – Very useful
640x400, you can do so with argument. So, guide on imagemagick in
either: general, from the imagemagick
mogrify -format jpg *.png
mogrify -resize 50 in.jpg site
out.jpg will convert all the .png files in the http://www.ffmpeg.org/document
current directory into .jpg format ation.html - The official ffmpeg
or: (names will be the same). documentation with useful
mogrify -resize 640x400 in.jpg As you can see, contrary to information, FAQs, etc.
out.jpg
common belief, command-line tools
or even just: can help with graphical projects, and
often do it more quickly or more
mogrify -resize 50% in.jpg effectively than a GUI program with
out.jpg confusing menus and/or different
layouts in newer versions. The
However, if the pixel
command will (usually) stay the
measurements and the aspect- has learned all he
same, and arguments are very rarely knows from repeatedly
ratio you supply are different, it
changed. And so, command-line tools breaking his system, then
could result in a smaller image
are much more universal – which is having no other option but to
than expected, as it will scale to discover how to fix it. When he
why users on ubuntuforums.org
the nearest values that are still in finds time, he also publishes a
usually supply commands instead of
proportion. Mogrify also has a blog at http://lswest-
GUI methods for solutions, since the ubuntu.blogspot.com.
thumbnail argument, which does
commands apply to Kubuntu,
roughly the same as the resize
Xubuntu and Ubuntu, as well as

7
HOW-TO
Written by Elie De Brauwer
PROGRAM IN C - PART 6
code, compiling code, testing code, processes. A system call is a
etc.), and there are many tools out function call which transfers
FCM#17-21 - Program In C - Parts 1-5
there. There are even some IDEs control to the kernel for some
(integrated development functions that can be done in
environments) which combine some user space. For example,
of these tools in a nice graphical incrementing a variable is
front-end (e.g. the CDT in the Eclipse translated to a simple assembler
project, kdevelop, Code::blocks, command, but when you do
anjuta, and more), but it is my something which deals with
Dev Graphics Internet Multimedia System
humble opinion that a beginning resources, this always goes past
programmer should first get an idea your kernel. If you read 'man 2
about how things work under the syscalls', you can get a list of all
hood, before he starts using system calls the kernel supports.
shortcuts. Although there are many Now, why is this a good thing to
CD/DVD HardDrive USB Drive Laptop Wireless tools out there which cover many monitor? Well, if you monitor
categories, in this article we will which system calls your

U
ntil now, I have been focus on troubleshooting application makes, you can
presenting to you some code/applications. follow the logical flow of your
code, and instructions on application, and the good thing
how to compile and execute that is that it is non-intrusive, which
code. So, until now, you've strace is one of my best friends. means you can run it on every
probably only needed an editor ltrace is also a nice tool, but I don't binary on your system. As an
(emacs, vi, ...) and a compiler make use of it that often. You can example, I will highlight the
suite (gcc). However, there are install both by typing output of wget, installable by
some other tools which make typing:
sudo apt-get install strace ltrace
developing code easy (bear in sudo apt-get install wget
mind that developing doesn't Now, what do they do? strace
mean only typing source code; it intercepts the system calls made by wget is an application which
covers the entire process - typing

8
fetches an URL from the Internet execve("/usr/bin/wget", ["wget", "-q", "http://www.google.com"], [/*
38 vars */]) = 0
and writes it to disk.
...
If we take a look at the output of stat64("/etc/wgetrc", {st_mode=S_IFREG|0644, st_size=4221, ...}) = 0
open("/etc/wgetrc", O_RDONLY|O_LARGEFILE) = 3
strace wget -q fstat64(3, {st_mode=S_IFREG|0644, st_size=4221, ...}) = 0
http://www.google.com mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7ad2000
shown in Fig. 1 (right) we can read(3, "###\n### Sample Wget initializati"..., 4096) = 4096
clearly see some interesting parts read(3, "on:\n#backup_converted = off\n\n# T"..., 4096) = 125
in the execution. read(3, "", 4096) = 0
close(3) = 0
We can see that it starts with a ...
call to 'execve()' (you can use stat64("/home/edb/.wgetrc", 0xbfe57a48) = -1 ENOENT (No such file or
man execve; this goes for each directory)
systemcall - the first word on a ...
Fig. 1
line echoed by strace), which
loads the binary. A bit later, the
application checks if an init file
called '/etc/wgetrc/' exists; it does, stat64("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=88, ...}) = 0
and it is read. Next, we see that it socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(53),
tries to open a '.wgetrc' in my
sin_addr=inet_addr("195.130.131.5")}, 28) = 0
home directory, but this file does fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
not exist, so this file is not opened. fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1234091526, 549043}, NULL) = 0
The next example (Fig. 2, below
poll([{fd=4, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
right) shows that '/etc/resolv.conf' send(4, "\372\312\1\0\0\1\0\0\0\0\0\0\3www\6google\2be\0\0\1\0\1"...,
is being opened, and that a socket 31, MSG_NOSIGNAL) = 31
is opened to a DNS server, in poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
order to resolve the address I ioctl(4, FIONREAD, [367]) = 0
asked for. recvfrom(4,
"\372\312\201\200\0\1\0\6\0\7\0\7\3www\6google\2be\0\0\1"..., 1024, 0,
{sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("195.130.131.5")}, [16]) = 367
close(4)
Fig. 2

9
edb@lapedb:~$ whereis wget
wget: /usr/bin/wget /usr/share/man/man1/wget.1.gz
Now, isn't this nice? We edb@lapedb:~$ ldd /usr/bin/wget
examined the internals of an linux-gate.so.1 => (0xb7f12000)
application, without taking a libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ed8000)
look at a single line of code; we librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7ecf000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7e88000)
immediately learned where it
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7d3c000)
stored some config files, which libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7bde000)
ones didn't exist, and how it /lib/ld-linux.so.2 (0xb7ef8000)
translated the DNS entry to an libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7bc5000)
ip address. ltrace works in a libz.so.1 => /usr/lib/libz.so.1 (0xb7baf000)
Fig. 3
similar fashion, but instead of
tracing system calls, ltrace
ltrace wget -q internals without any extra
gives you an idea of which http://www.google.com
functions are called and which are effort. The only difference is that
located in a dynamically linked they will run a bit slower than
we can find this snippet (some normal, and this allows you to
library, see Fig. 3 (right). spaces omitted): learn what the application is
ldd tells us that wget makes use strlen("www.google.com") = 14 doing, and where something
of libssl (secure connections), dcgettext(0, 0x8075c8a, 5, goes wrong.
libpthread (for creating threads), 0x804e66d, 0xbf8e1761) = 0x8075c8a
libz (compression), and libc getaddrinfo("www.google.com",
NULL, 0xbf8e1780, 0xbf8e17b4) = 0
amongst others. Libc is, in Valgrind can be installed by
calloc(1, 20) = 0x909c1e0
essence, the base of your system. malloc(96) = 0x909c1f8 typing:
It implements generic C functions freeaddrinfo(0x909c100) = <void>
like printf(), malloc(), and free(), sudo apt-get install valgrind
and it implements this logic, often This is the ltrace counterpart of the
It is a collection of tools that do
mapping them on system calls DNS resolution we examined in the
some advanced checking of
(e.g., a printf() maps to a write()). strace output. All the network
applications. See
Now ltrace will tell us where our communication is hidden by a simple
http://www.valgrind.org for more
application makes use of call to 'getaddrinfo()'.
information on the available
functions provided by such a
I hope that you now can appreciate tools. In this article, I will focus
library. So, if we examine the
the value of strace and ltrace. Both only on the most-used tool,
output of
allow you to examine a binary's called 'memcheck'. This tool will
override libc calls that deal with

10
handling memory. And it will do allocates some memory in the main timescale. Some applications,
some bookkeeping – is all function, and then goes into an which leak only a couple of bytes
memory (that is dynamically eternal loop. The first thing I want an hour, might run perfectly for
allocated) given back to the you to do is to run this code, replace years - before all hell breaks
system, and is all the allocated the for loop with a while(1) loop, and loose. This is why valgrind is
memory still reachable? replace the malloc(10) with such a useful tool. This is the
malloc(1000). Start the application, output of Listing 1 on my system
Take a look at Listing 1 (below). and see what happens with your after compiling it with
This is some bad code. It calls a system. Your physical memory will
function leak() (lines 3 to 7) 10 gcc -Wall -g leak.c -o memleak
be filled, then your swapspace will
times, which allocates 10 bytes be filled, and eventually the
and does not free it. Then it displays Fig.4 (following page).
oom_killer (out of memory killer) will
kill the fat When I terminate the while(1)
01. #include <stdio.h> process. Things loop by pressing Ctrl+C, it tells
02. #include <stdlib.h> like this are me how many calls to malloc() I
03. void leak() devastating to a did, how much memory I
04. { system and its allocated, and how much I gave
05. char * ptr = malloc(10); performance. back. And then it concludes that
06. printf("malloc(10) points to: %p\n",ptr); You have just I have lost 100 bytes of memory
07. } observed the in 10 blocks. This means that I
08. int main()
effect of a asked for some memory that I
09. {
10. int i=0; memory leak. can't reach anymore because I
11. for(i=0;i<10;i++) This is the don't have a pointer to it
12. { painful part of (“definitely lost” in the output),
13. leak(); dynamically and it says that I have also
14. } asking for allocated 15 bytes in 1 block,
15. char * ptr = malloc(15); memory - it which, at the moment of
16. printf("malloc(15) in main: %p\n",ptr); should all be termination, I could still free
17. while(1){} because I have a pointer to it.
given back! This
18. return 0;
is the example This is why I had to write the
19.}
of a memory while(1) loop. If I hadn't done
Listing 1: leak.c leak on an that, valgrind would have
extreme concluded that I lost 115 bytes

11
edb@lapedb:~/fullcircle/c-6$ valgrind --leak-check=full --show-
reachable=yes ./memleak
==7257== Memcheck, a memory error detector.
==7257== Copyright (C) 2002-2007, and GNU GPL'd, by Julian
in 11 blocks (verify this!), because valgrind accounts for
Seward et al. what really happens; it doesn't look forward to what
==7257== Using LibVEX rev 1854, a library for dynamic binary might happen in the system.
translation.
==7257== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks
LLP. One special thing I should still mention here: I told you
==7257== Using valgrind-3.3.1-Debian, a dynamic binary earlier I compiled the code with the '-g' flag, which adds
instrumentation framework.
==7257== Copyright (C) 2000-2007, and GNU GPL'd, by Julian
debugging symbols to the binary. This is why valgrind is
Seward et al. able to tell us at which file and on which line number the
==7257== For more details, rerun with: -v error occurred. If I would compile the binary with
==7257==
malloc(10) now points to: 0x41a2028
malloc(10) now points to: 0x41a2068
gcc -Wall leak.c -o memleak
malloc(10) now points to: 0x41a20a8
malloc(10) now points to: 0x41a20e8 the output would look like:
malloc(10) now points to: 0x41a2128
malloc(10) now points to: 0x41a2168 ==7339== 100 bytes in 10 blocks are definitely lost
malloc(10) now points to: 0x41a21a8
malloc(10) now points to: 0x41a21e8 in loss record 2 of 2
malloc(10) now points to: 0x41a2228 ==7339== at 0x4025D2E: malloc
malloc(10) now points to: 0x41a2268 (vg_replace_malloc.c:207)
malloc(15) in main: 0x41a22a8 ==7339== by 0x8048405: leak (in
^C==7257==
==7257== ERROR SUMMARY: 0 errors from 0 contexts (suppressed:
/home/edb/fullcircle/c-6/memleak)
11 from 1) ==7339== by 0x8048443: main (in
==7257== malloc/free: in use at exit: 115 bytes in 11 blocks. /home/edb/fullcircle/c-6/memleak)
==7257== malloc/free: 11 allocs, 0 frees, 115 bytes allocated.
==7257== For counts of detected errors, rerun with: -v
==7257== searching for pointers to 11 not-freed blocks. It still is able to tell us we lost some memory, but it can
==7257== checked 52,132 bytes. no longer tell us on which file or line things went wrong.
==7257==
==7257== 15 bytes in 1 blocks are still reachable in loss
record 1 of 2
So, the good news is valgrind telling us if we have a
==7257== at 0x4025D2E: malloc (vg_replace_malloc.c:207) memory leak or not. The bad news is that we need to
==7257== by 0x8048459: main (memleak.c:15)
==7257==
have a binary with debugging symbols in it if we wish to
==7257== 100 bytes in 10 blocks are definitely lost in loss know the exact location of the leak. We can then
record 2 of 2 recompile the executable to do some troubleshooting - for
==7257== at 0x4025D2E: malloc (vg_replace_malloc.c:207)
==7257== by 0x8048405: leak (memleak.c:5) which we also need the sources!
==7257== by 0x8048443: main (memleak.c:13)
==7257==
==7257== LEAK SUMMARY:
==7257== definitely lost: 100 bytes in 10 blocks. In this article, I introduced some tools that allow you to
==7257== possibly lost: 0 bytes in 0 blocks.
==7257== still reachable: 15 bytes in 1 blocks. do some easy troubleshooting and analysis on binaries,
==7257== suppressed: 0 bytes in 0 blocks.
Fig. 4 12
without the need to have any example on wget but now with an with respect to memory
sources or knowledge of these invalid URL, on which output is it management.
binaries. Next time, we'll even easier to diagnose that the output
• Which others tools are part of
attempt to go a bit deeper, and was a faulty DNS entry.
the valgrind suite, and how
then we'll take a look at using a
• Read the strace manpage; will could these help you in writing
real debugger.
strace automatically follow child higher quality applications?
processes? What measures do you
have to take when tracing a
multithreaded application?
is a
• vmstat is a tool which reports
• Does valgrind automatically trace Belgian Linux fanatic, and
system usage statistics, use apart from spending time
child processes?
strace to figure out which /proc/ with his family, he enjoys playing
file(s) it uses to generate its • Try running valgrind on some of with technology, and spends his
output. your favorite command line tools. days waiting for Blizzard to finally
release Diablo III.
And check if they behave properly
• Repeat the ltrace/strace

13
HOW-TO
Written by Brett Alton
WEB DEVELOPMENT - PART 3
create a website in PHP — right on about the intense security
your own computer — without practices involved in actually
FCM#20 - 21 - Web Dev. Part 1 - 2
having to purchase server space. hosting websites. Keep that in
Why would you want to do this? Well, mind for down the road. What I
many web developers — whether am showing you is extremely
they work freelance or for an simple (thanks to Ubuntu), but
organization — need a server to also extremely powerful.
develop their websites on. Quite
For Windows users and
often, they'll write code, upload it to
developers who want (or have)
Dev
a server, refresh the page in Firefox,
Graphics Internet Multimedia System
to create websites in Windows
and hope for the best. Some
(possibly using some tools that
advanced text editors and IDEs allow
aren't available in Ubuntu, or
you to edit files directly on the
because work dictates you use
server, but no matter how you
CD/DVD HardDrive USB Drive Windows), you can with this
Laptop Wireless upload your files, you still suffer from
method set up an Ubuntu LAMP
slow file transfers, broken
server through a virtual machine
connections, and other failed

T
oday I'll show you how to (try VMWare Server or VirtualBox
uploads. Using a localhost skips this
install a web server and — there are many tutorials
uploading step and allows you to edit
database, immediately online) to get a secure and
your entire website, right on your PC.
ready for web development. reliable Ubuntu server while
If you know how to forward port 80 using Windows! Basically you'd
We will be setting up what's on your router, you can even make it install Ubuntu Server 8.04.2 or
called a LAMP server (LAMP accessible to your friends or family. 8.10 into a virtual machine, use
standing for Linux, Apache, Although you could start to host the method I show you to setup
MySQL and PHP) to create a websites professionally using the a LAMP server, and then access
localhost and also get into a bit of method I will show you today, I it via the IP address in your
PHP programming. What this assume that if you are reading this browser.
means is that you can edit and article, you are not ready to learn

14
blacklist php5-common php5-mysql Well no, but once you start using
ssl-cert tcpd
Wordpress, MediaWiki, Drupal, or
any serious programming, you
Installing a LAMP server in Which is easier to remember? may need certain libraries
Ubuntu is extremely easy, and
But, as you can see, this method installed. Don't worry, you'll
you can do it in one of two ways:
installs all sorts of packages that you learn which libraries are required
may not need nor want on your as you go along.
sudo tasksel install lamp- server (such as Perl, PostgreSQL, and So, suppose you are
server SSL libraries). Now, are these programming in PHP, and you
packages bad for your system? Not require some image
This was introduced in at all. It depends on how lean you manipulation libraries, security
Ubuntu 6.10 (Edgy Eft), and works want your server to run, and how libraries, or even the command-
up to and including 9.04 (Jaunty many packages you want to support. line interface (meaning you can
Jackalope — currently in For now, "sudo tasksel install lamp- run PHP through the terminal,
development). For 6.06 (Dapper server" should suffice perfectly for not just through Firefox), then
Drake), you simply need to install the beginner or someone who needs you need to customize your
'tasksel' before trying to run a LAMP server up and running quickly. LAMP server installation.
tasksel.
Thus, for my LAMP server, I
Now, what has this magical would install the following
This method is similar to Method 1,
program done? Running the packages:
with the exception of allowing you to
above command is the same as
select which packages you'd like to sudo aptitude install apache2
running:
install. libapache2-mod-php5 mysql-
sudo aptitude install apache2 client-5.0 mysql-server-5.0
apache2.2-common apache2-mpm- For many, this would suffice to set php5 php5-cli php5-curl php5-
prefork apache2-utils up a LAMP server: gd php5-imagick php5-json
libapache2-mod-php5 libapr1 php5-mcrypt phpmyadmin php5-
sudo aptitude install apache2 mysql
libaprutil1 libdbd-mysql-perl
libapache2-mod-php5 mysql-server
libdbi-perl
php5
libmysqlclient15off libnet- Note my inclusion of
daemon-perl libplrpc-perl
The problem with this is you're not 'phpmyadmin'. phpMyAdmin (as
libpq5 libwrap0 mysql-client-
5.0 mysql-common mysql-server exactly customizing your installation. discussed in my first article) is a
mysql-server-5.0 openssl- Does everyone need customization? great tool for managing your

15
MySQL server. We won't go into /var/www/. There are two ways of where you would like to store
databases today, but just changing this: your development files (e.g.
remember how easy it is to change
install. To access it, simply point 1. Delete /var/www/, and make a
$HOME/Desktop/localhost (both
your browser to link/shortcut to a folder on your
instances!) to
http://localhost/phpmyadmin and desktop or in your home directory, or:
$HOME/Documents/www (or
enter in 'root' as the username 2. Edit the Apache config file, and whichever folder you'd like)).
and the password you chose change all instances of /var/www/ to
during the install. For 2, edit the file
a folder on your desktop or in your
"/etc/apache2/sites-
Don't be afraid to customize, home directory.
available/default" by replacing
remix, and explore! For 1, simply run this in the "/var/www" with a folder of your
terminal: choosing, and then reload
Apache:
sudo rm -r /var/www && mkdir
Once you successfully complete $HOME/Desktop/localhost && sudo sudo /etc/init.d/apache2
Method 1 or Method 2 for ln -s $HOME/Desktop/localhost/ reload
installing your LAMP server, open /var/www
Firefox (Applications > Internet > Whether using #1 or #2,
Firefox Web Browser) and open: That line first removes /var/www/, check http://localhost in Firefox
then creates a folder at once more to make sure it is
http://localhost $HOME/Desktop/localhost (so, if my working. At this point, you
There should simply be black username was 'brett', it would create should simply see a directory
text on a white background that a folder at listing of the folder we just
says "It works!". If you don't see /home/brett/Desktop/localhost), and created (e.g.
those words, hop on over to our finally creates a shortcut from $HOME/Desktop/localhost/),
sub-forum at Ubuntu Forums for $HOME/Desktop/localhost to which, more than likely, is empty
help. /var/www. This will successfully trick and shows nothing.
Apache into thinking the files are
actually sitting in /var/www.
is an Ubuntu
Note: if you want the folder to be enthusiast, computer
Right now, Apache is reading somewhere other than your desktop, technician and software
your files in a (to you, probably then simply edit the line above to engineer from Toronto, Canada
obscure) directory called

16
HOW-TO
Written by Ronnie Tucker INSTALL CRUNCHEEE TO EEE PC
We'll install CrunchEEE from a Sit back, wait, and watch, as
bootable USB flash drive (USB stick). your EEE PC boots CrunchEEE
N/A First, download the ISO image from from the USB stick. Like most
crunchbanglinux.org. Next, see distros, it's a 'live' distro. You can
FCM#21 for an explanation of how to try it out before you install it.
convert an ISO image to a bootable
CrunchEEE opens with a black
USB stick.
background, with Conky
The first thing to do is insert the superimposed over the top right,
bootable USB stick into one of the giving basic information such as
Dev Graphics Internet Multimedia System EEE PC's USB ports. Next, turn on the CPU percentage, memory used,
EEE PC, and, as soon as you see the and a list of hot-keys. Take the
blue ASUS screen, hold down the ESC time to properly test-drive any
key. You'll now be presented with a distro before you install it to the
CD/DVD HardDrive USB Drive Laptop Wireless
terminal-style screen (below)with two hard drive. Make sure you at
boot options: boot from (1) the least test the sound and Wi-fi,
internal hard drive, or (2) the USB since they are the main problem-

C
runchBang is an Ubuntu- stick you have plugged in. Choose areas in putting a distro on the
based distribution. the USB stick. EEE PC. To test the webcam, try
CrunchEEE is based on Skype.
CrunchBang, but uses the To begin installing CrunchEEE
OpenBox GUI and installs only to the EEE PC hard drive, right
necessary applications, mainly click on the desktop and select
Internet ones, but with the 'install' from the main menu.
Array.org kernel. The Array.org
kernel is a modified Ubuntu kernel Installing CrunchEEE is the
with all the necessary EEE same as installing any other
patches installed, so it's a great Ubuntu-based distro. Seven
time saver. steps, and you’re done. If you're

17
not sure of the steps to install an
Ubuntu-based distro, check
FCM#13 where we describe an
Ubuntu installation step-by-step.
What was nice about installing
CrunchEEE was that the fonts had
been made smaller, so the
installation's windows fitted nicely
to the EEE screen. No annoying
ALT + move, or having to turn off
Compiz to be allowed to ALT +
move! The steps outlined in creating the
bootable USB stick (FCM#21),
booting from it, and installing the
distro (in this case CrunchEEE) are
exactly the same for all Ubuntu-
based distros, so feel free to
download and try several distros. I've
tried Kubuntu 8.10 (with KDE 4) and
Xubuntu 8.10 (both of which need
patches on the default installations
to get some features working). I even
tried Puppy Linux on my EEE before
The default theme in CrunchEEE choosing CrunchEEE. That's one of
(above) is quite bland – it’s a the great things about Linux: choice!
black background with Conky
having white text, and the window
decoration is black and grey. Don't
worry, CrunchEEE comes with is Editor of
quite a few themes installed. A Full Circle magazine, a
few clicks later, a change of recent GNOME convert, and
wallpaper, and CrunchEEE is artist whose gallery of work can be
looking much nicer. seen at www.RonnieTucker.co.uk.

18
HOW-TO
Written by Grant Paton-Simpson S P R E A D U BU N T U
trouble later. And you'll need an
ISO image file for Ubuntu –
N/A Even if you don't see the value of either on CD or USB. Grab your
an aesthetically pleasing desktop, ISO from
most potential users of Ubuntu will. http://www.ubuntu.com/getubunt
Being able to drag-rotate the u/download. If you are going to
desktop cube around is always a set up multiple boot options, you
good selling point! Here is my dual- may also want Gparted –
screen desktop. The theme is Dust, http://gparted.sourceforge.net/do
and it uses custom wide-screen wnload.php.
Dev Graphics Internet Multimedia System
wallpaper I made using Inkscape.

This is the safest approach if


the user has some Windows
CD/DVD HardDrive USB Drive Laptop Wireless
programs that you cannot get to
work under WINE and if
virtualization is not an option.

2
008 was my year of Linux The user will be able to read and
on the Desktop, as it was for write to all files in the Windows
many of my relatives, partition from Ubuntu. This can
friends, and colleagues (see help with trouble shooting, and
http://www.p-s.co.nz/wordpress/). with a transition from one
But that doesn't mean Ubuntu is system to the other.
right for everyone. Here are some Dual-booting is particularly
thoughts on how to proceed with good for family machines
spreading Ubuntu, one machine Firstly, determine what sort of because children gain access to
at a time. installation will suit the user. A little all the games (er, educational
thought up-front can save a lot of software) from both worlds.

19
(see image 2). And remember, you the Windows partition from it)
can share files between Ubuntu and and, who knows, they might like
XP only by creating shared folders. it better. If you are expected to
volunteer your time then it
seems only fair.
• Vista users experiencing
performance problems.

• People who dislike using


computers – They will probably
dislike Ubuntu as well, and now
they have someone to
personally blame for their
problems. Install Ubuntu only if
(And Who to Leave Well Alone!) they are expecting you to
This approach is the simplest to support Windows anyway.
install, but make sure you won't
need Windows again because • Business users in a highly
• People who already know about
dual-booting is more tricky to set Microsoft-oriented environment –
Ubuntu – but want someone more
up if you do it Ubuntu There may be lots of
experienced to set them up.
first/Windows second. And make applications that won't work
sure to back everything up. • XP users with infected machines – under WINE, special network
If they spend a lot of their time requirements, and so on. Dual-
worrying about security and booting is an option, but a
malware, then they might be open to certain amount of caution is
This option is excellent for
Ubuntu. NOTE: If you end up having prudent. The OSS stack is very
newer machines, and is
to repair a Windows machine, make mature for some uses, but not
reasonably easy to set up using
sure the user lets you install Ubuntu for others. Be pragmatic.
VirtualBox. You can run programs
as a dual-boot option. It helps with
like MS Access, MS SQL Server, • People With Essential
trouble shooting (e.g. you can read
etc. inside – with no problems Hardware That Won't Work In

20
Ubuntu. Test first. toolbar, etc.); other Ubuntu users;
and Google of course. Plus, there are The Fridge
many excellent Ubuntu books out
(What to Tell Them First)
there now. Some resources suit some
OK, someone has asked you to users better than others, but make
install Ubuntu. What should you sure they are aware of what they can
tell them before going ahead? do to help themselves.
Make the following points clear:
• It is their choice to install
Ubuntu. You will do it for them,
and will help them as much as
possible later on, but ultimate
responsibility for the result is
theirs. The Fridge is an information hub
for the Ubuntu community,
• Some hardware, and a lot of bringing together news, grassroots
Windows-only software (e.g. from marketing, advocacy, team
a lot of appliance store chains, collaboration, and great original
etc.), may not work in Ubuntu. content.
There is usually an alternative Just like the family fridge at home,
available for free within the open this is where we - the Ubuntu
source world, but not always. If family - can put our best work on
you are dual-booting, or you have display for everyone to see.
Whether you’re working on
XP virtualized, this may not be as
advocacy and local marketing in a
important an issue. LoCo team, creating wonderful
new worlds of Ubuntu in a
is a derivative team, or building the
software developer from freedom and technology of the
Auckland, New Zealand, with a future in a development team, we
Introduce new users to the PhD in Sociology. Married to Elizabeth want to help you tell the
resources of the Ubuntu world: with 4 lively children, and a custom community about your success.
First Circle; the Ubuntu forums database business (http://www.p-
(add bookmarks to their Firefox s.co.nz).

21
MY STORY
Written by Roukh
MAKING THE SWITCH

I
have played with various partition out of pure geek laziness. experience of KDE. Installing
distributions of Linux for the There is a plethora of Distros KDE with the default Gnome
past five years. I would dabble available now, but I decided to go desktop environment is easy
in Red Hat running a web server, with Ubuntu. I guess I did this enough - just follow The Geek's
install Mandriva (Mandrake at the because of the tremendous amount Guide [1]. I have to admit that
time) in a dual boot with XP, and of online support available. Also, The the KDE environment is a great
actually built a kiosk for a tech Geek has a complete choice if you are
school in my area using Suse section of useful ditching
Linux. I have also run various Ubuntu and Linux tips! KDE ...is a great Windows. KDE
versions on Virtual Machines over choice if you are offers a lot of
I went with the
Windows many times. I have default Gnome GUI at ditching Windows... functionality
always had a love/hate right out of the
first. I was able to
relationship with Linux. When I box. With the
easily maneuver my way through
could get things working it was release of KDE 4.0, it gets even
Ubuntu pretty well. When it came to
great! However, when I just better - a beautiful interface,
installing drivers for my Nvidia card,
needed something such as my familiar start menu, the ability to
it was an easy and painless process. I
sound card to work, I would find browse directories as root with
also have a Creative X-Fi sound card -
that 2 hours of compiling a driver just a click, and a lot more. I am
but I was not so lucky with this.
just wasn't worth it. now a Kubuntu fan, and I intend
There is a beta driver for the X-Fi
to do a clean install of the
I have never been able to card from Creative Open Source, but
Kubuntu 64 system.
switch to Linux as my main OS the bad thing for my set-up is that it
because of some of the issues does not currently support 5.1 [1] The Geek -
that go along with it. Last week, I surround sound. I am sticking to my http://www.howtogeek.com/howt
decided to give it another go. No integrated sound and will let my X-Fi o/ubuntu/install-kde-kubuntu-on-
dual-boot system this time either, card sit and collect dust for now. ubuntu/
I thought. Any time I have tried
I was really enjoying Gnome and
that in the past, I would always
my new Linux environment, when I
end up booting the Windows
decided to allow myself the

22
BOOK REVIEW
Written by Ronnie Tucker UBUNTU FOR NON-GEEKS
As previously mentioned, the book
Grant, Rickford covers trying Ubuntu, installing it,
360 pages getting used to the desktop, internet
June 2008 applications, customizing the look
and feel of your new install and, of
9781593271800 course, the terminal. But Grant
No Starch Press leaves the terminal discussions until Which game is shown being
at least half way through the book. installed in Ubuntu For Non-
By that time the user is probably Geeks?
quite confident using Ubuntu and

U
quite happy to tinker with the Email your answer to:
buntu For Non-Geeks competition@fullcirclemagazine.org.
covers every angle of terminal. After that, the user reads
Ubuntu - from trying it and about how to set up and install
printers and scanners, adding fonts, . The winner will be
installing it to customizing it. But announced in FCM#23.
where this book differs from business, graphic, audio, video and
others is in its project-based DVD applications and finally security.
teaching. I'd have no hesitation
In each chapter, Grant takes recommending Ubuntu For Non-
the user, step by step, through a Geeks to a new user as it shows new
small task. For example, in users how to do things step by step,
chapter five he teaches new users it doesn't just explain it in text and
to use Synaptic by showing them leave the user to make assumptions. http://nostarch.com
how to install Frozen Bubble. This book is definitely the best one
Giving them Frozen Bubble will I've read, so far, aimed at the new
surely destroy their free time, but user. Many thanks to
at least the user now has the for supporting Full
knowledge and confidence to Circle with this review copy
install, and uninstall, applications. of

23
MOTU INTERVIEW
Taken from
EMANUELE GENTILI
Behind MOTU is a site featuring interviews with those known as 'Masters of the Universe' (MOTU). They are the volunteer army of
package maintainers who look after the Universe and Multiverse software repositories.

Hedgehog – I installed it after its What helped you to learn


release in April 2005. From that packaging, and how Ubuntu
moment, Ubuntu was always on my teams work?
box somewhere, sharing my time
with Aurox fedora based distribution About packaging - there are a lot
for some time that I developed. of great resources. I used the
DebianMaintainer guide, and the
Ubuntu packaging guide; the
Ubuntu School logs, and Debian
Policy, have been good places to
Since April 2005.
consult when I didn’t know
anything, or was unsure. Now,
thanks to Daniel Holbach, we
21
have Ubuntu videos too - an
Orvieto, Italy I started to contribute to the MOTU important asset to start.
emgent team when I decided to stop my
work in Gentoo and Aurox For questions, there is a
development. I created a Launchpad #ubuntu-motu channel on
account on 2007-11-09, and I started freenode, another very
my contributions to the Ubuntu important resources to solve
I started with slackware in 1999, Security Team with Security fixes to possible problems.
version 4.0 if I remember well. packages, auditing, penetration tests
After that I switched to Gentoo on Launchpad, Ubuntu website, and
Linux for my home-based servers, other stuff (and I found some nice
and Debian for desktop, but – security bugs in these, now all fixed). I think that working with lots of
intrigued by Ubuntu Hoary people that have the same

24
interests, views and goals. –
Mikhail Bakunin
The best WindowMaker ever seen, for
stability and speed. After that, I think
Please read
that rapache will be a good tool for
http://www.ubuntu.com/communit I do political activism (not
all sysadmins, will facilitate the
y/participate, and join – we need political parties), and I’m
sysadmin with their configurations of
help to build the best distribution, involved in movements formed
the web server, and I hope will be a
so that we can thus conquer the by voluntary associations who
good tool to convince some
world! are working for various things. I
sysadmins who uses Microsoft
Windows to switch to Ubuntu. do these with my girlfriend.

I’m working mainly on Rapache


(https://launchpad.net/rapache,
available in Intrepid Universe) – a
GUI for configuring and managing
apache2. Rapache is written in
python+GTK coming out of an
idea after UDS Prague. In this last
period, I have also taken the
WindowMaker package
(lightweight, loving desktop
manager), that was perhaps a bit
too abandoned, as I am a wmaker
developer, my son heard that I
was the first person responsible
for it. In addition to this, I work as
usual in auditing, penetration
test, and fix the security
vulnerabilities contained in
packages.

25
LETTERS Every month we like to publish some of the emails we receive. If you would like to
submit a letter for publication, compliment or complaint, please email it to:
letters@fullcirclemagazine.org. PLEASE NOTE: some letters may be edited for space reasons.

M
y husband and I were Writer of Letter of the Month wins
talking the other night, I two metal Ubuntu case badges!

I
have changed most of our
n the last issue of Full Circle, Mr Further, the answer
six machines into Ubuntu and we
Alsemgeest writes, "The only to the Java/C#/popular
now have two new grandchildren
way to upgrade to EXT4 without languages question doesn't
that are in Iowa, but we are in
losing data is to copy all your data mention that C# (and other
Pennsylvania. We need a way to
to another partition or hard drive .Net languages) are widely
keep in touch with our children,
first". This is incorrect. Quoting [1]: used in the free software
and grandchildren, and would
prefer to do it via the Internet. To convert an existing ext3 community thanks to the
filesystem to use ext4, use the efforts of the Mono project.
First we don't know what
command
software we would need, we have
powerful enough machines to run tune2fs -O [1]
the software, camera and/or extents,uninit_bg,dir_index http://ext4.wiki.kernel.org/index.php/E
/dev/DEV
headsets, so that shouldn't be a xt4_Howto#Converting_an_ext3_filesy
problem. But then we need to stem_to_ext4
know what hardware would work

I
with the software (in Ubuntu) and find someone who could make this
of course which headset/phone am a serious newbie and
happen? have gained some user ability
we should look in to.
with Ubuntu. My quest of the
I was hoping maybe someone week is to try to understand
on your team, or a reader, would Ed: Sane which is driving me INsane.
have useful information in this I find it user unfriendly. It is not
area that they could give to those intuitive at all, at least not for
of us who have family at long me. So I was pleased to read in
distances. Hopefully in the next your mag about gscan2pdf and
few months, you might be able to went in search of this scanning

26
R
elixir. Can it be substituted for E: Q&A of Full Circle Issue 21. Suse, Slackware, et al the same
Sane and its incantations? I am a The question asked if there as Unix has for all of its various
long term Windows user and am was a newsgroup for Ubuntu. incarnations. One has to admit
using an HP all-in-one wonder Your answer said it had closed. This that without Linus there would
device. The Windows software is is not completely true. Check: have been no Linux, just as
easily understood without a . Unfortunately without Stallman there would
manual to refer to. I would like to Google Groups does not carry the have been no GNU/Linux. The
see gscan2pdf in the same light. newsgroup, but it is available fact that Linus named his
Is it possible? I really would like to through regular news servers. original software kernel 'Linux' is
migrate to Linux. history. The fact that 'Linux' as a
term has taken on a life of its

I
downloaded and read some of own could not have been
Ed: your magazines today after seeing predicted.
a link in the Ubuntu forums. Good
stuff, but I wanted to respond to the
two letters I read
from reader
"Vincent" about
everyone using the
word "Linux" to
. describe the
computer operating
system vs
"GNU/Linux" which
"might be a more
appropriate (albeit
cumbersome)
name". I think that
Linux has now come
to be used as a
generic term for
Ubuntu, Red Hat,

27
UBUNTU GAMES
Written by Edward Hewitt

L
inux is great! We all know that,
GAME NEWS but there are two major things I
believe need resolving before
we can say Linux is ready for the
• Much improved drivers from mainstream. The first is video editing
& – the 180.22 and the second is gaming. Gaming is they can not play the games
drivers have just been a very important part of the success they love. Linux does have ways
released for nVidia cards. This of Linux, so there is much work to do to make it easier for people to
driver allows more cards to before we can safely say that Linux is switch from Windows to Linux,
work with Linux, improves the platform of choice for gaming. In thanks to great work from the
performance, and supports order to achieve this, I believe there Wine team. Games like Counter
OpenGL 3! ATi 9.1 driver also are three key areas that need Strike do work in Linux.
provides support for OpenGL addressing: games, distribution, and However, the support is not
3. services. Each of these areas is perfect. I much prefer native
• (below) is important for gamers, especially PC games to games played using
highly rated for PC and the gamers. Wine. It's important that we try
Wii. It has finally hit beta for to convince developers to
The number and quality of games
Linux. develop games for Linux, and to
available for Linux is probably the
port games to Linux. Hopefully,
most important area. Although it has
as OpenGL gets better, it will be
many great games, it needs more
easier for developers to do this.
games from major developers, such
We may be able to help, by
as EA or Activision. The big PC games
making the transfer from DirectX
need to be ported to Linux, such as
to OpenGL as easy as possible.
World of Warcraft, Counter Strike,
Battlefield, and Call of Duty. These So, you may be thinking, now
are the games that all the gamers that we have these major games
are playing. There is no point in for Linux, how will we get our
trying to move gamers to Linux if hands on them? The best

28
solution for Linux is Ventrilo does work very
digital distribution. I do well in Wine.
not see Linux games ever
If we are able to
being in shops. It would
achieve success in all
be far better to have a
these areas, then we'll
website or online store
have a platform for
from which we can
Windows gamers to
download Linux games. I
move to. I believe it is
believe a service like
possible to achieve the
Steam is the best solution
last two areas, because
to getting games onto
we can develop these
Linux. This solution is
services within the Linux
looking likely to happen,
community. The difficult
since Steam is apparently
part is getting the
coming to Linux!
developers on board.
The final area is the Apple is having a hard
services. There are many services time trying to get the developers
which PC gamers use on The second major network is fairly on board with their platform, so
Windows. These mainly consist of new: Steam. This online store now it is likely that Linux will have a
communication methods. The two provides a social networking side for bigger challenge.
major services are the gaming gaming, which is used in a similar
networks and the VOIP services. way to Xfire. Sadly, there is no way
The gaming network is heavily to use the Steam community feature
used by gamers for talking to yet, unless you use Wine. The VOIP
friends, joining games with each services are very important for
other, and for clans/guilds. The clans/guilds to use during a match.
biggest network is Xfire, with over The whole team needs to be in a , aka chewit, is a
twelve-million users. It is VOIP channel to be able to talk about keen PC gamer and
important that this service is tactics during a match. The two main sometimes enjoys console
accessible for gamers on Linux. services are Teamspeak and Ventrilo. gaming. He is also on the
development team for the Gfire
Luckily, there is a plugin for Teamspeak has a native Linux client,
project (Xfire Plugin for Pidgin)
Pidgin, called Gfire (gfire.sf.net). but Ventrilo does not. However,

29
Q&A
Written by Tommy Alsemgeest
If you have Ubuntu-related questions, email them to:
questions@fullcirclemagazine.org, and Tommy will answer them in a future issue.

Q Q
A
You make it executable by
right-clicking the file,
going to the permissions
tab, and ticking the box "Allow
executing file as program." You
can also run the program from
the terminal without making it
executable by typing:

A
python firstprogram.py
It is relatively simple to install

Q
Ubuntu inside Windows. You
simply have to run the CD
(from "My Computer"), and choose
"Install inside Windows." This will

A
To fix this you will have to bring up the Wubi installer, which will

A
edit your xorg.conf. This ask you some questions, then install This link should help you
post on the Ubuntu Forums Ubuntu onto a file inside Windows. out, even if it was written
will tell you everything you need, Once it is finished, you can start into for Ubuntu 7.04:
even though it may seem Ubuntu by restarting your computer http://www.howtoforge.com/ocr_
outdated: and choosing Ubuntu. with_tesseract_on_ubuntu704
http://ubuntuforums.org/showpost.
php?p=129379&postcount=21

Q
30
MY DESKTOP
Your chance to show the world your desktop or PC. Email your screenshots and
photos to: misc@fullcirclemagazine.org and include a brief paragraph about your
desktop, your PC's specs and any other interesting tidbits about your setup.

I use Ubuntu 8.04. This system runs Compiz, Emerald, Cairo, and I've been a Ubuntu user since version 5.10. I'm a PhD student in
Screenlets. All sorts of things are tweaked and customized. The theoretical physics who uses Ubuntu exclusively for all my
custom background was created in GIMP. scientific tasks. It has never let me down, except at certain points
(managing scientific papers, full-fledged PDF editing solutions),
System specs:
which I hope will be resolved soon.
AMD X2 5200,
BFG 8800 GTS, This is my office desktop, with Intel Core 2 Duo, 2GB RAM,
2 Gigs of Corsair, 500+160+160 GB hard-drives, 2.66 GHz, Intel Corporation
Two hard drives both 250 GB SATA. 82G33/G31 Express Integrated Graphics Card. My computational
One HD has XP (for gaming mostly) work is primarily done on other parallel cluster machines, and
and Ubuntu on the other HD. hence I can spice up my desktop eye-candy with Compiz and also
Cairo-dock. The wallpaper is from digitalblasphemy.com and my
screen resolution is 1280x1024. I'm using Hardy Heron (Ubuntu
8.04) right now.

31
MY DESKTOP

I have been using Linux since 2005. I started off using I've been using Ubuntu for about four years now, and I love
YellowDog Linux on a Mac, then I switched to Ubuntu 5.04, and everything about it. I love to customize things. I'm currently
have upgraded through the years to, currently, Ubuntu 8.04. running Ubuntu 8.10 beta, and, so far, it's been great. Everything
But now I am running it on a Dell Optiplex 270 machine, which just seems to work, especially my USB Wi-Fi adapter, which I've
has a 2.8 GHz Pentium 4HT, and 2 GB of RAM. I am dual-booting had quite a bit of trouble with in the past. I got my wallpaper
with Windows XP, which I hardly ever use. As for my desktop, I from gnome-look.org. It's called "wood-linux". The system stats
am using a background that I received from a friend of mine. I on the right side is Conky - with a script I found somewhere, don't
also use cairo-dock with the Mac OS X theme. ask me where; the theme is NewHuman. My laptop is a Compaq
Presario 2140. It's not much (AMD 2200+ with 512 MB RAM), but
it works great, and I've had it for almost 6 years.

32
DVD RIPPERS
Written by Andrew Min

http://handbrake.fr/ http://untrepid.com/acidrip/
While it was AcidRip is a powerful,
originally open source GTK
devloped for frontend for MEncoder,
BeOS, the powerful but slightly
Handbrake confusing command line
first gained encoder. While it's
prominence focused on DVD-to-DivX
as an open conversion, it also
source DVD outputs to MOV and (if
ripper for OS you have the right
X. However, components) MP3. It has
in early 2006, a group of hackers forked HandBrake an overwhelming
and renamed it Media Fork. One of the new features number of features, since
added was a CLI port to Linux. A year later, the almost all the features of MEncoder are incorporated
projects merged, and now, HandBrake is one of the into AcidRip. It's certainly not the most user-friendly,
most prominent rippers on Linux, especially after the but it's good if you like control.
recent GTK+ GUI for the Linux port.
To install AcidRip, use the ' ' package in the
Unfortunately, it's not in the Ubuntu repositories yet; 'multiverse' repositories.
to install Handbrake, you'll need to use the official
.deb at the download page.

33
http://exit1.org/dvdrip/ http://www.videolan.org/vlc/
One of the oldest rippers around VLC, the swiss army knife of
(it was started back in 2001), media players, also plays and
dvd::rip is the granddaddy of rips DVDs. While it's not the
http://thoggen.net/
rippers. As it has aged, it has easiest to set up, there are
Thoggen is the simplest DVD picked more and more features, multiple handy tutorials on the
ripper you'll ever find. You select from powerful projects to obscure topic
the titles to rip, and click a button. tools like cluster control. It can (http://url.fullcirclemagazine.org/
Thoggen takes the titles, converts output to a few different formats, 24e316 is my personal favorite).
them to OGG, and then says bye but you'll forgive the lack of And being VLC, it can encode to
bye. There are no advanced encoding diversity once you see almost anything, including ASF,
features (you can't even output to the number of features it sports. MPEG, Ogg, MOV, and even FLV
a format other than OGG), but (that's right... Flash video). Of
To install dvd::rip, use the course, it also has all the
that's what sets Thoggen apart.
` ` package in the features you'd expect from a
It's obviously not appealing to the
`multiverse` repositories. DVD ripper, plus a few special
uber-geek, but it does a great job
of using the KISS principle to ones like messing with the
appeal to the less-technical crowd. has been a Linux
codecs and subtitles.
addict since he first installed To install VLC, use the ` `
To install this "DVD backup" utility,
openSuSE in VMWare. Learn
use the ` ` package in more about him at package in the `universe`
the `universe` repositories. http://www.andrewmin.com/ repositories.

34
HOW TO CONTRIBUTE Full Circle Team

- Ronnie Tucker
ronnie@fullcirclemagazine.org
We are always looking for new articles to include in Full Circle. For article guidelines, - Rob Kerfia
ideas, and for issue translation, please see our wiki: admin@fullcirclemagazine.org
http://wiki.ubuntu.com/UbuntuMagazine
- Robert Clipsham
Please email your articles to: articles@fullcirclemagazine.org mrmonday@fullcirclemagazine.org

If you would like to submit news, email it to: news@fullcirclemagazine.org


Mike Kennedy
Send your comments or Linux experiences to: letters@fullcirclemagazine.org David Haas
Jim Barklow
Hardware/software reviews should be sent to: reviews@fullcirclemagazine.org Matt Janeski
David Sutton
Questions for Q&A should go to: questions@fullcirclemagazine.org

MyDesktop screens should be emailed to: misc@fullcirclemagazine.org

If you have questions, you can visit our forum: www.fullcirclemagazine.org And our thanks go out to
Canonical, the Ubuntu Marketing
Team and the many translation
teams around the world.

A magazine isn't a magazine without articles and Full Circle is no exception. We


need your Opinions, Desktops and Stories. We also need Reviews (games, apps &
hardware), How-To articles (on any K/X/Ubuntu subject) and any questions, or
suggestions, you may have. Sunday 08th March 2009.
Send them to:
Friday 27th March 2009.

35

Das könnte Ihnen auch gefallen