Thursday, December 18, 2008

Debian command line system installation

Note to self

- Load a USB-stick with debian netinstall using unetbootin
(used unstable)
- deselect desktop and stuff
- Add Debian experimental repo to /etc/apt/sources.list:
deb http://ftp.debian.org/debian/ experimental main contrib non-free
deb http://kernel-archive.buildserver.net/debian-kernel/ trunk main
wget -q http://kernel-archive.buildserver.net/key
apt-key add key
apt-get update


Install some packages
apt-get install make ncurses-dev screen sudo bash-completion links2 ftp mc gcc gpm openssh-server
source .bashrc
/etc/init.d/gpm start

run 'visudo' and add
name ALL=(ALL) ALL


Get a later kernel:
apt-get install linux-image-2.6.27-1-686


Packages for building stuff:
make ncurses5-dev gcc

More:
GNU Screen - Terminal multiplexer (Ctrl-a, S, Ctrl-tab, c)
links2 - Text mode www browser
mc - The midnight commander, a text mode file manager (norton clone)
gpm - General Purpose Mouse interface, daemon
tcptrack, iftop - Show network usage in different ways
htop - enhanced top, a process
sshfs - ssh file system

0 comments: