2011/01/15

network interfaces

#ubuntu

sudo vim.tiny /etc/network/interfaces


# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0

iface eth0 inet static

address 192.168.31.101
netmask 255.255.255.0
network 192.168.31.0
broadcast 192.168.31.255
gateway 192.168.31.1

dns-nameserver 168.95.1.1


#sudo /etc/init.d/network-manager restart 
sudo /etc/init.d/networking restart


2011/01/11

fonts-chinese

#CentOS 

yum install fonts-chinese

rpm -qa | grep fonts-chinese
/etc/sysconfig/i18n

zh_TW.UTF-8