随笔分类 -  Ubuntu

摘要:Linux修改时区的正确方法 CentOS和Ubuntu的时区文件是/etc/localtime,但是在CentOS7以后localtime以及变成了一个链接文件 [root@centos7 ~]# ll /etc/localtime lrwxrwxrwx 1 root root 33 Oct 12 阅读全文
posted @ 2019-07-12 17:46 北漂-boy 阅读(4257) 评论(0) 推荐(1) 编辑
摘要: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'... 阅读全文
posted @ 2019-07-10 17:04 北漂-boy 阅读(505) 评论(0) 推荐(0) 编辑
摘要:1、查看当前系统使用的字符编码 2、查看当前系统支持的字符集 3、查看locale文件 解决: 1、执行locale-gen zh_CN.UTF-8拉取中文编码(需要root权限) 2、查看现在系统支持的字符集,发现多了zh_*等中文字符集 3、修改文件/etc/default/locale(必须要 阅读全文
posted @ 2019-01-31 18:04 北漂-boy 阅读(9308) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示