====== How I Setup My Home Computer and Network ======
===== Commands =====
* cd
* dpkg-reconfigure, example:dpkg-reconfigure xserver-xorg
* /etc/init.d/[initscript], example/etc/init.d/gdm restart
/etc/init.d/networking restart
* lspci
* date
* ls -al
* reboot
* free
* dexconf
* xdpyinfo |grep dimension
* lessps ax|less
* vim, example:vim /etc/X11/xorg.conf
vim /etc/network/interfaces
vim /etc/resolv.conf
* module-assistant, example:module-assistant update
module-assistant
module-assistant nvidia
module-assistant a-i nvidia
* cat cat /proc/cpuinfo
cat /proc/acpi/thermal_zone/THRM/temperature
* top
* time
* dpkg -l|grep [something]
* times
* su, example: su stwn
vim /etc/rc.local
* ifconfig, example:ifconfig eth0 192.168.19.45 netmask 255.255.255.224
* ping, example:ping 192.168.19.45
* route, example:route -n
* lsmod
* useradd [user]
* userdel -r [user]
* adduser [user]
* mv, example:mv rc.local rc.local.orig
mv /home/user/rc.local /etc/
* cd
* ps ax
* kill
* killall, example:killall Xvnc4
* update-rc.d, exampleupdate-rc.d -f gdm remove
* poweroff
* visudo
* startx
* mc
* df -h
* uname -a
* uptime
* w
* cfdisk
* mkfs.ext3 /dev/[sh][X]
* mount /dev/[sh][X]
* sudo chown -R stwn /dir/
* dpkg -L, exampledpkg -L dpkg
dpkg -L xserver-xorg
* apt-get remove, example:sudo apt-get remove --purge linux-image-2.6-486 linux-image-2.6.18-6-486
===== Configuration =====
* /etc/sudoers
* /etc/resolv.conf
* /etc/network/interfaces
* /etc/X11/xorg.conf
* /etc/apt/sources.list
* /etc/rc.local
* /boot/grub/menu.lst
* /etc/fstab
===== Shell =====
===== Services =====
* Remove on bootsudo update-rc.d -f portmap remove
sudo update-rc.d -f cupsys remove
sudo update-rc.d -f openbsd-inetd remove
sudo update-rc.d -f nfs-common remove
sudo update-rc.d -f nfs-common removeI start these services just when I need to use them.
===== Steps =====
* Install Debian GNU/Linux or Kuliax
* Upgrade to current local repository. I have one hard drive containing stable and testing release of Debian packages. My essential packages:linux-image for i486. i686, amd64
mplayer
openssh-server
sudo
synapticDevelopment packages:module-assistant
binutils
cpp
dpkg-dev
gcc
linux-headers
linux-kbuild
libc6-dev
libncurses5-devOptional packagesvnc4server
* Remove unused packages, at least for me. at
bittorrent*
exim4*
mailx
mutt
gnome*
===== Vim =====
==== Command Mode ====
* :q
* :q!
* :s/[text]/[text]/
* :w
* :wq
* /[text]