Large file support with an Unslung NSLU2

I have written previously on how cool the little NSLU2 is as a customisable NAS device. I have set mine up as a little backup device, it silently backs up my server files (using rsync), creates tar files from all the files and then presents these archives to Retrospect on my Mac for backing up to external media and taking off-site. Unfortunately the default 'ls' and 'tar' programs that come with the Unslung distribution do not support large file sizes or long filenames to fix this problem download the far more up-to-date versions using ipkg:

Migrating to and using Scalix 10

Last week this post on my local Linux user group got me rethinking email servers. The last time I did this was about six months ago when I made the move away from Hula onto Zimbra. At the time I looked at Scalix 9 but was deterred by its need for X-Windows during the install process and the overwhealming amount of installation documentation that came with the 100+mb download. I decided to go with Zimbra because it offered a text-based installer and some very nice looking UI features on the webmail client.

SSL-enabled MySQL rpms for SUSE 10

Unfortunately the default MySQL binaries for SUSE 10 have been compiled without SSL support. Why this is a case is difficult to determine, the SSL-enabled server and client seem just as reliable as their non-SSL equivalents and with OpenSSL being used it would not seem to be a licensing issue. Anyway below are the SSL-enabled rpms generated from SUSE 10's MySQL srpm package:

For more information on running MySQL 4.1 with secured connections checkout the excellent online MySQL documentation.

Novell Linux Desktop 10 & more 'Cool' apps

Novell has announced a public preview release of Novell Linux Desktop 10. It is looking really good, that new 'Computer' menu (aka Start) they have introduced looks really slick and extremely functional. There is a tonne of good looking things in the upcoming NLD10 release, many of which are demonstrated in the some very good promotional videos from Novell.


OpenSUSE 10.1 running Google Earth and Skype natively (Click to enlarge)

What is even better is that larger software makers like Google and Skype are releasing their flagship software for Linux. On my OpenSUSE 10.1 test system I have easily installed Picasa, Google Earth and Skype and had them work first time without any issues. It is really good to see that the application offerings are beginning to be fleshed out from the basic OS/browser/productivity offerings.

Quick howto on building a Linux (SUSE) kernel

This is a quick step-by-step guide to compiling your own kernel in SUSE. Whilst thankfully no longer a requirement for most it is handy to know.

1. Using Yast install the kernel source, GCC and ncurses-devel (plus any dependencies).

2. Change to the /usr/src/linux-x.x.x directory (where x.x.x is the kernel version)

3. Configure the kernel using menuconfig (requires ncurses-devel package).

make menuconfig

4. Give the kernel a unique name by editing the .config file created by the kernel config process. Look for the EXTRAVERSION parameter and name it something other than default. If you do not specify a unique kernel name you run the risk of overriding the default kernel and modules (which means no fallback position if things do not work).

The most logical argument for a Google OS so far

I was listening to the Gillmor Gang yesterday and the guest was Jason Calacanis, CEO of Weblogs Inc (now part of AOL). He put forward the most logical argument for Google bringing out an operating system I have heard that actually sounded like it could be a success. He believed Google would release a free Linux-based operating system that would be distributed pre-installed on Dell and HP computers. Not only would the operating system be free but it would make extensive use of AdSense in order to deliver targeted advertisements in some integrated manner to users. A good portion of this income would be shared with the PC manufacturers (up to 80%), which would provide significant incentive to ship and support Google OS instead of Windows. Also this post-sale income stream would allow Dell and HP to significantly lower their retail prices on the basis that a good portion of their income would occur post-sale.

Linsys NSLU2, one cool little NAS

Weighing in at a couple of hundred dollars the Linksys NSLU2 is a very tidy little NAS device. It's a small (three CD cases stacked) unit that holds a 266mhz PPC processor (underclocked to 133mhz), 40meg of RAM, two USB ports and one network interface. Linksys have fashioned together a Linux-based OS running Samba to provide a very tidy, home/home-office level NAS device that can be easily administered via a clean web-based interface.

linksys_nas_sm.jpg
The Linksys NAS connected to a 2.5" 80gig drive (click to enlarge)

Where the little box gets really interesting is its ability to be hacked in almost any direction. There is a large community of Linux hackers producing custom Flash images that allow everything from the addition of extra software packages to the installation of a full-blown Debian system on the tiny box. The hackers have cleverly got around the flash memory limits of the onboard hardware through a method known as 'unslinging', or more precisely the ability to boot and run the device off a connected hard drive. Coupled with this there is a raft of hardware hacks that range from the relatively simple (removing the underclocking on the CPU) through to the really difficult (boosting RAM to 256meg by soldering together RAM chips).

Setting up Awstats in an OpenSUSE 10 Apache vhost

Installing awstats is easy in OpenSUSE through Yast. Unfortunately only half the job is done if you wish to activate it for a certain virtual host.

Firstly in the vhost configuration file add the following parameters:

Alias /awstatsicons /srv/www/icons/awstats
ScriptAlias /usage /srv/www/cgi-bin
<Directory "/srv/www/cgi-bin">
        AllowOverride None
        Options +ExecCGI -Includes   
        Order allow,deny
        Allow from all
</Directory>
<Directory "/srv/www/icons/awstats">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
</Directory>

Sambas Recycle VFS provides Salvage-like functionality

samba-logo.jpg
If anyone's used Novell's NSS filesystem they will know how useful the Salvage tool is. All too often a file once thought of as useless is suddenly needed or even worse a useful file accidentally deleted. In a traditional Samba setup this deleted file is lost for good unless a copy exists in backup form. This is fine for some occasions but if you have just spent eight hours working on the file going back to a twelve hour old version is not that appealing.

Samba 3's Recycle VFS (Virtual File System) module solves this problem by providing Salvage like capabilities in a nice Samba container. When a file is deleted on the share it is not deleted from the filesystem but instead its file-pointer moved to the specified recycle directory for later retrieval (just like your standard Recycle Bin).

The Art of Xen

xen.png
In order to install Zimbra without issues I had to setup Xen on my server. This was actually a good thing because I had been thinking of doing so for a while after experimenting with it last year.

Setting up Xen on OpenSUSE is relatively straightforward if you follow the Xen howto on the Wiki: http://en.opensuse.org/Installing_Xen3

Pages