随笔分类 -  Linux

摘要:20200609 centos7增加python3版本环境 一、旧版本信息 [root@mysql_master 17:00:23]:/usr/libexec #python Python 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 201506 阅读全文
posted @ 2020-06-09 18:12 chenlive 阅读(262) 评论(0) 推荐(0)
摘要:20200609 部分引用https://www.jb51.net/article/163112.html ubuntu18.04安装3个python版本,系统已自带python3.6.9和2.7.15,再增加python3.6.8,默认python3.6.8 一、旧版本信息 python2 --v 阅读全文
posted @ 2020-06-09 15:39 chenlive 阅读(3492) 评论(0) 推荐(0)
摘要:环境:Centos7 问题:修改/etc/resolv.conf重启之后会自动还原,主要因为resolv.conf文件是由/etc/sysconfig/network scripts/ifcfg ens33(网卡)生成的 解决方法一: 解决方法二:锁定文件 chattr +i /etc/resolv 阅读全文
posted @ 2020-04-17 10:36 chenlive 阅读(2720) 评论(0) 推荐(0)