TODO list for a fresh Debian installation

su -c "apt-get install jed-extra mc vim"
echo 'set nocompatible
syntax on' > ~/.vimrc
echo 'No_Backups = 1;
LINENUMBERS = 2;
Default_Mode = &no_mode;' > ~/.jedrc
sed 's/navigate_with_arrows=0/navigate_with_arrows=1/g' ~/.mc/ini > /tmp/ini && mv /tmp/ini ~/.mc/ini

echo '
mc () {
 mkdir -p ~/.mc/tmp 2> /dev/null
 chmod 700 ~/.mc/tmp
 MC=~/.mc/tmp/mc-$$
 /usr/bin/mc -P "$MC"
 cd "$(cat $MC)"
 rm -f "$MC"
 unset MC;
}

export DEBEMAIL="Name <email@address>"

# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then
    eval "`dircolors -b`"
    alias ls="ls --color=auto"
    alias grep="grep --color=auto"
    alias fgrep="fgrep --color=auto"
    alias egrep="egrep --color=auto"
fi

' >> ~/.bashrc
source ~/.bashrc
. /etc/bash_completion
echo deb http://ftp.de.debian.org/debian/ unstable main contrib non-free > /etc/apt/sources.list
apt-get update; apt-get dist-upgrade
apt-get install mc jed ketchup less bzip2 ssh ntpdate libmd5-perl gnupg locales hdparm make gcc libc6-dev libncurses-dev g++ sysfsutils
wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | apt-key add -
echo "No_Backups = 1;" > ~/.jedrc; echo "LINENUMBERS = 2;" >> ~/.jedrc
echo "devices/system/cpu/cpu0/cpufreq/scaling_governor=ondemand" >> /etc/sysfs.conf
echo "devices/system/cpu/cpu1/cpufreq/scaling_governor=ondemand" >> /etc/sysfs.conf

copy over .bashrc from my system

Kernel Compilation

  • cd /usr/src/;mkdir linux;ketchup -G `ketchup -s 2.6`
  • to build the kernel: apt-get install gcc make libc6-dev libncurses-dev

Additional Setup for MANET Emulation Framework

See here: Xen Installation Notes Add this apt repository:

deb http://bode.cs.uni-magdeburg.de/~aherms/debian sid ns2
deb-src http://bode.cs.uni-magdeburg.de/~aherms/debian sid ns2
 
debian/fresh_install.txt · Last modified: 2009/10/03 12:37 by Christoph
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Run by Debian Driven by DokuWiki