redis+最新版本+linux,编译安装Redis Stable最新版本

目前Redis已经升级到3.0.5为最稳定版本,但很多系统源没有更新,所以在这里进行编译安装

适合所有系统

#wget

#tar xvf redis-stable

#cd redis-stable

#make

#make install

安装后我们进行配置

#cd utils

#./install_server.sh

这里会根据需要进行配置,我的配置如下:

端口:6379

配置路径:/etc/redis/redis.conf

数据存放路径:/var/lib/redis/

注册服务:redis-server

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]

Selected default - /var/log/redis_6379.log

Please select the data directory for this instance [/var/lib/redis/6379] /var/lib

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值