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

杭州建设企业网站网站建设电商

杭州建设企业网站,网站建设电商,ecxl表格数据导入wordpress,厦门 网站建设 闽icp转载自 Redis Linux 安装运行实战全记录 下载Redis 去Redis官网下载最新的Linux包#xff0c;Redis官方没有Windows版的下载。 https://redis.io/ 下载后把包上传到Linux服务器。 安装Redis 1、解压Redis包 tar -zxvf redis-4.0.2.tar.gz2、切换到Redis解压目录 Redis官方没有Windows版的下载。 https://redis.io/ 下载后把包上传到Linux服务器。 安装Redis 1、解压Redis包 tar -zxvf redis-4.0.2.tar.gz2、切换到Redis解压目录 cd redis-4.0.23、编译Redis make如报错按以下错误解决。 make: cc命令未找到 make: *** [adlist.o] 错误 127 yum install gcccollect2: ld returned 1 exit status make[1]: *** [redis-server] Error 1 make[1]: Leaving directory /usr/local/redis/src make: *** [all] Error 2 vi src/.make-settings修改OPT-O2 -marchx86-644、编译测试 make test报错解决。 make[1]: Entering directory /home/test/redis-4.0.2/src CC Makefile.dep make[1]: Leaving directory/home/test/redis-4.0.2/src make[1]: Entering directory /home/test/redis-4.0.2/src You need tcl 8.5 or newer in order to run the Redis test make[1]: *** [test] Error 1 make[1]: Leaving directory/home/test/redis-4.0.2/src wget http://downloads.sourceforge.net/tcl/tcl8.6.7-src.tar.gz tar -zxvf tcl8.6.7-src.tar.gz cd tcl8.6.7/unix/ ./configure make make install5、安装 切换到redis目录执行安装。 make install启动Redis 启动redis src目录下的redis-server命令来启动Redis服务。 ./redis-server ../redis.conf启动成功画面 6651:C 17 Nov 09:24:43.145 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 6651:C 17 Nov 09:24:43.145 # Redis version4.0.2, bits64, commit00000000, modified0, pid6651, just started 6651:C 17 Nov 09:24:43.145 # Configuration loaded 6651:M 17 Nov 09:24:43.147 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. 6651:M 17 Nov 09:24:43.147 # Server cant set maximum open files to 10032 because of OS error: Operation not permitted. 6651:M 17 Nov 09:24:43.147 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase ulimit -n._._                                                  _.-__ -._                                             _.-    .  _.  -._           Redis 4.0.2 (00000000/0) 64 bit.- .-.  \/    _.,_ -._                                   (          ,       .-  | ,    )     Running in standalone mode|-._-...- __...-.-._| _.-|     Port: 6379|    -._   ._    /     _.-    |     PID: 6651-._    -._  -./  _.-    _.-                                   |-._-._    -.__.-    _.-_.-|                                  |    -._-._        _.-_.-    |           http://redis.io        -._    -._-.__.-_.-    _.-                                   |-._-._    -.__.-    _.-_.-|                                  |    -._-._        _.-_.-    |                                  -._    -._-.__.-_.-    _.-                                   -._    -.__.-    _.-                                       -._        _.-                                           -.__.-                                               6651:M 17 Nov 09:24:43.157 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 6651:M 17 Nov 09:24:43.158 # Server initialized 6651:M 17 Nov 09:24:43.158 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add vm.overcommit_memory  1 to /etc/sysctl.conf and then reboot or run the command sysctl vm.overcommit_memory1 for this to take effect. 6651:M 17 Nov 09:24:43.158 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command echo never  /sys/kernel/mm/transparent_hugepage/enabled as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 6651:M 17 Nov 09:24:43.158 * Ready to accept connections连接Redis 启动redis src目录下的redis-cli命令来连接到Redis服务。 ./redis-cli连接成功 127.0.0.1:6379另外推荐使用客户端连接工具redis desktop manager。 https://redisdesktop.com/download
http://www.zqtcl.cn/news/146611/

相关文章:

  • 建设企业网站官网下载中心游戏网站开发设计报告
  • 外贸网站导航栏建设技巧专做奢侈品品牌的网站
  • 网站开发工程师资格证网站建设代理都有哪些
  • 汕头网站建设技术托管wordpress faq
  • 外贸网站建设系统能联系做仿瓷的网站
  • 阿里云网站域名绑定做网站的需要哪些职位
  • cnnic网站备案dnf网站上怎么做商人
  • 怎么做微拍网站代理记账公司注册
  • 长宁深圳网站建设公司建材公司网站建设方案
  • 做网站哪些软件比较好wordpress的留言功能
  • 域名申请好了怎么做网站山西手机版建站系统信息
  • 维度网络网站建设广东水利建设与管理信息网站
  • 浏阳市商务局网站溪江农贸市场建设做关于车的网站有哪些
  • 网站建设教程资源网站网站制作网站的
  • 公司网页是什么被公司优化掉是什么意思
  • 酒店网站建设方案结束语慈溪企业排名网站
  • 做行业网站广告能赚多少钱百度搜索下载安装
  • 寺院网站建设网页搭建
  • 网站设计报价是多少wordpress登录接口
  • 灵宝网站建设建h5网站费用
  • 泊头做网站的有哪些深圳网页制作与网站建设服务器
  • 网站设计的思路网页无法访问百度
  • 简述你对于网站建设的认识网络工程就业岗位有哪些
  • 征婚网站上教人做恒指期货做网站颜色黑色代码多少
  • 海南省建设工程质量监督网站如何做搞笑原创视频网站
  • 网页游戏人气排行榜百度seo插件
  • 免费申请论坛网站更改域名代理商对网站有影响吗
  • 河南做网站公司报价工商做年报网站
  • 用狐狸做logo的网站现在网站开发技术有哪些
  • html 网站添加悬浮二维码瑜伽网站设计