centos7瀹夎redis-5.0

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7瀹夎redis-5.0相关的知识,希望对你有一定的参考价值。

鏍囩锛?a href='http://www.mamicode.com/so/1/centos' title='centos'>centos   wget   lease   use   data   nload   add   cte   bin   

wget http://download.redis.io/releases/redis-5.0.5.tar.gz
tar -xf redis-5.0.5.tar.gz
cd redis-5.0.5
make installl
INSTALL install
INSTALL install
INSTALL install
INSTALL install
INSTALL install
make[1]: Leaving directory `/usr/local/src/redis-5.0.5/src鈥?br/>灏唕edis璁剧疆鎴愬紑鏈哄惎鍔?br/>[root@iZd7oc0a0u64q75bim8bu8Z redis-5.0.5]# ./utils/install_server.sh
Welcome to the redis service installer
This script will help you easily set up a running redis server

Please select the redis port for this instance: [6379]
Selecting default: 6379
Please select the redis config file name [/etc/redis/6379.conf] /etc/redis/redis.conf
Please select the redis log file name [/var/log/redis_6379.log] /var/log/redis.log
Please select the data directory for this instance [/var/lib/redis/6379] /var/lib/redis/db
Please select the redis executable path [/usr/local/bin/redis-server]
Selected config:
Port : 6379
Config file : /etc/redis/redis.conf
Log file : /var/log/redis.log
Data dir : /var/lib/redis/db
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Copied /tmp/6379.conf => /etc/init.d/redis_6379
Installing service...
Successfully added to chkconfig!
Successfully added to runlevels 345!
Starting Redis server...
Installation successful!
鍚姩redis
redis-server /etc/redis/redis.conf
[root@iZd7oc0a0u64q75bim8bu8Z redis-5.0.5]# ss -ntlpu |grep 6379
tcp LISTEN 0 128 127.0.0.1:6379 : users:(("redis-server",pid=7255,fd=6))

以上是关于centos7瀹夎redis-5.0的主要内容,如果未能解决你的问题,请参考以下文章

vmware瀹夎centos7鍥炬枃鏁欑▼

Centos7瀹夎骞堕厤缃畆edis

Centos7安装Redis

centos安装redis 5.0版本

瀹夎鏈€灏忕増鏈殑CentOS

CentOS yum 瀹夎 mysql