2009-09-16

Wuala on Ubuntu

(Short technical note on how to get Wuala client running on Ubuntu 9.04 Jaunty)

----------------

There's more up-to-date tutorial in Wuala Blog now. You'll definitely find it more usable.

My promo code is still KBNN47BFHA376HG5BGAM. Use it and get yourself extra megabytes. I'll get some too (:


----------------

Wuala requires Java Runtime. I am using Sun JRE 1.6, however, Sun JRE 1.5 or OpenJDK should also be ok.


Part 1. Basic install

Do not follow the fancy Start link on wuala.com. Instead, go to Download section and get Wuala for Linux (direct link).

`wuala.tar.gz` contains folder `wuala`. Unpack it as `~/wuala`, say, `/home/elvis/wuala`. Now start `loader2.jar`:

RughtClick -- Open with Java Runtime


It will create needed infrastructure, load updates and propose you to create an account:



Click 'Create your own free acoount' and fill required fields.

Promo code is optional. You can use mine: KBNN47BFHA376HG5BGAM, just copy-paste it into 'Promo-code' field. This will give you extra 1GB for the next year making it total 2GB of storage, I will get extra 512MB too for bringing new users. Or you can skip it and be happy with your 1GB:



Now add Wuala loader to startup. First of all, create `~/bin/wuala` with the following contents:

#!/bin/bash
# Wuala loader
bash ~/wuala/wuala -silent


`-silent` key will prevent Wuala client from opening its window on startup. Make sure the file is executable:

RightClick-- Properties -- Permissions: [V] Allow executing file as program


Now go to 'System -- Preferences -- Startup Applications' and click 'Add', then create Wuala startup script. Name and comment can be whatever you want, command should be `wuala`, lowercase:



Click 'Save', then 'Close'. Wuala icon will appear in system tray on your next logon.

If you are happy with Java client, we're done. Enjoy.


Part 2. Filesystem intagration

If you want Wuala to integrate more tightly with your filesystem, there is some more magic to be invoked. First of all, have a look at `~/wuala/readme.txt` if you haven't done it yet.

Install `portmap` (apt://portmap) and `nfs-common` (apt://nfs-common):

sudo apt-get install portmap nfs-common


Modify `/etc/fstab` (always do backups!):

sudo cp /etc/fstab /etc/fstab.bak
sudo nano /etc/fstab


Add the following line (should be one line, better if you to copy it directly from `~/wuala/readme.txt`):

localhost:/wuala /home/luzius/wuala/direct nfs \
defaults,users,noauto,rsize=8192,wsize=8192,timeo=60,acregmin=10,noac,intr,nolock,soft


You may need to restart Wuala for changes to make effect. Now go to `~/wuala/direct`. You should see three folders: `myfiles`, `myfriends` and `mygroups`.

All done. Enjoy again.


Part 3. CLI vs GUI

Alternative way. Well, all above is an alternative to this actually (:

Get Wuala:

cd ~
wget http://wuala.com/files/wuala.tar.gz
tar -xzf wuala.tar.gz
bash wuala/wuala


Create an account, (optional) promo code is KBNN47BFHA376HG5BGAM.

Create startup script:

touch bin/wuala
echo '#!/bin/bash' > bin/wuala
echo '# Wuala loader' >> bin/wuala
echo 'bash ~/wuala/wuala -silent' >> bin/wuala
chmod u+x bin/wuala


Add `bin/wuala` to startup, logout and login again.

Add filesystem integration:

sudo apt-get install portmap nfs-common
sudo cp /etc/fstab /etc/fstab/backup
sudo nano /etc/fstab


... and add NFS entry from `~/wuala/readme.txt`.

Ready. Get yourself a beer (:


No comments: