Chinaunix首页 | 论坛 | 博客
  • 博客访问: 322386
  • 博文数量: 27
  • 博客积分: 3026
  • 博客等级: 中校
  • 技术积分: 415
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-19 13:43
文章分类

全部博文(27)

文章存档

2013年(2)

2010年(4)

2008年(21)

分类: LINUX

2008-07-03 18:15:47

配置启动
# 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
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
======+======+======+======
# apt-get update
# apt-get dist-upgrade
阅读(2570) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~