字符集

7. 更改字符集
cat << 'EOF' > /etc/locale.conf 
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
EOF
source /etc/locale.conf

8. 开机自启动生效字符集
cat << 'EOF' >> /etc/rc.d/rc.local
source /etc/locale.conf
EOF
chmod +x /etc/rc.d/rc.local
echo; echo; cat /etc/rc.d/rc.local