Search the web with Google

Android install

Android installation weblog


Enter your email address:


Jeroen´s weblog

Ubuntu install

Ubuntu installation weblog


Friday, May 29, 2009

FTP site in fstab

Mount a FTP map in the linux filesystem tree.

first in a terminal:

Code:
sudo apt-get install curlftpfs
sudo mkdir /media/provider

Add this line in /etc/fstab

Code:

curlftpfs#username:password@ftp.provider.com/PUBLIC /media/provider fuse rw,allow_other,noauto,user 0 0

where username is your login name at your providers ftp site
password is your password
@fpt.provider.com/ is the ftp server of toyr provider
PUBLIC is the map in your ftp account to use.
/media/provider is the map you created earlier. Here you'll mount your ftp site.

And reboot of type in a terminal (sudo mount -a)

than when you want to mount the ftp site type in a terminal:
Code:

sudo mount /media/provider

Note that the speed of FTP is very slow compared with normal hard disk usage. About 500 k per second on a drive on your own router.
It is possible to use for an network harddisk, but if smbfs is available, that's better to use. That's explained here.

Additional information is found here.

Sunday, May 24, 2009

Synchronisation software that really works

I discovered Synkron as a synchronisation software tool that really works and has a nices UI that Unison has.

You can find the info here.

They offer an alternative repository for Ubuntu Hhardy, Intrepid and Jaunty.

Friday, May 15, 2009

Nautilus scripts

http://g-scripts.sourceforge.net/

download the scripts, copy them into ~/.gnome2/nautilus-scripts/

and in the context menu of nautilus (right mouse button on a file) you 'll find the scripts

Friday, May 8, 2009

UUID in ubuntuA. A Universally Unique Identifier (UUID) is an identifier standard used in software construction, standardized by the Open Software Fou

On this site I found an explanation of UUID's

A Universally Unique Identifier (UUID) is an identifier standard used in software construction, standardized by the Open Software Foundation (OSF) as part of the Distributed Computing Environment (DCE). The intent of UUIDs is to enable distributed systems to uniquely identify information without significant central coordination. Thus, anyone can create a UUID and use it to identify something with reasonable confidence that the identifier will never be unintentionally used by anyone for anything else. Information labeled with UUIDs can therefore be later combined into a single database without needing to resolve name conflicts.

UUID and Partitions

Linux's ext2/ext3 filesystem uses UUID to identify partitions.

UUID benefits

As a sesonded UNIX admin I have to deal with various data storage technologies such as SAN, iSCSI, DAS, scsi disks volumes. Sometime you may need to move storage from one device to another and updating /etc/fstab can be pain in a$$. With UUID Linux kernel should automatically find and map (read as mount to exact location) volumes to storage device. This saves lots of time and avoid /etc/fstab breaks.

However, UUID may be not very useful for single desktop computer at home as you do not have enterprise grade storage and requirements.

How do I find out UUID for /dev/sdb2?

To probe filesystem type and read label and uuid for /dev/sdb2 (or any other device) use vol_id command:
# vol_id --uuid {/dev/device}
# vol_id --uuid /dev/sdb2
$ sudo vol_id --uuid /dev/sdb2

Sample output:

41c22818-fbad-4da6-8196-c816df0b7aa8

List all UUIDs

Use blkid command-line utility to locate/print block device attributes:
$ sudo blkid
Sample output:

/dev/sda1: TYPE="ntfs" UUID="A0F0582EF0580CC2"
/dev/sda2: UUID="8c2da865-13f4-47a2-9c92-2f31738469e8" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: TYPE="swap" UUID="5641913f-9bcc-4d8a-8bcb-ddfc3159e70f"
/dev/sda5: UUID="FAB008D6B0089AF1" TYPE="ntfs"
/dev/sdb1: UUID="32c61b65-f2f8-4041-a5d5-3d5ef4182723" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb2: UUID="41c22818-fbad-4da6-8196-c816df0b7aa8" SEC_TYPE="ext2" TYPE="ext3"

How do I use UUID to update /etc/fstab file?

Simply use following syntax:

UUID={YOUR-UID}    {/path/to/mount/point}               {file-system-type}    defaults,errors=remount-ro 0       1

Open /etc/fstab:
$ sudo vi /etc/fstab
Append line as follows:

UUID=41c22818-fbad-4da6-8196-c816df0b7aa8  /disk2p2      ext3    defaults,errors=remount-ro 0       1

Save and close the file. To mount new partition immediately using /etc/fstab type:
$ sudo mount -a

Thursday, May 7, 2009

Top 10 Open source programs

On this site I found a nice list of nice cross platform open source programs.

for the case it is removed I copied the list here:

Open source applications have a natural inclination to be compiled for multiple operating systems. Although many OS’s and tools are converging in functionality, it’s nice to have a homogeneous environment of favorite programs to make the transition from machine to machine more seamless. I use Windows and work and Linux at home, but that doesn’t mean I have to give up anything in the process. Below are - in no particular order - some of my favorite cross-platform open source applications.

The List

Deluge

Deluge is a bittorrent client similar to the now-official ĀµTorrent in Windows. While this particular program is not alone in this space, I find the interface of Transmission far too simple for my preference. Fortunately, we have choice! Deluge supports popular features such as encryption and web interface. Extensibility is built-in with support for plugins, including an eMule-style IP block list.

Deluge Screenshot

Deluge Screenshot

FileZilla

I discovered this application years ago when it was Windows-only. Since then, the author has completely rewritten it from the ground up using wxWidgets and a variety of other open source tools. FileZilla is an absolutely amazing FTP client that also supports FTPS and FTP along with a bevy of helpful features such as bookmarks, filename filters and proxy support. This utility is one that I install everywhere.

FileZilla Screenshot

FileZilla Screenshot

Firefox

Probably the most well-known open source application, Firefox’s usage share has steadily climbed since pre-1.0 days. It is the second most popular browser after only Internet Explorer and has widely spread on other OS’s where IE is not a choice. The plugin and theme architecture mean that the browser can serve many needs - such as website debugging and even IRC - that once required multiple utilities.

Firefox Screenshot

Firefox Screenshot

hellanzb

Continuing the network theme, we have probably my most favorite application, hellanzb. This is a usenet binary downloading program at its finest. Give it an NZB and it takes care of the rest, including download, parchive check, and extraction. If you use Usenet for downloads, go get this right now. It is officially supported on any Unix-like OS, including OS X. An automated installer and Cygwin guide are available for Windows users. Be forewarned, hellanzb is a command-line tool, which works great in it’s own right. Fortunately, it provides an XML RPC interface allowing GUI applications to be easily built on top of it. Below is a screenshot of one of those tools: Remote HellaNZB GUI. If you’re looking for a UI that is cross-platform as well, tools built on platforms like Adobe AIR will fit-the-bill.

Remote HellaNZB GUI Screenshot

Remote HellaNZB GUI Screenshot

Pidgin

Originally known as Gaim, Pidgin is probably the most-used multi-service IM application across all operating systems. Even though OS X users love Adium, it’s the libpurple engine underneath Pidgin that drives it all. This is another program that supports theme and plugins, increasing its usefulness. I would suggest you try it out, but if you’re reading this, there’s a good chance you already have.

Pidgin Screenshot

Pidgin Screenshot

KeePassX

KeePassX started as a port of KeePass for Windows known as KeePass/L. When the application finally became cross-platform, KeePass/L was changed to its KeePassX. Although it can only read and save KeePass 1.x-style databases, this utility is becoming indispensable in a world of dozens of passwords. The database is stored in your choice of encryption (AES or Twofish) with one or both of password and key file. In addition to simply storing login information, KeePassX can also generate passwords based on your own filters and help automate the filling-in of login forms.

KeePassX Screenshot

KeePassX Screenshot

TrueCrypt

TrueCrypt is another piece of desktop encryption software. It allows users to create self-contained encrypted volumes or entire encrypted partitions. This utility also supports multiple encryption algorithms and forms of authentication. In addition to the end-user tools like a Quick-start guide, the author has posted a very detailed explanation of the internal mechanisms. Geeks rejoice!

TrueCrypt Screenshot

TrueCrypt Screenshot

VirtualBox

My love for VirtualBox is no secret. What I truly love about VirtualBox is that the underlying virtual disk images are OS-agnostic, I can easily move a VDI from Linux to Windows to Mac, and the guest operating system doesn’t care. Furthermore, with the added ability to read VHD and VMDK formats, this has become my virtualization software of choice.

Virtualbox Screenshot

Virtualbox Screenshot

Handbrake

Handbrake is an absolutely amazing video transcoding application. Give it just about any file format and convert it to many destination formats on-the-fly. Recently downloaded a FLV off YouTube and want to keep a local copy on your iPhone? Just a few clicks and Handbrake can help with that. Supports a queue for batch operation and works efficiently.

Handbrake Screenshot

Handbrake Screenshot

VLC

The great thing about VLC is that it can play just about as many formats as Handbrake can convert. All the A/V support is built-in, so there’s no need to worry about gathering the necessary codecs. It can often stand on its own, but also works great as a supplemental video player.

VLC Screenshot

VLC Screenshot