愤怒中的小草

博客园 首页 新随笔 联系 订阅 管理

2018年11月30日 #

摘要: 1.配置MongoDB的yum源 # vi /etc/yum.repos.d/mongodb-org-4.0.repo [mongodb-org-4.0]name=MongoDB Repositorybaseurl=https://repo.mongodb.org/yum/redhat/7Serve 阅读全文
posted @ 2018-11-30 23:34 愤怒中的小草 阅读(136) 评论(0) 推荐(0) 编辑

摘要: 两台服务器 127.0.0.101 A 主服务器 127.0.0.108 B 从服务器 从服务器设置 1.修改redis.conf 依次修改daemonize no改为daemonize yes 默认后台运行#pidfile /var/run/redis_6379.pidpidfile /opt/r 阅读全文
posted @ 2018-11-30 15:56 愤怒中的小草 阅读(118) 评论(0) 推荐(0) 编辑

摘要: 查看redis版本 redis-server -v或者redis-cli -v 安装redis 硬件要求 查看版本 uname -a 内存32G 8核CPU 查看内存大小 cat /proc/meminfo | grep MemTotal 查看CPU核数 cat /proc/cpuinfo | gr 阅读全文
posted @ 2018-11-30 15:45 愤怒中的小草 阅读(147) 评论(0) 推荐(0) 编辑