标签:redis

0

4944

ubuntu系统安装redis服务

1、下载安装Redis:

cd /tmp
wget http://download.redis.io/releases/redis-3.0.4.tar.gz
tar -zxvf redis-3.0.4.tar.gz
cd redis-2.4.6
make
sudo make install

2、配置init脚本:

wget https://github.com/ijonas/dotfiles/raw/master/etc/init.d/redis-server
wget https://github.com/ijonas/dotfiles/raw/master/etc/redis.conf
sudo mv redis-server /etc/init.d/redis-server
sudo chmod +x /etc/init.d/redis-server
sudo mv redis.conf /etc/redis.conf

……

乐果   发表于   2015 年 09 月 21 日 标签:ubunturedis 继续阅读

热评文章