Centos Q&A

Q1: Centos Warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
#add these lines...
LANG=en_US.utf-8 
LC_ALL=en_US.utf-8

参考自: https://gist.github.com/jampajeen/841d4eed4da3e6c758bf

Q2: How to See System Version?
[root@cf06bf9442e7 /]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core) 
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容