Fluo de senkonscienco

Indekso
Debian GNU/Linux
Bildoj
Gregueríoj
Skriptoj

Debian GNU/Linux

Setting up sshfs:

# aptitude install fuse sshfs
# adduser USER fuse

Edit /etc/fuse.conf to contain
user_allow_other

# reboot

Usage:
$ mkdir mount-dir
$ sshfs "user@host.ip.address:[dir]" mount-dir
Unmount:
$ fusermount -u mount-dir

Disable/enable service:

# update-rc.d -f SERVICE remove
# update-rc.d SERVICE defaults

CUPS

CUPS Home: http://localhost:631

Add user to (at least) lp group. Optionally to lpadmin to be able to configure printing without root privileges.

Printing straight to PDF:

Install (at least) cups-pdf package.

$ lp -d PDF file

Kernel compiling

# aptitude install kernel-package fakeroot build-essential ncurses-dev
$ mkdir ~/BUILD && cd ~/BUILD
$ wget -c http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.6.tar.bz2
$ tar jxvf linux-3.6.tar.bz2
$ cd linux-3.6
$ cp /boot/config-`uname -r` ./.config
$ make menuconfig
$ make-kpkg clean
$ fakeroot make-kpkg --initrd --append-to-version=-vanilla kernel_image kernel_headers
$ cd ..
# dpkg -i linux-image-* linux-headers-*

~
~
~
~
~
~
~