当前位置: 首页 > news >正文

谁有人和兽做的网站国际知名设计公司logo

谁有人和兽做的网站,国际知名设计公司logo,专业网站设计公司有哪些,北京短视频制作公司注#xff1a;官方给出的安装文档是在一台物理机安装多个Redis实例#xff0c;https://redis.io/topics/cluster-tutorial#xff0c;我的生产环境是多台物理机#xff0c;安装起来就更简单 环境: 6台物理机 CentOS7.2-1511-minimal ip:192.168.1.101-192.168.1.106 网…注官方给出的安装文档是在一台物理机安装多个Redis实例https://redis.io/topics/cluster-tutorial我的生产环境是多台物理机安装起来就更简单 环境: 6台物理机 CentOS7.2-1511-minimal ip:192.168.1.101-192.168.1.106 网络环境内网 挂载Everything.iso作为本地yum源 可参考我的一篇文章 http://blog.csdn.net/github_38358734/article/details/70212412 Redis版本Redis-3.2.5.zip gem版本redis-3.3.2.gem pip版本pip-8.1.2 python版本2.7.5 其他环境需要gcc make 具体步骤如下 1、在6个节点上解压redis-3.2.5.zip 并 编译安装 # unzip redis-3.2.5.zip # cd redis-3.2.5 # make make install 2、检查安装过程 (1)、在redis-3.2.5目录下执行 make test 报错 tcl问题 (2)解决报错: yum install tcl  (内网 yum --disablerepo* --enablerepoCentOS7-media install tcl 基于搭建好本地yum源也可以通过yum install --dwonloadonly --downloaddir...的方式下载安装)重装执行make tesst 显示所有正常 3 zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error Newer version of jemalloc required make[1]: *** [adlist.o] Error 1 make[1]: Leaving directory /data0/src/redis-2.6.2/src make: *** [all] Error 2 解决 make MALLOClibc 3、部署安装cluster 1、修改配置文件 appendonly yes appendfilename appendonly-6379.aof 去掉注释 cluster-enabled yes   cluster-config-file /opt/nodes-6379.conf  去掉注释 cluster-node-timeout 5000  去掉注释 其中 bind 127.0.0.1 可以注释掉 protected-mode no 默认yes 使用默认值时启动集群提示connection refused 没有详细找原因配置文件参数说明很详细 4、分别启动每一个节点 # cd /redis-3.2.5 #./src/redis-server redis.conf   redis.log 21 输出Log 如果正常启动的话 cat redis.log  格式如下 [rootlocalhost opt]# cat redis-6379.log  6115:M 31 Aug 12:34:28.904 * Increased maximum number of open files to 10032 (it was originally set to 1024). 6115:M 31 Aug 12:34:28.906 * No cluster configuration found, Im 92999f9840418a848f7b10c5bca0119e3b515fa4 _._                                                   _.-__ -._                                              _.-    .  _.  -._           Redis 2.9.57 (00000000/0) 64 bit .- .-.  \/    _.,_ -._                                    (          ,       .-  | ,    )     Running in cluster mode |-._-...- __...-.-._| _.-|     Port: 6380 |    -._   ._    /     _.-    |     PID: 6115 -._    -._  -./  _.-    _.-                                    |-._-._    -.__.-    _.-_.-|                                   |    -._-._        _.-_.-    |           http://redis.io         -._    -._-.__.-_.-    _.-                                    |-._-._    -.__.-    _.-_.-|                                   |    -._-._        _.-_.-    |                                   -._    -._-.__.-_.-    _.-                                    -._    -.__.-    _.-                                        -._        _.-                                            -.__.-                                                6115:M 31 Aug 12:34:28.924 # Server started, Redis version 2.9.57 6115:M 31 Aug 12:34:28.924 * The server is now ready to accept connections on port 6379 5、在每个节点上执行 ps aux | grep redis  如果有 root      6109  0.6  0.9 137408  9740 pts/1    Sl   12:33   0:52 redis-server *:6379 [cluster] 说明服务正常启动 6、集群的安装需要安装ruby gem (1)yum install ruby ruby-rdoc (2)gem install redis (内网可以下载安装redis-3.3.2.gem) (3)在其中一个节点上执行如192.168.1.101 #cd /redis-3.2.5 ./src/redis-trib.rb create --replicas 1 192.168.1.101:6379 192.168.1.102:6379 192.168.1.103:6379 192.168.1.104:6379 192.168.1.105:6379 192.168.1.106:6379 (4)出现 [OK] All nodes agree about slots configuration. Check for open slots... Check slots coverage... [OK] All 16384 slots covered. 说明集群安装完成 测试信息./src/redis-trib.rb check 192.168.1.101:6379出现的问题及解决0、缺少依赖openssl1、不同Linux系统版本所安装的ruby版本不同或者Yum list中的ruby版本不同版本较新的redis需要的ruby版本较高比如Redis-4.0.2 所使用的redis-4.0.1.gem 依赖ruby版本必须大于2.2这时通常需要源码编译安装Ruby安装完ruby后需要建立ruby和gem的软连接。2、源码安装完ruby后执行gem install redis-4.0.1.gem 抛出异常ERROR:  Loading command: install (LoadError)     cannot load such file -- zlib ERROR:  While executing gem ... (NameError)     uninitialized constant Gem::Commands::InstallCommand 原因是gem运行缺少zlib库支持解决方法是 进入ruby源码文件夹 安装ruby自身提供的zlib包 #cd ext/zlib #ruby ./extconf.rb #make #make install 3、再次安装依然报错 make的输出中有 configuring openssl Failed to configure openssl. It will not be installed. 如上字样。 然后重新配置 在运行configure时加上了openssl路径信息即可。  解决方式是 cd ruby-2.3.0$ ./configure --with-openssl-dir/software/redis-3.2.6/ext/openssl $ make$ sudo make install 再次安装成功。
http://www.pierceye.com/news/53004/

相关文章:

  • 投资理财网站建设天津seo网站管理
  • 自发购卡网站在吗做网站制作推荐
  • 网站设计实验报告内容与步骤微网站建设难不难
  • aspnet网站开发案例怎么知道哪家公司网站做的好
  • 网站建设朋友圈网站转微信小程序开发
  • 张家界公司网站建设免费的行情软件
  • 青龙县建设局网站淮安市住房和城乡建设局网站首页
  • 亚马逊网站托管怎么做福州省建设局网站
  • 徐州市建设局网站首页网站流量统计系统
  • 商务网站设计与制作小蓝鸟加速器
  • 镇平网站建设钟楼做网站
  • 免费下载ps素材网站支付公司网站制作费怎么做分录
  • 做网站的文案西安市建设工程交易中心网站
  • 六安市裕安区建设局网站义乌做网站zisou8
  • 安徽城乡建设局网站wordpress docx插件
  • 多个网站对比表格怎么做游戏网站如何做
  • 网站做编辑器建设网站基础
  • 海东电子商务网站建设凡科网站模块
  • 静安网站开发外呼系统电销
  • 上海网站制作公司的排名天美传媒传媒官网免费下载
  • 电商网站的推广方式一流的网站建设
  • 监测网站空白栏目网站有备案号
  • 北京到安阳多少公里wordpress网站seo设置
  • 做商城类的网站需要做些什么响应式布局方案
  • 深圳做网站d公司wordpress 皇冠主题
  • 做外贸哪些国外网站可以推广专业手机网站建设平台
  • 怎么做刷qq业务网站wordpress 好用的插件推荐
  • 如何做网站广告图片上海市重点企业名单
  • 网站建设出初级者选哪家做网站如何引流
  • 农产品网站建设结构比较正规的代运营