Differences

This shows you the differences between two versions of the page.

Link to this comparison view

doc:home_comp_net [2012/08/26 19:22] (current)
Line 1: Line 1:
 +====== How I Setup My Home Computer and Network ======
 +
 +===== Commands =====
 +  * cd
 +  * dpkg-reconfigure,​ example:<​code>​dpkg-reconfigure xserver-xorg</​code>​
 +  * /​etc/​init.d/​[initscript],​ example<​code>/​etc/​init.d/​gdm restart
 +/​etc/​init.d/​networking restart</​code>​
 +  * lspci
 +  * date
 +  * ls -al
 +  * reboot
 +  * free
 +  * dexconf
 +  * xdpyinfo |grep dimension
 +  * less<​code>​ps ax|less</​code>​
 +  * vim, example:<​code>​vim /​etc/​X11/​xorg.conf
 +vim /​etc/​network/​interfaces
 +vim /​etc/​resolv.conf</​code>​
 +  * module-assistant,​ example:<​code>​module-assistant update
 +module-assistant ​
 +module-assistant nvidia
 +module-assistant a-i nvidia</​code>​
 +  * cat <​code>​cat /​proc/​cpuinfo
 +cat /​proc/​acpi/​thermal_zone/​THRM/​temperature</​code>​
 +  * top
 +  * time
 +  * dpkg -l|grep [something]
 +  * times
 +  * su, example: <​code>​su stwn
 +vim /​etc/​rc.local</​code>​
 +  * ifconfig, example:<​code>​ifconfig eth0 192.168.19.45 netmask 255.255.255.224</​code>​
 +  * ping, example:<​code>​ping 192.168.19.45</​code>​
 +  * route, example:<​code>​route -n</​code>​
 +  * lsmod
 +  * useradd [user]
 +  * userdel -r [user]
 +  * adduser [user]
 +  * mv, example:<​code>​mv rc.local rc.local.orig
 +mv /​home/​user/​rc.local /​etc/</​code>​
 +  * cd
 +  * ps ax
 +  * kill
 +  * killall, example:<​code>​killall Xvnc4</​code>​
 +  * update-rc.d,​ example<​code>​update-rc.d -f gdm remove</​code>​
 +  * 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, example<​code>​dpkg -L dpkg
 +dpkg -L xserver-xorg</​code>​
 +  * apt-get remove, example:<​code>​sudo apt-get remove --purge linux-image-2.6-486 linux-image-2.6.18-6-486</​code>​
 +
 +===== 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 boot<​code>​sudo 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 remove</​code>​I 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:<​code>​linux-image for i486. i686, amd64
 +mplayer
 +openssh-server
 +sudo
 +synaptic</​code>​Development packages:<​code>​module-assistant
 +binutils
 +cpp
 +dpkg-dev
 +gcc
 +linux-headers
 +linux-kbuild
 +libc6-dev
 +libncurses5-dev</​code>​Optional packages<​code>​vnc4server</​code>​
 +  * Remove unused packages, at least for me. <​code>​at
 +bittorrent*
 +exim4*
 +mailx
 +mutt
 +gnome*</​code>​
 +
 +===== Vim =====
 +==== Command Mode ====
 +  * :q
 +  * :q!
 +  * :​s/​[text]/​[text]/​
 +  * :w
 +  * :wq
 +  * /[text]
 +
  
 
doc/home_comp_net.txt ยท Last modified: 2012/08/26 19:22 (external edit) · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki