linux示例

1、解决中文乱码

echo "Attention,you should su  root " ;
yum install fonts-chinese 
yum install fonts-ISO8859-2-75dpi 
yum -y install scim*  
yum -y install Deployment_Guide-zh-* lv-* stardict*
echo 'LANG="en_US.UTF-8"' >> /etc/sysconfig/i18n
echo 'SYSFONT="lat0-sun16"'  >> /etc/sysconfig/i18n

保存为install.sh,运行sh install.sh即可

你可能感兴趣的:(linux示例)