Disable IPv6
echo "blacklist ipv6" >> /etc/modprobe.d/blacklist.conf reboot
Enable UTF-8
On debian based systems, you can enable UTF-8 support by running
dpkg-reconfigure locales
Make sure to select the UTF-8 character set that you want to enable.
Recompile deb Package
Make sure a "source" source is defined in /etc/apt/sources.list. Something like this
deb-src http://http.us.debian.org/debian lenny main contrib non-free
Then, the basic steps are
- Download source
- Install build dependencies
- Build deb package
For example, to recompile "less"
apt-get source less apt-get build-dep less cd less-374 dpkg-buildpackage -rfakeroot
Enable X11 Forwarding
aptitude install xbase-clients
Restrict UID/GID Values
sed -i '/^UID_MAX/c UID_MAX 10000' /etc/login.defs sed -i '/^GID_MAX/c GID_MAX 10000' /etc/login.defs
Show available updates
/usr/bin/apt-get -q -y --allow-unauthenticated -s upgrade | /bin/grep ^Inst | awk '{$1="";$0=substr($0,2)}1' | sort