某机器安装时默认是中文,ssh登录总能发现很多不爽的问号,还错行:

[root@aslibra root]# df
??              1K-?頠      ??     ??à??% 1???/dev/hdc3            286213020  23486912 248187284   9% /


修改默认语言环境就好了:

[root@aslibra root]# cat /etc/sysconfig/i18n
LANG="en_US"
SUPPORTED="en_US.UTF-8:en_US:en"
#LANG="zh_CN.GB18030"
#LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
#SUPPORTED="zh_CN.GB18030:zh_CN:zh"
SYSFONT="lat0-sun16"
SYSFONTACM="8859-15"


也就是更换 zh_cn为en_us

[root@aslibra root]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdc3            286213020  23493344 248180852   9% /


重新登录就可以了,一切是多么美好

更多请参考:redhat 语言环境


原创内容如转载请注明:来自 阿权的书房
收藏本文到网摘
Tags:
发表评论
表情
emotemotemotemotemotemotemotemotemotemotemotemotemot
emotemotemotemotemotemotemotemotemotemotemotemot
打开HTML 打开UBB 打开表情 隐藏
昵称   密码   游客无需密码
网址   电邮   [注册]
               

验证码 不区分大小写
 

阅读推荐

服务器相关推荐

开发相关推荐

应用软件推荐