<<

full circle ISSUE #28 - August 2009

LINUX, APACHE, MYSQL & PHP SERVER (LAMP) PART 1 full circle magazine #28 1 contents ^ full circle Program In Python - Pt2 p.07 Women p.30

LAMP - Part 1 p.12 Ubuntu Games p.32

My Opinion p.21 MOTU Interview p.27

Networking With SSHFS p.15 Command & Conquer p.05

Fast Internet With Squid p.17 Review p.25 Letters p.28 Top 5 p.36

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.

full circle magazine #28 2 contents ^ EDITORIAL

This magazine was created using :

Welcome to another issue of Full Circle magazine. nd welcome to another new series! I promised you LAMP, and here it is: creating your own LAMP server. LAMP stands for , Apache, MySQL and PHP (sometimes Python) and is the foundation upon which many an Internet server sits, so it is very widely used. In part one (this month) ARichard Bosomworth discusses the installation and administration of a LAMP server and, next month, will touch on FTP and Firewalls, so stay tuned!

Also this month, Greg has a small correction to his Python Part 1 series, so make sure you check that out, and he goes on to talk more about variables. Ubuntu is a complete that is perfect for In other news, just last week Karmic Koala (Ubuntu 9.10) reached Alpha 4, and laptops, desktops and servers. August 31st brings the Ubuntu Developer Week (UDW): Whether at home, school or work Ubuntu contains all the applications you'll ever need including word processor, email application and web browser. Ubuntu is and always will be free of charge. You do not pay any licensing fees. You can The UDW timetable is at: https://wiki.ubuntu.com/UbuntuDeveloperWeek download, use and share Ubuntu with your friends, family, school or business for absolutely Enjoy the issue, and keep in touch! nothing.

Once installed, your system is ready to use with a full set of productivity, internet, drawing Editor, Full Circle magazine and graphics applications, and [email protected] games.

use the new 'contents' link to jump to the contents page from any other page! full circle magazine #28 3 contents ^ NEWS

New Beta For Linux From Scratch 6.5: The release notes detail the Linux The DIY Operating known issues with the new Acknowledges Linux As Beta version and details all the System Guide improvements made to the Desktop Competitor client. The , which is Microsoft listed Linux distributors under a proprietary license, is and Red Hat among available to download for competing Ubuntut 8.04 and later suppliers in its annual report to versions, Debian Lenny, Fedora the US Securities and Exchange After over a year of silence 9 and later, openSUSE 11, and Commission. from Skype's Linux developers as a generic, statically or since even a minor update to The report said the Linux dynamically linked binary. The Linux From Scratch project has the Skype Linux client and operating system had gained released version 6.5 of its step-by- over two years since the last "some acceptance" as PC makers step instructions on how to create : www.h-online.com look to reduce costs and more major update was revealed, a your own Linux system from people buy netbook PCs that new beta release of Skype for scratch. The 300 pages of To download the new beta of mainly run Linux. instructions show how to obtain Linux has been made Skype: the source code components and available. The new version 2.1 has proven to be http://www.skype.com/download/s then compile your own 32-bit Beta uses the Skype SILK too large and too costly for Linux system. LFS 6.5 has been kype/linux/ codec which should bring netbooks, which has driven updated to cover building a better quality audio, even on adoption of Linux. system using Linux kernel version low bandwidth connections. It 2.6.30.2 with GCC 4.4.1 and Microsoft's , due for also now supports high quality version 2.10.1 of glibc. LFS release in October, is to have a video and can make use of requires you already have a Linux special light version optimised for system running to do the PulseAudio. SMS messaging is use on netbooks. compilation and assembly of your now available, as is the ability own DIY Linux. Other updates to to organise contacts into : 6.5 are listed in the What's new groups. The chat functionality www.computerweekly.com since the last release page of the has also been enhanced with book. better indications of typing, message editing and new : www.h-online.com .

full circle magazine #28 4 contents ^ COMMAND & CONQUER

ecently a reader had substitute the “count” Usage: ping [-LRUbdfnqrvVaA] [- count] [-i interval] [-w deadline] requested that I cover [-p pattern] [-s packetsize] [-t ttl] [-I interface or address] the basic layout of a section with [-M mtu discovery hint] [-S sndbuf] help or man (manual) an actual [ -T timestamp option ] [ -Q tos ] [hop1 ...] destination Rpage. For the benefit of this value. The article, I will focus on the 'help' words are and 'man' pages for the “ping” intended to – number of ping tries command. The command: give you an – time between pings idea of what – maximum time to wait for reply ping -h the switch – allows you to fill the ping with a pattern of bytes does. – defines the size of the packet to send will display the help command – sets the IP Time to Live for ping (the “-h” switch, along Ideally, the – Set the source IP or device with the “--help” argument, are help page is – ''do'', ''want'' or ''dont'' are options the defacto default). The help intended as a – defines the size of the send buffer information will look something quick – allows you to set special IP timestamp options like what is shown in the box reference, in – sets the Quality of Service option (either decimal or hex value accepted) above right. case you're - can be a list of destinations unsure what The first square brackets switch containing “-LRUbdfnqrvVaA” is corresponds to well as more information, but a list of possible switches that explains what the command is the input you wish to supply. If, that isn't always the case. intended to do, or intended to don't require arguments however, you're new to the (mainly because they format be used for. The options command and don't know what To view the man page, use this section lists all the switches, output), and for an explanation half of the switches do, it's best command: as to what any of these and a short description of what to read through the man page, each does. To navigate through switches does, it's required to since it offers an explanation of man ping check the man page as well. the rest of the manpage, use each and every switch, as well the up and down arrows, or The next series of square The synopsis section displays as possible uses, help website, page up and page down. The brackets that show a switch something similar to the help etc. There are some help pages text on the very bottom looks and value combination (e.g. “-c command, but it is followed by that offer descriptions of like this: “Manual page ping(8) count”) requires you to a description section, which arguments and switches, as 21/356 15%”. It tells you

full circle magazine #28 5 contents ^ COMMAND & CONQUER that you are viewing the Options manual page for ping, and are Useful information pertinent to the command (definitions, at line 21 out of 356, or 15% of explanations, etc.) the way through the Bugs document. Once you're done See Also viewing the rest of the options History Security (if applicable) section, you come upon a Availability section named “ICMP Packet Details”, which defines what This is useful in case you want they are. There are a few more to look up a specific term from definitions before you reach the help page, since you know the bug heading, but each one exactly where to go. Also, if is fairly well explained, so I will you ever write your own tool, not explain each one. The bugs or would like to add a man listed are currently open page to a script you wrote, you (known bugs that haven't been then know how to format it. fixed in that version), and the Hopefully this article has See Also: section offers a few helped you to get a better other commands to look at understanding of how that will be useful in manpages work, and how to combination with the make sense of the often command you are currently confusing help pages. reading up on. The history section is straight-forward enough, while security and availability tells you a little more about the command.

Not all man pages are laid out in the same manner, but they follow the same conventions, has learned all he knows which are: from repeatedly breaking his system, then having no other option but to discover how to fix Name it. You can email Lucas at: Synopsis lswest34@.com. Description

full circle magazine #28 6 contents ^ HOW-TO Program In Python - Part 2

n the last installment, we t','Nov','Dec'] Up to now, we have created a list using strings as the FCM#27 - Python Part 1 looked at a simple program using raw_input To create the list, we bracket information. You can also to get a response from the all the values with square create a list using integers. Iuser, some simple variable brackets ( '[' and ']' ). We have Looking back at our months types, and a simple loop using named our list 'months'. To use list, we could create a list the "for" statement. In this it, we would say something like containing the number of days installment, we will delve more print months[0] or months[1] in each one: into variables, and write a few (which would print 'Jan' or more programs. 'Feb'). Remember that we DaysInMonth = Dev Graphics Internet M/media System always count from zero. To find [31,28,31,30,31,30,31,31,30,3 1,30,31] the length of the list, we can use: If we were to print Let's look at another type of print len(months) DaysInMonth[1] (for February) CD/DVD HDD USB Drive Laptop Wireless variable called lists. In other we would get back 28, which is languages, a list would be which returns 12. an integer. Notice that I made considered an array. Going the list name DaysInMonth. back to the analogy of shoe- Another example of a list Just as easily, I could have boxes, an array (or list) would I received an email from David would be categories in a used 'daysinmonth' or just 'X'... be a number of boxes all glued Turner who suggested that using cookbook. For example... but that is not quite so easy to the Tab-key for indentation of code side-by-side holding like items. read. Good programming is somewhat misleading as some For example, we could store editors may use more, or less, than categories = ['Main practices suggest (and this is four spaces per indent. This is forks in one box, knives in dish','Meat','Fish','Soup','C subject to interpretation) that correct. Many Python programmers another, and spoons in ookies'] the variable names are easy to (myself included) save time by another. Let's look at a simple understand. We'll get into the setting the tab key in their editor to list. An easy one to picture Then categories[0] would be whys of this later on. We'll play four spaces. The problem is, 'Main dish', and categories[4] however, that someone else's would be a list of month with lists some more in a little editor may not have the same names. We would code it like would be 'Cookies'. Pretty while. setting as yours, which could lead this... simple again. I'm sure you can to ugly code and other problems. think of many things that you So, get into the habit of using Before we get to our next months = can use a list for. sample program, let's look at a spaces rather than the Tab-key. ['Jan','Feb','Mar','Apr','May ','Jun','Jul','Aug','Sep','Oc few other things about Python.

full circle magazine #28 7 contents ^ PROGRAM IN PYTHON - PART 2 be the space after 'time'. ['The', 'time', 'has', 'come']. 1,30,31] This is very powerful stuff. for cntr in range(0,12): print '%s has %d We can find out how long There are many other built-in days.' % We briefly discussed strings our string is by using the len() string functions, which we'll be (Months[cntr],DaysInMonth[cnt in Part 1. Let's look at string a function: using later on. r]) bit closer. A string is a series of characters. Not much more print len(strng) The result from this code is: than that. In fact, you can look Jan has 31 days. at a string as an array of which returns 17. If we want to There is one other thing that find out where in our string the Feb has 28 days. characters. For example if we I will introduce before we get to Mar has 31 days. assign the string 'The time has word 'time' is, we could use our next programming Apr has 30 days. come' to a variable named example. When we want to May has 31 days. pos = strng.find('time') print something that includes Jun has 30 days. strng, and then wanted to Jul has 31 days. know what the second literal text as well as variable Now, the variable pos (short Aug has 31 days. character would be, we could text, we can use what's called Sep has 30 days. for position) contains 4, saying type: Variable Substitution. To do this Oct has 31 days. that 'time' starts at position 4 is rather simple. If we want to Nov has 30 days. in our string. If we asked the Dec has 31 days. strng = 'The time has come' substitute a string, we use '%s' print strng[1] find function to find a word or and then tell Python what to Something important to sequence that doesn't exist in substitute. For example, to understand here is the use of The result would be 'h'. the string like this: print a month from our list single quotes and double Remember we always count above, we can use: from 0, so the first character pos = strng.find('apples') quotes. If you assign a variable would be [0], the second would print 'Month = %s' % to a string like this: be [1], the third would be [2], the returned value in pos would month[0] st = 'The time has come' and so on. If we want to find be -1. the characters starting at This would print 'Month = or like this: position 4 and going through We can also get each Jan'. If we want to substitute an position 8, we could say: separate word in the string by integer, we use '%d'. Look at using the split command. We the example below: st = “The time has come” print strng[4:8] will split (or break) the string at each space character by using: Months = the result is the same. ['Jan','Feb','Mar','Apr','May However, if you need to include which returns 'time'. Like our ','Jun','Jul','Aug','Sep','Oc a single quote in the string like for loop in part 1, the counting print strng.split(' ') t','Nov','Dec'] this: stops at 8, but does not return DaysInMonth = the 8th character, which would which returns a list containing [31,28,31,30,31,30,31,31,30,3

full circle magazine #28 8 contents ^ PROGRAM IN PYTHON - PART 2 st = 'He said he's on his code. Don't worry about the if and way' the colon shown in the Now we will return to the "if" example above yet. Just statement we showed briefly you will get a syntax error. You remember we have to use the above. When we want to make need to assign it like this: double-equal sign to do a decision based on values of We need to learn a few more evaluation. things, we can use the if st = “He said he's on his way” things to be able to do our next statement: example. First is the difference Think of it this way. To define between assignment and if loop == 12: a string, you must enclose it in equate. We've used the The next thing we need to some kind of quotes ‒ one at assignment many times in our discuss is comments. This will check the variable the beginning, and one at the samples. When we want to Comments are important for 'loop', and, if the value is 12, end ‒ and they must match. If assign a value to a variable, we many things. Not only do they then we do whatever is in the you need to mix quotes, use use the assignment operator or give you or someone else an indented block below. Many the outer quotes to be the ones the '=' (equal sign): idea of what you are trying to times this will be sufficient, that aren't in the string as do, but when you come back to but, what if we want to say If a variable = value above. You might ask, what if I your code, say 6 months from variable is something, then do need to define a string like now, you can be reminded of this, otherwise do that. In However, when we want to “She said “Don't Worry””? In what you were trying to do. pseudo code you could say: evaluate a variable to a value, this case, you could define it When you start writing many we must use a comparison if x == y then this way: programs, this will become operator. Let's say we want to important. Comments also do something check to see if a variable is else st = 'She said “Don\'t allow you to make Python do something else Worry”' equal to a specific value. We ignore certain lines of code. To would use the '==' (two equal comment a line you use the '#' and in Python we would say: Notice the backslash before signs): sign. For example: the single quote in 'Don't'. This if x == y: is called an escape character, variable == value # This is a comment do something and tells Python to print the (in else: So, if we have a variable You can put comments do something else this case) single-quote ‒ more things to do without considering it as a named loop and we want to anywhere on a code line, but see if it is equal to, say, 12, we string delimiter. Other escape remember when you do, The main things to would use: character sequences (to show Python will ignore anything remember here are: just a few) would be '\n' for after the '#'. if loop == 12: new line, and '\t' for tab. We'll 1. End the if or else statements deal with these in later sample

full circle magazine #28 9 contents ^ PROGRAM IN PYTHON - PART 2 with a colon. a loop doing a series of loop = 1 steps over and over, while loop == 1: 2. INDENT your code lines. until a specific response = raw_input("Enter something or 'quit' to end => ") threshold has been if response == 'quit': Assuming you have more reached. A simple print 'quitting' loop = 0 than one thing to check, you example would be else: can use the if/elif/else format. assigning a variable print 'You typed %s' % response For example: “loop” to 1. Then while the loop variable is less => quit x = 5 than or equal to 10, print the In this example, we are quitting if x == 1: value of loop, add one to it and print 'X is 1' combining the if statement, elif x < 6: continue, until, when loop is while loop, raw_input Notice that when we typed print 'X is less than greater than 10, quit: statement, newline escape 'QUIT', the program did not 6' sequence, assignment stop. That's because we are elif x < 10: loop = 1 evaluating the value of the print 'X is less than operator, and comparison while loop <= 10: response variable to 'quit' 10' print loop operator ‒ all in one 8 line else: loop = loop + 1 program. (response == 'quit'). 'QUIT' print 'X is 10 or does NOT equal 'quit'. greater' run in a terminal would Running this example would produce the following output: produce: One more quick example Notice that we are using the before we leave for this month. '<' operator to see if x is LESS 1 Let's say you want to check to THAN certain values - in this Enter something or 'quit' to 2 end see if a user is allowed to case 6 or 10. Other common 3 => FROG access your program. While 4 comparison operators would be You typed FROG this example is not the best greater than '>', less than or 5 Enter something or 'quit' to 6 way to do this task, it's a good equal to '<=', greater than or end 7 => bird way to show some things that equal to '>=', and not equal 8 You typed bird we've already learned. 9 '!='. Enter something or 'quit' to Basically, we will ask the user 10 end => 42 for their name and a password, This is exactly what we You typed 42 compare them with information wanted to see. Fig.1 (above Enter something or 'quit' to that we coded inside the Finally, we'll look at a simple end program, and then make a example of the while right) is a similar example that => QUIT is a bit more complicated, but You typed QUIT decision based on what we statement. The while still simple. Enter something or 'quit' to find. We will use two lists ‒ one statement allows you to create end to hold the allowed users and

full circle magazine #28 10 contents ^ PROGRAM IN PYTHON - PART 2 one to hold the passwords. Then we'll use raw_input to get the information from the user, #------#password_test.py and finally the if/elif/else # example of if/else, lists, assignments,raw_input, statements to check and # comments and evaluations decide if the user is allowed. #------Remember, this is not the best # Assign the users and passwords users = ['Fred','John','Steve','Ann','Mary'] way to do this. We'll examine passwords = ['access','dog','12345','kids','qwerty'] other ways in later articles. #------Our code is shown in the box # Get username and password to the right. usrname = raw_input('Enter your username => ') pwd = raw_input('Enter your password => ') #------Save this as # Check to see if user is in the list 'password_test.py' and run it if usrname in users: with various inputs. position = users.index(usrname) #Get the position in the list of the users if pwd == passwords[position]: #Find the password at position print 'Hi there, %s. Access granted.' % usrname The only thing that we else: haven't discussed yet is in the print 'Password incorrect. Access denied.' list checking routine starting else: print "Sorry...I don't recognize you. Access denied." with 'if usrname in users:'. What we are doing is checking to see if the user's name that was entered is in the list. If it pretty easy to understand at is, we get the position of the this point. user's name in the list users. Then we use users.index(usrname) to get the position in the users list so we can pull the password, stored at the same position in is owner of , a the passwords list. For consulting company in Aurora, example, John is at position 1 Colorado, and has been in the users list. His password, programming since 1972. He 'dog' is at position 1 of the enjoys cooking, hiking, music, and spending time with his passwords list. That way we family. can match the two. Should be

full circle magazine #28 11 contents ^ HOW-TO LAMP - Part 1

at the back end (on the information execution we all All done? Good. Re-boot, log server). LAMP is an acronym of expect from our desktop in, and update the system. N/A open-source server-side browsers today. From the CLI, type the technologies and is the most following to update things. widely used solution stack This is the base LAMP stack ('update' updates existing across both the internet and installation procedure for packages and 'upgrade' installs the in-house business Ubuntu Server 9.04 “Jaunty new versions -- if any are enterprise. Jackalope”. available.) Why not just upgrade first? Well, an update The breakdown is as ensures initial reliable network Dev Graphics Internet M/media System follows: connectivity and stable operational functionality of the – The server operating system you have installed: system – The Web server sudo -get update CD/DVD HDD USB Drive Laptop Wireless platform sudo apt-get upgrade – The database – The dynamic As this is a server, we need scripting language, to configure a static IP and predominantly php although it bind it to the network adapter can also be perl or python. Download the relevant (invariably eth0). Use a text server ISO for your system (32 editor for this (I use vi. Search oday's internet offers These big four were never or 64 bit, etc.), burn it to a CD, for the operational us more than just flat designed with combined boot and and run through the commands -- there are only a pages of information to operation in mind. However, install, selecting keyboard, few you really need). At the CLI scroll through. We are symbiotic suitability for Web location options + LAMP & type: Tpresented with contact forms, and data delivery, coupled with Open SSH components. Once shopping carts, media libraries, cost-effective ubiquity of open- the installation is rolling, sudo vi interactive gaming, and social- source components, evolved choose suitable user/account /etc/network/interfaces networking portals - 80% of LAMP through the 1990s into names & MySQL root which operate through the de-facto standard enabler passwords when asked. Alter the DHCP entry to something called a LAMP stack for two-way data exchange and something like this (these are

full circle magazine #28 12 contents ^ LAMP - PART 1 my own IP numbers used as Apache, at the CLI type: line uber geek (there are a examples). substantial amount out there) sudo /etc/init.d/apache2 you’ll prefer a more user- restart auto eth0 MYSQL by default is friendly method of LAMP iface eth0 inet static admin. So, here’s a run down address 192.168.1.15 connected to the localhost netmask 255.255.255.0 interface, which is not : When Apache restarts of three favourite tools of the network 192.168.1.0 accessible from a non-local under certain circumstances trade. As with the base stack, broadcast 192.168.1.255 host. This can be changed by these installation advisories gateway 192.168.1.1 you may see the following editing the /etc/mysql/my.cnf message: are based on Ubuntu. file. At the CLI type: With a static IP, you also may need to manually set a apache2: Could not reliably sudo vi /etc/mysql/my.cnf determine the server’s fully DNS entry in the resolv.conf qualified domain name, using This is probably the most file. This is quite easy. At the You’ll see the BIND entry. 127.0.0.1 for ServerName widely used MySQL DB Admin CLI type: Just change it from localhost application. It’s powerful and 127.0.0.1 to the IP number of Sites will still load, however. works very well. Install it as sudo vi /etc/resolv.conf the machine you will be To fix the error you’ll need to follows: At the CLI type: accessing the database from, edit apache2.conf. To do so at If the file is empty, don’t and save the file. Should you the CLI type: sudo apt-get install worry, it’s just creating a new require access from multiple phpmyadmin one. However, if there are sudo vi machines, comment out (#) entries already listed, then /etc/apache2/apache2.conf the bind line, and either leave Accept the default bind leave them as they are. If things open (not advised) or message mid-installation. Open empty, then enter details into And at the end of the file, configure specific IP access to a browser and type: the framework as follows (use add the line: "Servername the DB later through your own domain name and " http:///phpmyadmin be installing phpMyAdmin in When you restart the search domain.com the next section. Apache server you should no input ‘root‘ + the MySQL nameserver xxx.xxx.xxx.xxx longer see the message. password created at install. nameserver xxx.xxx.xxx.xxx

Restart your network To test Apache, type And that is your basic LAMP - : For external MySQL access services: http:// into a done and installed. using other management browser. You should see “It packages (such as MySQL sudo /etc/init.d/networking Works”. If not, re-start Apache restart Unless you’re a command- Administrator), you must and try again. To re-start

full circle magazine #28 13 contents ^ LAMP - PART 1 remember that, by default, wget there’s no access from any IP http://prdownloads.sourceforg e.net/webadmin/webmin_1.480_a other than localhost 127.0.0.1. ll. Unless you previously bound the database to a specific IP Decompress and install it.. address, or opened it up to all by commenting out (#) the sudo -i ‘bind’ line, you’ll experience a webmin_1.480_all.deb 1130 error. To rectify this, just open up relevant user access in phpMyAdmin for the : Ubuntu doesn’t allow required IP number(s) - this logins by the root user by stage is easy to forget and can default. However, the user throw you if overlooked. created at system installation can use "sudo" to switch to root. Webmin is quite sociable and will allow this user to log in. The Webmin URL is - ds/gui-tools/5.0.html). For more Webmin is a quality utility, hardcore development, there’s Accept the and the industry standard tool also the MySQL Workbench certificate notifications and for fully comprehensive Linux (again a free download). Get you should be in... server admin. The install runs the Workbench here as follows from the CLI (http://dev.mysql.com/downloa (starting with the perl ds/workbench/5.1.html). libraries): OK, now we can administer If you’re not a phpMyAdmin sudo apt-get install perl our server. We’re getting libnet-ssleay-perl openssl kind of Guy (or Gal), you may closer. In the next issue we'll libauthen-pam-perl libpam- like to try the somewhat more runtime libio-pty-perl discuss FTP and Firewalls. is a libmd5-perl rounded and amiable GUI of the MySQL Administrator (see passionate Ubuntu professional who offers open source Next download the latest the image above right). This is strategies and services for Webmin using the following a superb cross-platform tool, business IT from the command (at time of writing which you can download for http://toomuchgreen.eu web free from here: portal. When not working with 1.480 is the latest release).. technology he cycles vigorously. (http://dev.mysql.com/downloa

full circle magazine #28 14 contents ^ HOW-TO Networking Ubuntu PC's With SSHFS

SSHFS uses OpenSSH to can shorten the command to: provide secure (encrypted) N/A 3. Go to System > communications between PCs. Administration > Users and sshfs With the network connected, remoteusername@remotepc: Groups > unlock > Manage ~/newfolder the local PC user will be able to Groups, confirm on group. transfer, open, and edit on the remote PC, as if they were 4. Create an empty folder in on her own PC. The remote your home directory files will look and act just like (Ctrl+Shift+N), it is usually the files on the local PC. best to name it after the other Dev Graphics Internet M/media System user, to prevent confusion. To create an SSHFS network, all you need are two PCs That completes the connected to the same router installation of the networking or gateway. Ubuntu comes with CD/DVD HDD USB Drive Laptop Wireless tools. To activate the network most of the software to make from one PC to the other, you Once you supply the this work, but needs two just have to invoke SSHFS and password for the remote PC applications, available in the here are a number of indicate where the files are (their password, not yours), repositories, to be installed on ways to network two coming from, and where they which indicates that you have both PCs. Here is how to set it PCs that are both are going to be displayed (that permission to access it, and, up: running Ubuntu, so new folder you made): for the first time only, confirm Tthat files can be transferred the other PC, then the network 1. From System > between them. We used to use Go to Applications > will be established and an icon Administration > USB devices and swap them to Accessories > Terminal and will be displayed on your install the synchronize files between our enter: desktop. You will be able to following packages: and two PCs, in what was access the other user's home . sshfs directory by simply clicking on euphemistically called a remoteusername@remotepc:/home 'sneaker network'. One better that 'newfolder' icon in your 2. Also in Synaptic, confirm /remoteusername ~/newfolder way is to use an SSHFS or home directory. You can then that is "Secure SHell File System" or, because SSHFS uses the copy, move, edit, and delete installed (usually comes with network. other user's home directory as files as if they were on your PC. Ubuntu). the default destination, you Password-protected documents

full circle magazine #28 15 contents ^ NETWORKING UBUNTU PCS WITH SSHFS will, of course, remain then the network connection back over to the other user's password protected. will be severed, and will have PC, overwriting the version There are a few to be re-established. pitfalls to keep in there. You can check the An SSHFS network is one mind with an SHFS remote version date and time way, meaning that each PC has 2. If the network crashes network ... to make sure that it hasn't to be individually connected to through an error, then either or been changed. the other. If you connect to the both PCs may lose their other PC they won't be able to "Places" access, or other While it is a simple way to see your files without functions, until rebooted. set up a network, SSHFS does establishing a reciprocal Perhaps you will discover work well and results in less connection to your PC. 3. Another way to crash the them. If the network crashes, wear on your sneakers than network is by performing a just re-establish it from the using USB devices to To disconnect your PC from ClamAV scan of the home command line or, if that synchronize files between PCs. the network, enter in the folder while the network folder doesn't work, reboot and try terminal: is active. Clam will try to scan again. If changes are made to I would like to acknowledge all contents of your home the other PC, such as its the help of the fusermount -u ~/newfolder folder including the contents of identity, or if you get a for teaching the remote PC, and that will consistent error, then you may me about SSHFS networking. The '-u' means 'unmount'. create an error. The solution is have to go to the hidden file in to unmount (disconnect) the your home directory at network first. This prevents the ~/.SSH/known_hosts, delete crash, and it results in a proper the data in that file, and then scan. save it. Then, when you re- establish the network, you will 4. You can also crash the recreate the data. network by clicking on the other user's home folder when Try not to have both users, they are connected to your PC, local and remote, edit the and then clicking on their same document at the same folder for your home directory time. If you have to work on a and then back to theirs, etc. remote document, and you had his first brush There are a few pitfalls to Don't do this! aren't sure whether the other with in 1978, and has been keep in mind with an SSHFS using Ubuntu since April 2007. user will be working on it, then He with his wife, Ruth, in network: There are probably other it is better to copy it to your Canada, in a house with no ways of crashing the network, home directory and, after you windows. Their website is 1. If either PC is rebooted, which I haven't discovered yet. have finished with it, copy it http://web.ncf.ca/adamandruth/

full circle magazine #28 16 contents ^ HOW-TO Faster Internet With Squid

on eBay, and have only a a group of people sharing case I skipped (did not install) N/A couple left now. network resources, to aiding Apache, MySQL, Postfix, BIND9, security by filtering traffic. Proftpd, POP3/IMAP and Although primarily used for Webalizer. I didn't need them. I HTTP and FTP, Squid includes needed only the Squid limited support for several proxy/caching server. I also other protocols including TLS, installed Webmin (see below), SSL, Internet Gopher, and so that I could easily manage HTTPS. The development this server remotely. A word to version of Squid (3.1) includes the wise: I learned (2 years Games Graphics Internet M/media System IPv6 and ICAP support..." ago) to install Squid first! This way the Webmin installation I used the Ubuntu operating goes much smoother (I was system for this project. using Debian for the server at

CD/DVD HDD USB Drive Laptop Wireless Installing a Squid server on the that time and Ubuntu in Whilst packing up the stuff network provided me with a another instance). Also, for to cart off, it occurred to me few important benefits: those of you who have been 've posted more than once that I could put this old laptop • Less bandwidth usage. following my blog (and for my about tips to improve our to work by installing a • Faster web surfing. welcome new readers), I also web surfing. This morning, proxy/caching server on it, and • Network cached copies of played with Squid and Ubuntu I was cleaning out some have my browsers pull much of pages I regularly visit (if the about a year ago, as described Iold hardware (to take to the the regularly requested web original server is down). in the post " recycling centre), when I content off a locally cached happened upon one of the last network server. This means Firstly, make sure you've " old laptops I had. installing Squid. According to installed a copy of Ubuntu 8.04 (http://ubuntulinuxhelp.com/spe Squid's site, "...Squid is a proxy Server (Hardy) on the old ed-up-and-improve-web-surfing- It's an older IBM Thinkpad server and web cache daemon. laptop. Not sure how to do with-an-ubuntu-squid-server/). T22, Type 2647, with 256MB of It has a wide variety of uses, that? Here's a guide: My earlier Ubuntu/Squid post RAM and a 20GB hard drive. A from speeding up a web server was based on Ubuntu 6.06LTS couple of years ago, I had 20 of by caching repeated requests, and Squid 2.6. But things have these units, bought from a to caching web, DNS and other (http://howtoforge.com/perfect- changed, and applications, etc. recycling depot. I sold them all computer network lookups for server-ubuntu8.04-lts). In my have improved, so I thought a

full circle magazine #28 17 contents ^ FASTER INTERNET WITH SQUID revisit and reinstallation of the as a reference. I also installed Install Squid using the Run the installation for Squid server was in order. an SSH server so that I could command: webmin: tuck the old laptop away and I downloaded and burned a complete everything else in aptitude install squid3 ./setup.sh copy of the Ubuntu 8.04 LTS comfort using my desktop. Server from Ubuntu's official After Squid has finished I changed the port number site at: sudo aptitude install ssh installing and you've rebooted from 10000 to 26395. I http://www.ubuntu.com/getubu openssh-server the system, you may want to changed the admin account to ntu/download-server. The bare install Webmin, a GUI interface "root", and entered a new minimum requirements are: will get the ssh server up and to manage that server. You can password. running for you. download a copy of the webmin package into any At the end of the webmin Throughout this post, you'll directory you like. The installation, I got the success need to substitute your IP command to download is: message that included the addresses and names to match URL: those in your own network. wget http://squid.localdomain:26395/ After the installation of the http://prdownloads.sourceforg base server is complete, open e.net/webadmin/webmin- CD-ROM drive or network card 1.470.tar.gz On my local PC, I had to edit a terminal from your my hosts file like this: 256MB of RAM made the (comfortable) desktop and Untar it like this: installation slower than I'm enter: sudo /etc/hosts used to. You can find more tar xzvf webmin-1.470.tar.gz ssh [email protected] information on requirements Then I added the following Webmin needs Perl to run, line: for the Ubuntu Server (Hardy) 192.168.1.200 is the at Ubuntu System so I installed some packages: address of the server I just 192.168.1.200 Requirements installed. squid.localdomain squid (https://help.ubuntu.com/comm aptitude install install libauthen-pam-perl libnet- /Installation/SystemRequir Use the command ssleay-perl libpam-runtime Now we want to reboot the ements). openssl perl perl-modules Squid server using: su After downloading and Enter the extracted contents shutdown -r now burning a copy of the ubuntu- to enter root. That way you (of the webmin-1.470.tar.gz 8.04.2-server-i386 CD, I don't have to keep typing package) by typing: After rebooting the server, completed a base install of the "sudo". and logging back in (via ssh), Ubuntu server using the cd webmin-1.470 you can see if the webmin howtoforge.com guide above service is running by using the

full circle magazine #28 18 contents ^ FASTER INTERNET WITH SQUID command: that the browser can find the that says "Create new ACL". URL. Now in your ssh window, sudo /etc/init.d/webmin Enter your values in the use the command: status I chose not to enable SSL for form. I used the following: logging into webmin, as I don't shutdown -r now You should see something need it in this LAN. After ACL Name: localdomain like: logging in, we want to From IP: 192.168.1.0 This will restart the server To IP: 192.168.1.255 configure Squid. Look for and Squid 3 (along with the webmin (pid 4573) is running Netmask: 255.255.255.0 something (on the left) that new configuration). I noticed that webmin (for some strange To see if it is listening on the says "Unused Modules" and I didn't change anything reason) thought Squid 2.6 was correct port number, the look for "Squid Proxy Server" - else, and clicked "Save". installed. Therefore, webmin command to check that is: click that link. You will see an option to install the Squid Now click the tab (at the was unable to start the server. sudo netstat -tap (webmin) module. Select that top) that says "Proxy But after rebooting the system, link to install it. restrictions". Click (at the the "Stop Squid" button You should find a line in the bottom) "Add proxy appeared - so I assume the output of the above command After installing, look on the restrictions" and look for the webmin module has started that says something like: left side menu, and, under new ACL name you just working properly (no need for "Servers", you will see "Squid created (mine was called me to play with webmin again, tcp 0 0 *:26395 *:* LISTEN Proxy Server". Select "Squid "localdomain"). *** Make sure as I'll use SSH to access and 4573/perl Proxy Server" and then select you are looking under the reboot, etc., so I did not try). the "Ports and Networking" column that says "Match ACLS" Remember, port 26395 was option. *** and click on this name. As a final step, make sure the one we chose to run Now click the radio button that that you set the proxy server webmin on - and webmin uses Note that Squid is running says "Allow". Then select address in your web browser. Perl. on the default port 3128. Now "save" at the bottom. In my case the information to return back to the Squid enter as a proxy server for Now open a web browser module page by clicking In the new screen that each web browser is: and visit webmin. The URL I "Module Index" (at the top of displays, use the up arrow to would use is: the page). Select the "Access move "localdomain" (or 192.168.1.200:3128 Control" icon and see a button whatever you called your new In July 03 I found a problem http://squid.localdomain:26395/ at the bottom of the page that ACL rule) so that it is just when trying to access says "Browser Regexp" - that above the line that says "Deny statistics. Here's the issue and Again, remember that I contains a drop-down list. Use all". If you don't, your browsers fix: added the appropriate this list to select "Client will not be able to get access. information to my hosts file so Address," then click the button

full circle magazine #28 19 contents ^ FASTER INTERNET WITH SQUID : When trying to access the A QUICK OPINION "Cache Manager Statistics" When I buy a new product, I often feel the need to justify the purchase to under "Squid Proxy Server", http://en.kioskea.net/faq/sujet- myself and others. Why would I want to believe that my new purchase could the following error displays: 804-ubuntu-installing-an-http- have been a waste? It is human nature to convince myself that I made a proxy-server-squid good decision. "The Squid cache manager program /usr/lib/cgi- My friends who use Windows or Mac OSX feel the same about their bin/cachemgr.cgi was not purchases. They purchased the computer, maybe even paid for the found on your system. Maybe operating system separately, and want to get the most out of their your module configuration is investment. There is no reason to expect them to be quick to go back on incorrect." their decision and toss their investment out the window.

http://chrisjohnston.org/2008/in Those of us who use Linux desire that same sense of validation. Many of us : stalling-squid-proxy-using- made that leap of faith and left behind an expensive proprietary operating webmin-on-ubuntu-server-8041 system. We have much to gain in convincing our peers to do the same, but aptitude install squid-cgi sometimes we are our own worst enemies. When what those peers need to hear from us are valid reasons to make the switch, all they hear are cries of Cache manager statistics "Jump! Jump!" The solution is simple: give them what they want — make them jealous. will now work. http://www.linuxjournal.com/arti It is not a secret that Windows is prone to crashes. For someone whose browser crashes while trying to check their email, the ability to complete cle/10407 such a routine task without having to worry about crashes is a dream. Someone else, stressing over how to pay for a new install disk to repair their Enjoy faster web surfing as damaged operating system, would be relieved to know that they can legally less external files are install a new operating system for free, repair it for free, and distribute it for free. Someone tired of combating viruses would drool at the thought of requested for pages you running a computer safely without the need for a virus scanner, and a commonly visit, and local person hesitant to pluck down money for Microsoft Office would find a lot to cached copies are delivered to appreciate in OpenOffice.org. We do not need to preach these benefits to http://shibuvarkala.blogspot.co others. your browser. I hope you ladies m/2008/11/howto-block- and gents have fun playing websites-using-squid-proxy.html At the same time, some people just want to be wowed. When they see a with this, and I hope it helps window wobbled, a user shift through a ring of open windows, or a desktop you out. flip to reveal another workspace, their appetites get whetted. All these features can be performed on Windows, but in most cases they will cost money, and their performance will still fall short of that offered by Compiz.

Keep the grass on your side of the fence as green as you can, and people http://shibuvarkala.blogspot.co will eventually jump over. m/2008/11/howto-block-port-in- squid-proxy-ubuntu.html

full circle magazine #28 20 contents ^ MY OPINION AllMyApps

With A lot of people asked us why allmyapps, we we decided to implement want to give allmyapps as a Web application users the best and not as a traditional application desktop application. The main installation tool reason is that we want in terms of eye- allmyapps to be visible to all candy and users (not only Linux users). usability. This is also why, beyond Indeed, traditional social features like allmyapps screenshots, reviews, and leverages on ratings, allmyapps gives you the power and the ability to create lists of is a Web-based the depth of our package applications that you can share application, discovery, and repositories to provide users with others via email or a Web In conclusion, if you like our installation tool for Ubuntu that with a tool that is fun, easy, widget. The goal here is to help project, we invite you to visit I've been working on, with a and, of course, secure! We spread the word and make allmyapps to create and share friend, for the past nine have tried to make allmyapps people realize how easy and your list of favorite months. visually appealing, so that fun it is to install applications applications! And if you are in people will enjoy browsing on Linux! the mood for contributing, do I get frustrated each time an applications on it. In the same not hesitate to rate, review, iPhone owner talks about how spirit, we have also focused a In the coming months, we and upload screenshots of your cool the Apple AppStore is. lot on usability to help people hope to expand allmyapps favorite applications. Of Technically, the Apple AppStore find the applications they need, support to other systems. We course, any feedback is warmly is nothing but a package either by browsing categories chose to focus on Ubuntu first welcome. Feel free to contact repository like those we've or by performing a free search. because it was the most me at enjoyed for ages in the Linux Finally, as allmyapps relies on desktop-oriented Linux system [email protected]. world! Our goal is to unleash the apt package management in our opinion, but, eventually, the true power of Linux system (through apt-url), it is we'd like everybody to benefit package repositories, and show completely safe for users to from allmyapps. : http://allmyapps.com it to the world. use.

full circle magazine #28 21 contents ^ MY STORY My Linux Experience - Story 1

t the beginning of distribution named Ubuntu. He desperate because I was not 2005, I subscribed to had just received a bunch of able to perform my routine Step by step I started to ADSL with an Internet CDs from the company that work without Windows. So, perform my routine work with provider. At that time, distributed this OS. So, he gave after a couple of weeks, I Ubuntu instead of using AI was using Windows on my PC, me a couple of these. The decided to reinstall Windows. Windows. Obviously I spent and I spent my winter holidays distribution came with 2 CDs: Anyway, I did not want to hours surfing on the Ubuntu reformatting and reinstalling one live CD and one install CD. surrender, so I visited the forums and Wikis to see how to the OS, I think at least a couple My colleague suggested that I Ubuntu international forum (at solve my problems. I learned of times, because every time I try the live one. that time an Italian Ubuntu many things: how to play accessed the Internet I got a forum did not exist) looking for DVDs, how to install virus. I inserted the live CD of advice on how to obtain a multimedia codecs, how to Warty Warthog. My first proper dual-boot system. connect to the Internet, how to I was frustrated by this experience with the live CD Luckily I found various threads burn CDs/DVDs, etc. situation and did not know how was exciting, and I just played that explained how to perform to solve it. A possible solution with it for about a week. Soon I this operation. I was I was able to overcome was to install anti-virus realized I wanted to broaden encouraged, and decided to try obstacles that, at a first glance, software, but I did not want to my Linux/Ubuntu experience the install process again. This appeared insurmountable. I spend the money for it. At that and decided to install Ubuntu. time everything went well and I also started to give my own time I did not know that Since I also wanted to keep the was so happy! I could choose advice to people asking for ClamWin anti-virus existed - Windows OS, I opted for a dual- to start Windows, or to use my help in the Ubuntu forums. actually I did not know about boot system. Due to my new wonderful Warty Warthog. And, what satisfaction when the existence of any open- inexperience, I managed to someone thanks you because source software. In addition, I install Ubuntu, but I failed to Obviously, I started your advice is successful! did not want to slow down my create a dual-boot system. spending more and more time four-year-old PC with anti-virus Windows was still present in a on my Ubuntu box rather than Currently, I am multi-booting software. partition, but whenever I on Windows. For me, Linux was between Debian Etch, Hardy selected it from the GRUB a new world ready to be Heron, and Intrepid Ibex. Eventually, I cancelled the menu, it failed to start up. uncovered. Everything about ADSL contract and reported my this OS was fascinating: the I think that, in the coming experience to one of my I was both happy and Gnome desktop, the years, I will always use this colleagues. He was a Linux fan, desperate. Happy because I applications, and even using beautiful Operating System, and he mentioned a new had Ubuntu installed, commands from the Terminal! which is Linux.

full circle magazine #28 22 contents ^ MY STORY My Linux Experience - Story 2

buntu 8.04 really clear of those as a home OS. Adobe Acrobat 5.1 was the last The serious difficulty I had amounted to a The fiasco of an embedded version for Windows 95, and an was that my old 128-MB quantum leap for me - browser that started with old Y2K edition of ZoneAlarm computer was so old that it a godsend. The Win98 was an immediate firewall was all that was couldn't even support Linux, so U concern about what was to available to help protect my trying out Linux over the years operating system industry irked me so much that I come in future years, and the Internet connection - via dial- would have required fussing endured 12 years of using progression of Windows to a up. It was pointless to do with another computer, which I 95, since I big mess did in fact occur. broadband with Windows 95, did not want to do. accepted that radical OS in Windows became a big, given that Shockwave and 1997. I refused to do any vulnerable OS, requiring 3rd- Flash no longer offered And it would just be an Windows OS after Windows 95. party software to maintain it upgrades to that seriously interim solution; the Linux Linux was on my mind for over and rid it of viruses and other dated OS. Without proper Flash distros were not what I wanted. a decade. . I resisted letting go of support, it hampered playback I had access to Linux Windows 95 until an of streaming video. The slow installations from friends, and For me, Windows 95 pushed appropriate replacement OS hardware, with a PCI video read about the developing out the failed IBM OS/2 product arrived. It turned out to be card, would have seriously Linux distros on the Web for I had learned to adore so Ubuntu 8.04 LTS. faltered - even with proper many years. When I read that much, which itself had software support. The OS had even early editions of Ubuntu previously pushed out DOS It was a serious sacrifice for to be upgraded, along with had trouble dealing with 6.22 + Win 3.1. A single Intel 12 years to endure lack of USB modern hardware, to make wireless LANs, and even P233MMX-based ASUS VX-97 support, and the inability of sense of going to broadband. playback of MP3s, I concluded motherboard ended up Windows 95 to support new Despite all this, I waited for the that Ubuntu was not ready for covering me for almost 13 hardware and software - but I proper distribution of Linux to prime time. I did not want to do years, right up to its very was always able to get by, just come along and give me the a part-way upgrade, but rather recent retirement in January barely. I would have had to path to revolutionize my often a full upgrade. Mandriva Linux 2009. The attempts at drop Windows 95 had it not laughable system. Thanks to a was considered the most likely improving Windows 95 via been for the Opera browser. very busy work schedule, there target distro at the time - as Windows 98, 98se, Me, and XP, Firefox did not support was little time to really use my Windows 95 got so unbearable. were all disappointments to Windows 95, but Opera did. PC. But once I retired, that old In the end, I opted to endure me. My workplace experience However, overall, the system platform and OS quickly Windows 95 and waited for a with Windows NT 4.0 and then was crippled due to the became unbearable. Linux distro I really could be Windows 2000 told me to steer seriously dated Windows 95. happy with.

full circle magazine #28 23 contents ^ MY LINUX EXPERIENCE - STORY 2 netbook, with Ubuntu 8.04 LTS, tweaking all aspects of At no point was MacOS or would surely fit my needs. It logging, effective backup using Windows XP considered. did! tar, cleaning out foreign Microsoft is about monopoly, language support and help and Apple would be even a Open Office is almost files, and more customizations more ruthless monopoly if it completely compatible with my and tweaking than I could ever could get there. I believe in Office 97 Word and Excel, write about. Clearly, Ubuntu open-source software, Internet offering immediate bridging of 8.04, with the wealth of access for all, and in paying for key functionality. Video information on the Internet, only the support of the playback was complete in offers a solid viable approach infrastructure, not in paying Ubuntu 8.04. Wireless LAN to computing, which permits monopolies focused on support was immaculate, to users to avoid the trap of controlling home users and the point where the January 1, computing the expensive and supporting their business 2009 transition to the netbook guarded Apple way or the model and their way of never saw my Ubuntu-Mini 9 controlling and painful computing. I refused to even on dial-up Internet access. The Microsoft way. Kudos to Ubuntu consider getting new hardware quantum leap abruptly ended 8.04 and Dell support. and Microsoft Vista. From the trusty P233MMX and desperation, via rumors, Windows 95 duo. Never has Windows 7 sounded viable, but the gestation with a new OS that could only be a risky been so complete and so proposition and giving in to quick. Microsoft. Using WiFi and DSL, Ubuntu - Just as I was going to try in just a month - Mandriva Linux on a 512 MB revolutionized my computing Pentium III system, salvation experience. Thanks to came when reviews of Ubuntu immense and complete 8.04 LTS were digested! As if information on the Internet, I by magic, Dell offered a became a power user in just a modern netbook Mini 9 with month, though both abundant Ubuntu 8.04 pre-installed. If time (thanks to retirement), Windows 95 sufficed for my and experience in workplace needs, I concluded that a Unix, certainly helped! My modern dual-core 1.6 GHz Ubuntu 8.04 netbook is lean and mean, by means of

full circle magazine #28 24 contents ^ REVIEW Tellico

cataloging applications for before they buy some CD that or at least explore how the desktop computers. I'll be has caught their eye (or ear). fields are set up - before you talking about music, but Tellico embark on a database of your can catalog anything from The most difficult thing own. Tellico supports eleven stamp collections to comic about databasing or cataloging types of fields. These are well books. And it's lightweight -- (I'll use the terms documented in the excellent only about 9MB fully installed. interchangeably) is setting up help files. The only one I had a the structure. In the bad old little difficulty understanding is I decided it was time to days, once you had established the Dependent field. Clicking catalog my classical-music the information categories around in the sample collection. Classical music is ("fields") in your database, you collections, I discovered how to here are very few always a nightmare to catalog, couldn't change your mind use it in the wine collection. people who don't have even for public or university without setting up a new Basically, if you have several a collection of libraries, because, for example, database and then re-entering items with, say, identical titles, something: books, the cataloger must deal with the data from scratch. With you might want to distinguish Tmusic, movies, matchbook multiple recordings of one Tellico, you can add, subtract, them by year. Creating a covers, rocks, girlfriends. At piece of music -- even by the or reformat fields at any time, Dependent field that contains some point, that collection will same performer(s) -- and a although you'll probably have references to the title field and grow to where you can no recording of any piece of music to manipulate your data, since the year field will produce a list longer keep everything sorted can be bundled with pieces no database program can of titles with their appropriate in your head. That's where different from those in other guess how to shift things year. You'd want to keep the Tellico comes in. It's available CDs. In addition, conductors about. I recommend that you title and year as separate fields in the Ubuntu repositories may record the same start with 50 to 100 of the so that you can join them to since Dapper, and the symphony with various items you want to catalog. By other fields, or list them by homepage is at: http://tellico- orchestras, and there may be the time you've entered all that themselves. project.org/ piano versions of symphonies data, you'll have a pretty clear and symphonies with soloists, idea of the possibilities of what For those of us with insistent What makes this review and so on. So, classical-music kind of information you might friends, Tellico allows your different, I hope, is that I hold a lovers with large collections want to access in the future. loans to be tracked by degree in library science, and can use help in determining recipients and dates, and it was involved in the whether a piece of music, or a Tellico comes with several also allows the insertion of development of one of the first particular performance of that sample collections. You might reminders (using KOrganizer) -- if not the first -- library piece, is in their collection want to start with one of them - to ask for payment. I'll be

full circle magazine #28 25 contents ^ REVIEW: TELLICO making heavy use of this once set up (in the latter) the way I prepare for some frustration -- I get my personal library into wanted. not with the program, but with Tellico. yourself for not predicting One disappointment I have everything you're going to If you so choose, most fields with Tellico is the Table field. want in the database, or how can contain multiple entries. Like all of Tellico, it's highly you'll want to access it. That's For example, if there are configurable. However, it's not quite normal, even for people several performers on the easily editable. That is, if you like me who've been working same CD, you can enter them enter data and make a typo, with other people's collections all in one field, separated by you can't correct the one letter. multiple entries in that field, for decades. Tellico's semicolons. If, however, you Clicking in any of the table's they display together unsorted, preconfigured sample want those entries to be listed boxes erases all the data in and that's how the reports collections will cut down on the separately in an alphabetical that box. Nor can you paste come out. For most people this frustration considerably, sort, you have to configure that text copied from somewhere is probably not a huge although that's hard to field to format as a name or else. I searched the Web and problem, but the works of appreciate unless you've first title, even if it isn't. There's no found no one complaining classical composers often have tried to set up a database from real negative consequence to about this shortcoming. If it's a catalog numbers so that one scratch. this, unless you're anal about bug in the current version, it's can tell one concerto grosso capitalization. And you can as yet unreported. from another. Having a printed On a final note, Tellico would create exceptions to list of album titles sorted by be great for indexing your capitalization in the basic Another disappointment is these numbers - that I could copies of . All you'd Tellico settings -- just make Tellico's limited ability to keep in my wallet - could save have to do is set up fields for sure you don't use terms that generate reports. Many of the me some money when I'm in Issue Number, Author, Title, should be capitalized under fields in my music collection the CD store, because I'd know Subject, Page Number(s), a other circumstances. have multiple entries -- for from the list if I already own a yes/no box for whether the performer or featured copy of the work. It may be, article is illustrated, and Tellico can import data from instrument, for example. While however, that I just haven't whatever else you might Amazon, IMDb, and CDDB, as I can, with a click of the mouse, explored all of Tellico's search for in back copies of well as from other file formats. generate a list of names or possibilities yet, or familiarized . Tellico comes with the It can also export to various file instruments, I could not myself with the program ability to add ratings for the formats. I haven't tried any of manage to generate a sufficiently to invent a quality of the item you're these features yet, except for printable report of this workaround. cataloging/indexing, so you importing this database into information. Tellico's reports could even rate each article to Tellico from OpenOffice contain the fields one chooses If you've never used a know at a glance whether it's spreadsheet after several to display at the top right of program like Tellico before, worth re-reading. Oh my! The failures at getting the database the screen. When there are possibilities are endless!

full circle magazine #28 26 contents ^ MOTU INTERVIEW behindmotu.wordpress.com Stephane Graber

When did you get involved with applications directly in Ubuntu, focus on in Jaunty? the MOTU team, and how? fixing some others, and helping others to do the same. And, of Improving LTSP to get desktop- My first package to be course, long discussions on IRC like experience, getting ltsp- uploaded to the archive was :) cluster uploaded to Universe, pastebinit - a command line improve a bit iTalc’s integration pastebin client; this one was Any advice for people wanting with LTSP, and getting more uploaded on the 7th of to help out MOTU? educational packages Age: 18 December 2006 (feisty). uploaded/improved for Location: Just go on IRC, ask people, and Edubuntu. Sherbrooke, QC, What helped you learn read some wiki pages. CA packaging and how Ubuntu Packaging is not as hard as it What do you do in your other IRC Nick: teams work? may look. spare time? stgraber I mainly learned how Ubuntu Are you involved with any local I work on upstream LTSP, and How long have you used Linux, works through discussions with Linux/Ubuntu groups? on some of my personal and what was your first distro? people on IRC, and reading projects (pastebinit and a few some wiki pages. Having been I recently moved to Canada others). Yeah, I don’t really do I’ve been using it for almost 9 around for a long time, I where I’m not involved in any anything beside working on years now. My first distro was actually saw most of these LoCo, but I’m still one of the open source projects. Mandrake Linux; I then team structures being created. admin of the Ubuntu switched between distros for a Switzerland LoCo team. My role few years including Gentoo, For the packaging, I initially is now to Corel Linux, Caldera, LFS, simply read the Ubuntu mainly follow Slackware, Red Hat and Debian Packaging Guide, then followed the - to finally use Debian, and the REVU process doing discussions then switch to Ubuntu. changes when needed. on the mailing-list How long have you been using What’s your favorite part of and on IRC. Ubuntu? working with the MOTU? What are you Since Warty. Being able to get my favorite going to

full circle magazine #28 27 contents ^ [email protected] LETTERS PLEASE NOTE: some letters may be edited for space reasons.

read the Amarok 1.4 3. He suggest a downgrade review by Damien to version 1.4 from version LETTER OF THE MONTH McGuignan (FCM #27), 2.0.2 that was shipped with and I think there should be Jaunty, but omits several I recently finished my elementary are helping me converting Isome clarifications and important details: school and am getting ready for others. The hardest thing to corrections: high school. The computer lab in convert are the gamers. The other 3.a. Amarok 1.4.x is not which I learned was an awful people (those who use MSN place with old computers running Messenger, a browser and 1. The article starts with: maintained anymore by its Windows 2000. Recently, in one ) are easier to convert. "Version Amarok 2.2 is now developers, and the of them, Windows didn't work and So, now, that's how I spend my out". This is not correct, the maintenance by the Kubuntu the teacher asked me to format it. free days, helping people with packagers of Amarok 1.4.9.1 I told her all about , Ubuntu and making them legal latest stable release of Amarok GNU and Linux and she said let's because in Kosova they don't is 2.1.1, available in the jaunty shipped with Hardy will end in try it, so I installed respect the copyright laws. backports repository. But there October this year, the Kubuntu Ubuntu on that PC. are good chances that Amarok version of Hardy being not an I am also working for a free LTS release. This will leave the The teacher started learning software conference that's being 2.2 or at least a beta version of Ubuntu and Open Office and said held in Kosova this year. it will eventually be shipped users pretty much alone with it's very easy. I am now the leader with Karmic. the software. of a Linux User Group. Some of the computers I installed Ubuntu 3.b. Installing software from on had 64MB RAM, 6GB hard 2. He states this is a review drives, 8MB graphic cards, old of Amarok 1.4, which is most a PPA is installing unsupported IBM machines. unlikely from the screen shots I 3rd party software, there is can see, and it would be quite absolutely no support given Some students asked the teacher from the Kubuntu Community, how to get Ubuntu, and the old and outdated. I think this teacher directed them to me, so should read "Amarok 1.4.9.1", unless some volunteers step in. they became part of our LUG a version released on April 12, (Linux User Group) here in 2008, whereas version 1.4.0 3.c. There is no support Gjakova. We are holding weekly offered by the packager of this meetings. Some of these new was released on May 17, 2006. users are amazed, not only by There is nowhere in this article PPA, which should be clearly seeing Compiz, but most of them I can see anything stating that stated in this article. It should converted because of the fact this will *not* be the 1.4.0 also be clearly stated that that there are no viruses. neither the Amarok developers version. Some friends I converted earlier nor the Kubuntu Ninjas will

full circle magazine #28 28 contents ^ LETTERS accept any reports or 've been looking for a In the past, Linux had It would be great if you could complaints regarding this video capture program overcome most of the barriers start a tutorial on desktop downgrade. that works under Ubuntu it was having due to hardware databases, as I think it would (running version 9.04) that support etc., but one important be very useful for all day to aka Mamarok Iis similar to FRAPS. If point which is significantly still day Linux users. unfamiliar: FRAPS is the most lacking is a good quality, rapid Ed: prominent program to capture aplication development in-game action for MMO's or database like Microsoft Access. other computer games in Open Office Database is good, Ed: Windows. but still lacks the functions available in Access, such as While FRAPS works under Forms, SubForms and such-like. WINE for some programs, I am trying to find a native version that will work on both WINE, and non-WINE, games. While there are various screen capture programs that take snapshots, I am coming up blank on video capture . programs.

n issue 27 CW Moser says that the major pain of Virtualbox is in having to 've being using Ubuntu for re-compile the kernel the last two years and I Ievery time a new version have completely settled comes out. There is a program on Ubuntu and am very called DKMS, available from Ihappy with the developments, Synaptic, that does the work stability and (most for you. Ever since I discovered importantly) the user this, I have had no problems friendliness of the system, with new versions of Virtualbox. which was lacking in earlier flavors of Linux.

full circle magazine #28 29 contents ^ UBUNTU WOMEN

finishing up my BSc in decided that I'd learned all I ask one question, and Computer Science could about Mac OS, sold my answering five others. (http://web.cs.toronto.edu/) Mac, and bought a bare-bones and Equity Studies laptop with no OS preloaded. (http://www.utoronto.ca/equitys Four months, untold reinstalls, tudies/) at the University of distro changes, kernel Toronto, and am one of the compiles, and even a few founders as well as a board patches of my BIOS later, I had member for HackLab.TO, a working Ubuntu laptop (and Toronto's hackerspace. In my had dropped out of school and copious free time I'm an avid started working for a telco). It and eclectic reader, a cyclist, was an amazing, immersive, and have recently started and maybe a little obsessive running. way to start using and learning GNU/Linux, and I've been hooked ever since.

LH: Gr8 Designs for Gr8 Girls was amazingly fun. I had the LH: In high school, I was privilege of introducing nearly involved in a group called the LH: From a purely practical a hundred eager grade 8 Ottawa Carleton Educational perspective, I am at my most students to the Arduino micro- Space Simulation productive on Ubuntu. I use controller platform. We talked : Hi Amber, (spacesim.org). We had a mock Red Hat extensively at work, about the idea of making the thanks again for interviewing "space station" and ran various but my desktop and netbook things around us smart by me! I live in Toronto, Ontario, flavors of Linux - mostly run Ubuntu. putting computers in them and Canada, but travel excessively. Mandrake. I got my first taste then we made LED throwies, By day, I wrangle Windows of *nix there, but it didn't really On the meta level, I love the which the girls seemed to viruses for a major anti-virus catch. I asked for a Mac when I community which I've found really like. Part of what makes company - obligatory went off to University to study among Ubuntu users, from the Gr8 Designs such an important disclaimer here that the views physics. Canadian LoCo team to Ubuntu program is that we're talking to below are mine, not theirs. I'm Women to the joy of popping girls at a young age, where also a part-time student In my third year of university, I into #ubuntu on to they have been exposed to

full circle magazine #28 30 contents ^ UBUNTU WOMEN fewer stereotypes about who conference I'm helping out with sticking with . I "can compute". Instead, they in Toronto. understand how, for the get to meet and learn from a "mainstream" / less paranoid bunch of women who are user, this isn't a vital feature, working in the field, and doing but I think it should be :) (I all sorts of neat things with should state my bias in the computers. above, though - I'm a mentor in LH: Thank you, Amber! the I've been involved for a couple program this year, and my of years now with the Ubuntu LH: I'm looking forward to student is working on OTR.) Women project, which is a seeing the results of all the fantastic community of women work that's been done on and allies who are interested in improving boot speeds. I've helping solve bug #1 both by been pretty happy even getting more women involved running whole disk encryption in Ubuntu, and creating a on my netbook, but it'll be supportive environment for awesome when booting up those of us who are already takes less time than it does for involved. me to enter my absurdly long pass-phrase. I'm lucky that my I've known about LinuxChix for netbook (the MSI Wind) has LH: I'm really passionate about years, but only recently signed had effectively perfect support my local community, and I'd up for the mailing lists and since 9.04, but improved love to see more Ubuntu folks started lurking in the IRC support there is going to even get involved in hackerspaces channel, and have found a further lower the barrier to and more hackerspace folks in great deal of support and entry for Linux on portables. Ubuntu. I think there are some general awesomeness there as great opportunities there to well. I think the replacement of cross-pollinate volunteers, and Pidgin with is going to gain different perspectives. Next year, I'd really like to be a huge and interesting hackerspaces.org is a great attend the Grace Hopper change, but I really hope the resource for finding (or Celebration of Women in Empathy folks devote some starting!) your local Computing, which the Anita time to implementing Off-The- hackerspace - there may be Borg Institute runs, but this Record Messaging one closer than you think! year it's a little too close to (cypherpunks.ca/otr) in the SecTor (sector.ca), the security client soon. Until then, I'll be

full circle magazine #28 31 contents ^ UBUNTU GAMES

destroy, the more points you Grid Wars is a great game - GAME NEWS gain. Eventually you will be it is addictive and can be swamped by hundreds of played in quick short bursts. • objects and have points in the However, unlike other short millions. The primary weapon is games I have played, I found - In an sufficient for taking out plenty that I am playing this game interview, John of ships, plus - with it being more in the long run. Thanks to Carmack suggested that id unlimited ammo - there will be simple but affective. Excellent its very addictive gameplay, may stop supporting Linux a lot of just holding down the use of colour, and the stylised and blowing everything up for their new 'Tech 5 fire button. Bombs become graphics, suit the game well. looks amazing! Engine'. So, the next very useful in situations when The visual effects of explosions Wolfenstein game may not you are flooded - they can wipe and weapon fire all over the The deb installer (technically only for out everything on the map in Hardy and Intrepid, but should work be coming to Linux. map make the game in Jaunty) can be found on one drop. However, use wisely. impressive to watch and enjoy. GetDeb.net at: There is a limited number of However, I find the sound www.getdeb.net/app/GridWars+2 pace sim shoot-em- bombs. You have three lives, affects weak. It uses basic ups have been and once you lose all your sounds for the explosions and incredibly popular in lives, game over. The game weapon fire. The sounds do not Score: 7 / 10 arcades due to S features only one game mode - complement the graphics and enjoyment of blowing shoot everything on screen to style of the game. This is a Amazing Visuals everything up in space while gain points. After each game, it shame, since the visual effects Enjoyable gameplay racking up points! Grid Wars 2 saves your high scores, which are stunning. is no different. Originally, the is nice. It's enjoyable trying to game was a clone of the Poor Sound beat your best score. Although, The controls are very well Lack of game modes popular on it would be nice to have suited for the game. It is all Xbox. Grid Wars brings the different game modes. Grid controlled using the mouse. space sim to Linux. wars has different maps to play Moving the mouse controls the on; however, the only movement of the ship, works Ed Hewitt The of the game is differences are changes in the like moving a mouse cursor. focused around flying a small background. Fire your primary weapon with space craft around the map, left click, and drop a bomb with shooting at anything on The visuals of the game are the right. screen. The more objects you

full circle magazine #28 32 contents ^ Q&A [email protected] Written by Tommy Alsemgeest Please include as much information as you can about your problem.

I’m working with Sun .tar and .tar.gz files It seems to be Virtual Box, but, every sudo apt-get install fusion- are archives, anything possible to do this time I start a VM, the icon could be inside them. with VLC. Install it Q window has a Quite often, in Linux, with: transparent background. How and run it from Applications > Athey will have the source files A can I fix this? I enabled a System Tools > Fusion Icon. for the program, which you sudo apt-get install vlc transparent terminal with Now, when you want to use have to compile before “devilspie” before (just in Virtual Box, right click on the installing, using the commands Open the video, and slow it case), but – even without the tray icon, Select Window you have listed. The creator of down by pushing the minus (-) program running – the problem Manager > (that is, if the archive could put any kind key. persists. you are using Ubuntu.) After of installer in there, so the best you have finished with Virtual idea is to look for instructions How can I add the It looks like this is a Box, you can change back to on the site you downloaded it menus that have known issue. For now, Compiz in the same way that from. Applications, Places however, the work- you switched to Metacity. Q and System to the bar around is to either I coach baseball and where the window names show Atemporarily or permanently I can’t install .tar or I'd like to have the up. In windows, when you open disable compiz effects. If you .tar.gz files! To install ability to "film" hitting a program they appear in the want to permanently disable it, these files, I used to Q and pitching, and then same panel that has the menu Q extract it to a folder bar, I want to create something go to System > Preferences > play it back as slow as frame- Appearance, and on to the and, changing directory, run by-frame. That way, I can like that. Visual Effects tab. Click on the the ./configure, (sudo) , explain to the players exactly "None" radio button, and click and commands in what they are doing right and To do this, right click "Close". You won't get the terminal. Every time I run wrong, in each time-segment on an empty space on pretty effects, but you these commands, the terminal of their pitching or hitting. Is the bottom bar (you shouldn't get the transparency replies “ there a good slow-motion may have to move ”. As most Aanother item to make room), either. If, however, you still playback program for use with want the effects, you can software comes with those common-format video files, click "Add to panel", scroll disable them while you work in tarball extensions, I can’t that runs under Ubuntu? down, and select "Menu bar" Virtual Box. I find the easiest install any of them. (or "Main Menu" if you want a way to do this is using "Fusion more windows-like menu). Now Icon". Install it with: click "Add", then "Close".

full circle magazine #28 33 contents ^ MY DESKTOP [email protected]

My name is Wes and I am from New Jersey USA. I have been using Linux for about 3 I have been running Ubuntu 8.04 Hardy Heron since about August last years now, and can't get enough of it. year, and various Ubuntu versions for about two years. I dumped Windows about a month after installing 6.06 from a magazine. My present I am a desktop support tech, and spend set-up is an AMD Athlon 64 processor and a ASRock motherboard, both of all day working on Windows. So, when I which are, like me, getting a bit long in the tooth. get home, I want something that just works. I can just sit down with my laptop I prefer an uncluttered desktop, and I don't believe the number of icons and do what I want – not what the OS Windows users have to wade through to find a program. Using Gimp, I wants me to do. I was using Kubuntu, but stretched a standard 420x300 graduation to 32x1024 and adjusted the just made the switch to Ubuntu about two color to use as the background for the bottom panel. -dock provides months ago, and have been in bliss. the program launcher, but Compiz deals with the rotating cube. I change the wallpaper according to my mood, but most of them come from kde- -AKA- Noel Vh. look.org – this one is called Red Sunrise.

full circle magazine #28 34 contents ^ MY DESKTOP

This is my personal notebook, an Athlon X2 2.0 GHz x64, 2GB RAM, 160 GB HDD, NVIDIA GeForce 8200M graphic card, and a Realtek I am an 18-year-old college student. When I first got my system, it had Multi-Card Reader. The wallpaper is Windows XP pre-installed. Before that I often used Windows 98. I started from www.guistyles.com, and my using Ubuntu Dapper drake, and have been using Ubuntu for over 18 screen resolution is 1280x800. I´ve months. been using Kubuntu since 7.04, and I´m using 8.10 now (Intrepid Ibex), Here's my Ubuntu 7.10 (kernel 2.6.22-14-generic, and Gnome 2.20.0) with KDE 4.2, Oxygen icons, and Desktop. I use a Pentium 4 (2.8 GHz) CPU with 512MB RAM and Original Serenity theme. I use it for D865Perl Motherboard from Intel. My Ubuntu has the compiz-fusion plug-in. studying, and working with maths In the picture you see the Emerald theme named "Eternal", and the Icon and programming. theme "Gion" – another favourite is "Dropline Neu!". The top panel is configured like the one in Macs. The Awant Doc that you see at the bottom, and my theme, make it look like a real Mac desktop. I have all the tools ranging from programming tools to multimedia applications. I am very happy now: I don't need to format my system often because of viruses or slowdowns, as I often encountered during my Windows 'XP'erience. I am more productive and comfortable with Ubuntu.

full circle magazine #28 35 contents ^ TOP 5 SIP Clients

Gizmo5 http://gizmo5.com/ http://ekiga.org/

Gizmo5 is one of the oldest Ekiga, written by Damien SIP programs around. Sandras, is the de facto Created by Michael SIP/NetMeeting client installed Robertson's SIPphone in Ubuntu. Originally known as company, and originally GnomeMeeting, it includes a known as the Gizmo bevy of local network features Project, Gizmo5 has like support for LDAP, morphed from an SIP client /ZeroConf. It also to the leading SIP host, and supports standard text, audio, challenger to Skype's and video conversation tools, proprietary service. It plus status , an sports file transfer, address book, and much more. voicemail, and conference calls. For a small fee, you Ekiga is installed by default on can also receive a phone Ubuntu. To install it on a non- number and purchase call- Ubuntu machine, use the out credits (similar to ` ` package. Skype).

Since Gizmo is proprietary, it's not in the Ubuntu repositories. But, you can still install it with an Ubuntu package: use the package listed on the download page at http://url.fullcirclemagazine.org/f6db14.

full circle magazine #28 36 contents ^ TOP 5 - SIP CLIENTS

SIP Communicator QuteCom http://www.sip- http://www.qutecom.org/ communicator.org/ QuteCom, formerly known SIP Communicator wins the as WengoPhone, is a (dubious) award for being powerful -based VoIP the only Java-based client. Like SIP application on this list. Communicator, it supports Despite this, it does a multi-protocol chatting, heckuva good job fitting in including MSN, AIM, Yahoo, to the Gnome desktop. And and Jabber. It also supports it's packed with features: normal SIP features, not only does it support including -based standard SIP features, but video calling, SRTP/AES it also includes support for encryption, and not-so- Jabber, AIM, Yahoo, MSN, normal features, including and beta support for audio emoticons. If you're a Facebook. It also has an KDE user and you like incredible amount of power, QuteCom is an customizability, including awesome alternative to the options for media Gnome and Java-based encodings, advanced programs. notifications, and a huge number of plugins. To install QuteCom, use the third-party Launchpad repository at http://url.fullcirclemagazine.org/1885a6. To install SIP Communicator, use the package on the download page at http://url.fullcirclemagazine. org/70453d.

full circle magazine #28 37 contents ^ TOP 5 - SIP CLIENTS

Twinkle http://www.twinklephone.com/

If you're one of those Kubuntu users who want an alternative to QuteCom, try Twinkle (my client of is presented by members of the choice). Written by Michel United Kingdom’s Ubuntu Linux community. de Boer, Twinkle packs tons of features, including We aim is to provide current, topical information about, and KAddressBook integration, for, Ubuntu Linux users the world over. We cover all aspects of Ubuntu Linux and Free Software and appeal to everyone advanced call handling, from the newest user to the oldest coder, from the highly customizable command line to the latest GUI. notifications, encryption, file transfer, and even a Because the show is produced by the Ubuntu UK command line interface. It community, the podcast is covered by the Ubuntu Code of also has partial support for Conduct and is therefore suitable for all ages. presence and a simple address book. All in all, http://podcast.ubuntu-uk.org/ Twinkle is the perfect Qt VoIP tool.

To install Twinkle, use the ` ` package in the `universe` repositories.

full circle magazine #28 38 contents ^ F

HOW TO CONTRIBUTE - Ronnie Tucker [email protected] - Rob Kerfia We are always looking for new articles to include in Full Circle. For article [email protected] guidelines, ideas, and for issue translation, please see our wiki: - Robert Clipsham http://wiki.ubuntu.com/UbuntuMagazine [email protected] Please email your articles to: [email protected]

Mike Kennedy David Haas Jim Barklow If you would like to submit , email it to: [email protected]

Send your or Linux experiences to: [email protected]

Hardware/software should be sent to: [email protected] And our thanks go out to Canonical, the Ubuntu Marketing for Q&A should go to: [email protected] Team and the many translation teams around the world. screens should be emailed to: [email protected]

... or you can visit our at: www.fullcirclemagazine.org

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. Send them to: [email protected]

full circle magazine #28 39 contents ^