Posts in category "linux"

a year with Linux

Last week saw the first anniversary of my adoption of Linux on my desktop PC so I thought Id write a quick summary of how things went in the last 12 months as I always enjoy reading real-life user adoption stories.

Initially, I installed Linux Mint 7 (Gloria) on my aged Dell Dimension and in the following weeks, I subsequently upgraded to Linux Mint 8 (Helena) in November and again in May 2011 when Linux Mint 9 (Isadora) was released.

In April, I finally heeded some not so subtle hints from my wife and bought her an relatively inexpensive Acer Aspire laptop for her birthday. The machine came pre-installed with Windows 7 but, as she had been gradually getting used to the Linux Mint interface and had never previously used Vista or Windows 7, I took the rather bold step of unpacking the laptop and surreptitiously installing Linux Mint. This was mainly because I felt constantly switching between Linux and Windows may prove to be rather confusing and hinder the drive for Linux adoption.

The laptop proved to be a great success and my wife initially used AbiWord to write essays for a part-time course she was studying. We had the inevitable hiccup when she emailed AbiWord format documents to colleagues at work who were unable to read them. Although I managed to get AbiWord to use the Microsoft Word .doc format by default, I still saw the odd compatibility issue which led me to install Open Office Writer.

In June, my wife had to give a short 5 minute presentation for an interview and created the slides in Open Office Impress and then presented her work, from a USB stick, on a Windows computer using Microsoft PowerPoint. Although I had tested this route (48 times) myself, this successful use of Linux software went down very well and seemed to boost her confidence that using this ‘Linux thing' wasn't so bad after all.

My wife mainly uses the two computers for Internet access, email, simple word processing and printing. It was quite interesting to see that she fully expected everything (email, files, Firefox favourites) to be identical and immediately available on both machines. Obviously, this isn't the case out of the box but luckily, my ISP, Virgin Media, had recently converted to the Gmail platform with IMAP available so I configured Thunderbird on both PC's and, lo and behold, all her email is simultaneously available on both machines as well as being backed up on a server elsewhere.

For file synchronisation, I toyed with configuring simple network file sharing between the two Linux boxes but as the desktop PC isn't always turned on, this wasn't too attractive. I also installed DropBox which I thought would be ideal but, by then, the wife had already become accustomed to sending documents to herself via email which did the job just as well.

For browser synchronisation, there was a useful Firefox addon called Xmarks that worked seamlessly. Unfortunately, the Xmarks service will be closing down at the end of the year so I have converted to Firefox Sync that seems to offer similar functionality if not quite as polished.

As the year progressed, my wife increasingly used the laptop almost exclusively and really only used the desktop PC for printing documents. This was a blessing really as it allowed me to embark on a period of concerted distro hopping to see what other Linux distributions were available. After experimenting with Debian, Linux Mint Debian, Fedora, Ubuntu, PepperMint and Arch, I eventually settled on Fedora 13 (Gnome) which is very stable and comes with all the main software packages I use. Being based on RedHat, Fedora offers a nice contrast with Linux Mint which is based on Ubuntu which, in turn, is based on Debian.

As for the future, well, my wife keeps asking for a quick Nautilus tutorial on how to effectively manage and organise her growing number of files as currently, her documents and downloaded papers from the Internet are liberally scattered across ‘Downloads', ‘Home Folder' and ‘Documents' and the temporary folder used by Firefox.

My wife seems quite content with Linux; in fact she recently recounted colleagues telling war stories over lunch about their computers being out of action after being struck down by viruses and having to purchase a Microsoft Office license just to be ‘able to work on documents at home.' My wife told them that her husband had installed this Linux thing onto her computer so she didn't have to worry about viruses and she used a ‘free' version of Word.

From my point of view, the laptop is fast and still boots as quickly as the day I installed it. No Windows or vendor crapware, no spyware and no crippled, limited period anti-virus program suites to be uninstalled which would have undoubtedly been the case had I left Windows 7 on the laptop.

There are a couple of minor irritations; printing on Linux is OK but it is still difficult to accurately monitor the ink levels on the Canon Pixma ip4000 without hooking up a Windows laptop and my wife is able to occasionally crash Open Office Writer simply by copying and pasting content from Web pages into a document which is rather embarrassing.

The laptop runs Linux Mint 9 (LTS = Long Term Support) which means this version will continue to be supported for a full 3 years until May 2013. However, there is also the tantalising prospect of migrating to Linux Mint Debian which looks and feels like Mint but decouples the dependency from Ubuntu and is based directly on a rolling Debian release which is quite attractive as, theoretically, this would never need upgrading (as in a re-install).

Also, today, hot on the heels of last week's Ubuntu 10.10 release, the Mint development team has just announced the first Release Candidate for Linux Mint 10 (Julia) today which is another possibility.

As for the desktop PC currently running Fedora 13, I quite like Fedora as it's stable, fast, looks great and offers a comprehensive list of up-to-date software available in the repositories. Fedora also appears to be gaining in popularity so I may well upgrade the desktop PC to the imminent release of Fedora 14.

how I lost my Linux virginity

This week I am attending an excellent training course on Linux System Administration at Oracles offices in Moorgate, near London. The course is given by Harald van Breederode, an excellent trainer who manages to combine deep technical, real-life expertise with a rare ability to explain complex things in simple terms with a sense of humour.

As is traditional, each attendee was asked to give a precis of his/her job role, star sign, experience with Oracle, most embarrassing professional moment, any exposure to Unix (Linux), favourite band and expectations for the course.

Although I have used various flavours of Unix since embarking on a degree in Computer Science at Warwick University in 1981 and then working for a variety of software houses, my first experience of Linux didn't come until December 1999.

At that time, I was working at Sequent and had ported a lot of GNU software utilities and tools to Dynix/ptx so I had an interest in GNU software. In the midst of the dot com boom, I had responded to a job posting on Usenet and subsequently been interviewed for a Oracle developer role at a small UK Internet company. The embryonic company had less than 10 employees and provided marketing reports, segmentation and campaign management based on click-stream analysis.

If successful, my first task would be to migrate 15 production Oracle databases from Oracle 8.0.5 on Windows NT to Oracle 8.1.6 on Linux. After the interview, I figured it might be prudent to actually familiarise myself with Linux and how to install and configure Oracle on this platform.

Back then, our house possessed a single desktop computer running Windows 95 so the first step was to obtain a copy of the Linux operating system. I sent off the princely sum of £3 (including postage and packing) to the wonderfully named Linux Emporium (which I am pleased to see survives to this day) and waited patiently for my CD to arrive in the post. Norma raised her eyebrows at a blank CD anonymously packaged in a plain brown envelope but still.

This method of Linux distribution seems a little quaint and old-fashioned when, nowadays, you can download and burn a Live CD in a matter of minutes but back than I had a dial-up 56K modem and downloading a full Linux distribution would probably have taken 3 weeks.

As I recall, I had sole use of the PC back then (Norma didn't use it for anything) so I didn't have to bother with a dual-boot system or any pesky backups so I simply inserted the CD, immediately made a pigs ear of partitioning the hard disk, inadvertently formatting it in the process and proceeded to install RedHat.

Given that I knew that my prospective employer had already selected as SuSE the preferred platform (they offered a bundled support package for Oracle and SuSE), the choice of RedHat seems a rather odd decision. I can only assume it was because I had already seen more FAQ's, HOWTO's and community support available for RedHat than SuSE. Although, knowing me, the fact that the RedHat CD was 50p cheaper than SuSE can not be ruled out.

Obviously the years, coupled with the drink and drugs, have taken their toll, so my memory is slightly hazy after 9 years but I do remember a tinge of excitement as white text on a black background announcing system messages detecting (or more likely failing to detect) various elements of hardware and peripherals rapidly scrolled past my eyes.

Eventually, I was surprised and delighted to see a desktop complete with a login box rendered on my screen. However, I was equally nonplussed but not wholly surprised when my mouse didn't work. Now although 'Tools are for fools', the Oracle 8i installer is normally run as a GUI (Java) application so, unfortunately, I had to resolve this issue.

Not for the first time, I was now completely stuck as I only had one computer. My impetuousness meant I couldn't simply boot back into Windows to research the problem so I did 'Altavista'ed at work, printing out a wealth of similar looking issues and resolutions and started troubleshooting.

Norma was a little suspicious of me being locked away for hours on end, messing around on the computer with my new shiny, blank CD but graciously ignored the alternating screams of anguish and ecstasy emanating from the bedroom.

I soon got comfortable with booting to a command line with no Windows ('init 3') and actually managed to configure a device driver for my mouse and I believe I may have even recompiled the kernel. Not because I needed to but well, because I could.

When I eventually got movement out of the rodent and was able to log in, it was incredibly satisfying.

After that, installing Oracle was fairly straightforward as I had already used Oracle on Solaris. However, I recall running Oracle in my environment was a rather different matter as I was perilously close to the absolute minimum specification (64MB of of physical memory) required for Oracle 8i.

All of this work paid dividends as I was summoned back for a second interview and I was able to talk a little more knowledgeably about the potential issues and pitfalls of a Windows to Linux Oracle migration.

Needless to say, this was rather a verbose answer for the course so I just said 'I once blagged a job as an Oracle DBA managing Oracle 8i on a handful of self-built servers running SuSE.'