Send a link

Debian

Table of contents



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


  • + : A leading plus sign indicates that this word must be present in every object returned.
  • - : A leading minus sign indicates that this word must not be present in any row returned.
  • By default (when neither plus nor minus is specified) the word is optional, but the object that contain it will be rated higher.
  • < > : These two operators are used to change a word's contribution to the relevance value that is assigned to a row.
  • ( ) : Parentheses are used to group words into subexpressions.
  • ~ : A leading tilde acts as a negation operator, causing the word's contribution to the object relevance to be negative. It's useful for marking noise words. An object that contains such a word will be rated lower than others, but will not be excluded altogether, as it would be with the - operator.
  • * : An asterisk is the truncation operator. Unlike the other operators, it should be appended to the word, not prepended.
  • " : The phrase, that is enclosed in double quotes ", matches only objects that contain this phrase literally, as it was typed.

Menu