随笔分类 - Ubuntu
摘要:Linux修改时区的正确方法 CentOS和Ubuntu的时区文件是/etc/localtime,但是在CentOS7以后localtime以及变成了一个链接文件 [root@centos7 ~]# ll /etc/localtime lrwxrwxrwx 1 root root 33 Oct 12
阅读全文
摘要:sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password your_password' sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password your_password'...
阅读全文
摘要:1、查看当前系统使用的字符编码 2、查看当前系统支持的字符集 3、查看locale文件 解决: 1、执行locale-gen zh_CN.UTF-8拉取中文编码(需要root权限) 2、查看现在系统支持的字符集,发现多了zh_*等中文字符集 3、修改文件/etc/default/locale(必须要
阅读全文