分类: LINUX
2009-11-19 20:29:45
字体:
/usr/share/fonts下
ln -s /c/windows/fonts/win_fonts
fc-cache -rf
lspci显示系统配置
dpkg-reconfigure locales 设置环境
选择zh_CN.UTF-8 UTF-8
mount -a 修改完ftabs后不用重启生效
我的/etc/fstab:
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/sda7 / ext3 errors=remount-ro 0 1
/dev/sda8 none swap sw 0 0
/dev/sda1 /home/disks/c ntfs-3g defaults 0 2
/dev/sda5 /home/disks/d vfat defaults 0 2
/dev/sda6 /home/disks/e ntfs-3g defaults 0 2
设置DNS:
在/etc上新加文件resolv.conf
nameserver 10.10.0.21
/etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.214.21.233
gateway 10.214.21.1
netmask 255.255.255.0
/etc/init.d/networking restart
gnome程序有kde一样的界面:
apt-get install gtk-qt-engine
/etc/apt/source.list
### *** ZJU-DEB Mirror Server ***
#------------------------------------------------------------------------------
# The Debian GNU/Linux Mirrors:
# debian - (i386, amd64) X (etch, lenny, squeeze, sid, experimental)
# debian-security - (i386, amd64) X (etch/updates,lenny/updates,squeeze/updates)
# debian-multimedia - (i386, amd64) X (etch, lenny, squeeze, sid)
#------------------------------------------------------------------------------
# This mirror server is updated from upstream every day.
# The following is an example for sid(unstable). You can modify it to fit your needs.
# Note: you can also use FTP protocol instead of HTTP
## Debian
deb testing main contrib non-free
deb-src testing main contrib non-free
## Debian Security
deb -security testing/updates main contrib non-free
deb-src -security testing/updates main contrib non-free
## Debian Multimedia
deb -multimedia testing main
deb-src -multimedia testing main