配置启动
# vi /boot/grub/menu.lst
timeout 2
配置BASH
# vi /root/.bashrc
======+======+======+======
export PS1='[\u@\h \W]\$ '
umask 022
TMOUT=3600
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
======+======+======+======
# vi /etc/init.d/bootmisc
注释掉下面两行
uname -snrvm > /var/run/motd
[ -f /etc/motd.tail ] && cat /etc/motd.tail >> /var/run/motd
# > /etc/motd
# > /etc/motd.tail
配置网络
# vi /etc/network/interfaces
======+======+======+======
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.20
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
======+======+======+======
# vi /etc/resolv.conf
======+======+======+======
nameserver 202.99.166.4
nameserver 202.99.168.8
======+======+======+======
VIM配置
把VIM源文件中的VIMRC示例拷贝为/root/.vimrc
开发环境
# apt-get install gcc
# apt-get install make
# apt-get install g++
# apt-get install gettext
# apt-get install libc6-dev
# apt-get install libncurses5-dev
常用工具
# apt-get install openssh-server
# atp-get install modconf
# atp-get install rcconf
# apt-get install ifstat
# apt-get install ntpdate
# apt-get install dnstop
# apt-get install sysv-rc-conf
# apt-get install prozilla
系统校时
# tzconfig
# ntpdate stdtime.gov.hk
升级系统
# vi /etc/apt/sources.list
======+======+======+======
deb etch main contrib \
non-free
deb-src etch main contrib \
non-free
deb stable \
main non-free contrib
deb-src \
stable main non-free contrib
阅读(752) | 评论(0) | 转发(0) |