http://www.yuanma.org/data/2007/0124/article_2173.htm
http://linuxtoy.org/archives/debian-gnulinux-50-aka-lenny-released.html http://blog.csdn.net/rjycsdn/archive/2008/11/04/3214727.aspx http://blog.csdn.net/bennyfun79/archive/2009/04/15/4074899.aspx http://www.gdwg.net/article/sort014/sort031/sort0106/info-31292.html ------------------------------------------------------------ 1,版本代号 开发代号为“Lenny”的 Debian GNU/Linux 5.0 已经正式发布。 2,修改源 debian.cn99.com http://debian.cn99.com/sources.list.lenny
apt-get update
美国:
deb http://ftp.us.debian.org/debian/ lenny main deb-src http://ftp.us.debian.org/debian/ lenny main
deb
http://security.debian.org/
lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
deb
http://volatile.debian.org/debian-volatile
lenny/volatile main contrib
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free 3,安装ssh #apt-get install openssh-server apt-get install ssh 4,查看安装的pkg dpkg -l 查看系统中已安装软件包信息 5,安装php5-mysql模块
apt-get install apache2
apt-get install php5-mysql
apt-get install php5
apt-get install mysql
6,
apt-get remove exim4 删除MTA.提高启动速度. apt-get remove nfs-commmon portmap update-rc.d -f exim4 remove
7,停止ipv6
在档案/etc/modprobe.d/00local加入以下两行: or aliases alias net-pf-10 off alias ipv6 off ---------------------- ubuntu: http://www.haw-haw.org/node/529 http://linux.chinaitlab.com/administer/773671.html Just add one line like this
to the end of file /etc/modprobe.d/blacklist ---------------------- 8, Debian系统垃圾清理: dpkg -l |grep "^rc"|awk '{print $2}' |xargs aptitude -y purge
9,颜色显示目录
1,vi~/.bashrc
2,把下面这几行的注释去掉就可以了,很简单吧。 # You may uncomment the following lines if you want `ls' to be colorized: export LS_OPTIONS='--color=auto' eval `dircolors` alias ls='ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -l' alias l='ls $LS_OPTIONS -lA' 3.这时候我们在试试ls这个命令,呵呵。不一样了吧。 |