摘要: 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 阅读(256) 评论(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 阅读(3161) 评论(0) 推荐(0) 编辑
摘要: frp github地址:https://github.com/fatedier/frp frp使用指南:https://github.com/fatedier/frp/blob/master/README_zh.md 1.部署服务端 步骤一:提前设置好服务端公网IP端口权限,可提前开启,也可以根据 阅读全文
posted @ 2020-05-16 22:11 chenlive 阅读(4975) 评论(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 阅读(2403) 评论(0) 推荐(0) 编辑
摘要: read: 只能读取指定数据库 readWrite: 能读写指定数据库 dbAdmin: 能执行管理函数,如索引创建、删除,查看统计或访问 system.profile dbOwner: 对当前数据库有全部权限 userAdmin: 能创建、删除和管理用户 clusterAdmin: 只能在 adm 阅读全文
posted @ 2020-03-18 15:27 chenlive 阅读(195) 评论(0) 推荐(0) 编辑
摘要: mongodb安装后初始化,也可当作强制破解密码教程 1.关闭认证密码,重新启动mongodb systemctl restart mongodb 2.进入命令端重置密码 mongo port 27000 use admin 此次操作需谨慎,会删除所有账号,新数据库默认没有,不需执行,直接创建用户 阅读全文
posted @ 2020-03-18 15:12 chenlive 阅读(967) 评论(0) 推荐(0) 编辑
摘要: 20200318 可参考官方指导安装https://docs.mongodb.com/manual/tutorial/install mongodb on red hat tarball/ 一、安装依赖 yum install openssl openssl devel y 二、下载安装包,并解压安 阅读全文
posted @ 2020-03-18 14:47 chenlive 阅读(889) 评论(0) 推荐(0) 编辑
摘要: 时间:201912201015 version:5.0.7 一、安装依赖包 二、下载最新版redis并解压安装 三、创建运行用户和组 四、创建对应目录及配置文件 创建目录 创建配置文件 四、启动redis 部分参数引用自https://baijiahao.baidu.com/s?id=1636391 阅读全文
posted @ 2019-12-20 12:27 chenlive 阅读(3854) 评论(1) 推荐(0) 编辑
摘要: zookeeper描述 ZooKeeper是用Java编写的,运行在Java环境上,因此,在部署zk的机器上需要安装Java运行环境。为了正常运行zk,我们需要JRE1.6或者以上的版本。 对于集群模式下的ZooKeeper部署,3个ZooKeeper服务进程是建议的最小进程数量,而且不同的服务进程 阅读全文
posted @ 2019-12-18 13:47 chenlive 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 步骤一:下载安装包,打开Mysql官网,找到对应的 下载路径如下:https://downloads.mysql.com/archives/community/ wget https://downloads.mysql.com/archives/get/file/mysql-5.7.27-linux 阅读全文
posted @ 2019-11-09 22:29 chenlive 阅读(938) 评论(0) 推荐(0) 编辑