美文网首页
Centos命令行下修改操作系统语言

Centos命令行下修改操作系统语言

作者: 古寒飞 | 来源:发表于2017-04-09 16:02 被阅读178次

    一、CentOS7.0

    1、修改为中文

    # localectl  set-locale LANG=zh_CN.utf8

    2、修改为英文

    # localectl  set-locale LANG=en_US.UTF-8


    二、CentOS6.5

    1、修改为英文

    # echo 'LANG=en_US.UTF-8' >>/etc/profile

    # source /etc/profile

    # su -l

    2、修改为中文

    # echo 'LANG=zh_CN.utf8' >>/etc/profile

    # source /etc/profile

    # su -l

    相关文章

      网友评论

          本文标题:Centos命令行下修改操作系统语言

          本文链接:https://www.haomeiwen.com/subject/irbdattx.html