Send a link

Debian



Timezone

To config timezone, run
tzconfig


Then, to update the time, run
ntpdate europe.pool.ntp.org


Loop-AES

(tested on Kubuntu 8.10)

Install it like this
apt-get install loop-aes-utils loop-aes-source
m-a build loop-aes
m-a install loop-aes


And activate it like this
modprobe loop


This should give 2 lines in /var/log/messages
Feb 22 19:40:04 box kernel: [38072.957282] loop: AES key scrubbing enabled
Feb 22 19:40:04 box kernel: [38072.958254] loop: loaded (max 8 devices)


Also see this article about Loop-AES for a more elaborate text.

Xbox Media Center (XBMC)


To install this little beauty, do the following...

Add this to your source list:
deb http://ppa.launchpad.net/team-xbmc-intrepid/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/team-xbmc-intrepid/ppa/ubuntu intrepid main


Then apt-get update to get the new packages available.

Then install it like this:
apt-get install xbmc


This will warn you about a few (4-5) packages not being authenticated. But that's OK, as long as they are all something with xbmc to do.

Start it by executing xbmc. That's it.

How to show all processors in "top"

Simply run
top

Then press "1" (one) to show all CPUs individually
Use "W" (capital w) to save settings to ~/.toprc

Using fuse/sshfs to mount remote sites

apt-get install fuse-utils sshfs


Add yourself into grp "fuse" with:
adduser username fuse


Then mount your remote site like this:
mkdir /mnt/path
sshfs -p PORT user@remote-site:/path /mnt/path