centos7.8怎么安装redis5.0.10
导读:本文共2586字符,通常情况下阅读需要9分钟。同时您也可以点击右侧朗读,来听本文内容。按键盘←(左) →(右) 方向键可以翻页。
摘要: 准备centos7.8服务器一台修改主机名#hostnamectlset-hostnameredishost安装redis下载redis安装包#cd/opt#wgethttps://download.redis.io/releases/redis-5.0.10.tar.gz解压压缩包#cd/opt#tar-zxfredis-5.0.10.tar.gz编译安装... ...
目录
(为您整理了一些要点),点击可以直达。centos7.8服务器一台
The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
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 andthen rebootor run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
you have Transparent Huge Pages (THP) support enabled in your kernel.This will create latency and memory usage issues with Redis.To fix thisissue run thecommand ‘echo never > /sys/kernel/mm/transparent_hugepage/enabled’ as root,and add it to your /etc/rc.local in order to retain thesetting after a reboot.Redis must be restarted after THP is disabled.
以后台进程方式启动
设置redis远程连接
设置redis连接密码
centos7.8怎么安装redis5.0.10的详细内容,希望对您有所帮助,信息来源于网络。