摘要: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣:http://pypi. 阅读全文
posted @ 2020-08-31 20:22 轩辕吊雷 阅读(135) 评论(0) 推荐(0) 编辑
摘要: diff [参数bai] 文件1 文件2 阅读全文
posted @ 2020-08-31 15:22 轩辕吊雷 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 默认情况下,redis只允许本机访问。如果需要外部访问,需要修改配置文件。修改配置文件redis.conf:修改第70行,将bind 127.0.0.1 注释修改第90行,将protected-mode修改为no 阅读全文
posted @ 2020-08-31 14:30 轩辕吊雷 阅读(5632) 评论(0) 推荐(0) 编辑
摘要: 查看Selinux状态:getenforce 临时关闭Selinux:setenforce 0 永久关闭Selinux:vim /etc/sysconfig/selinux,然后将SELINUX=enforcing改成:SELINUX=disabled 阅读全文
posted @ 2020-08-31 12:30 轩辕吊雷 阅读(152) 评论(0) 推荐(0) 编辑
摘要: cnetos7: 查看防火墙状态命令:systemctl status firewalld.service 关闭防火墙命令:systemctl stop firewalld.service 禁止防火墙开机自启:systemctl disable firewalld.service(永久关闭) cen 阅读全文
posted @ 2020-08-31 10:36 轩辕吊雷 阅读(285) 评论(0) 推荐(0) 编辑