Linuxにredisをインストールする手順
1.ダウンロード
http://download.redis.io/releases/
#yum -y install wget
#cd /usr/local/src/
#wget http://download.redis.io/releases/redis-3.2.1.tar.gz
2.redisの解凍
#yum -y install gcc
#tar xzf redis-3.2.1.tar.gz
#cd redis-3.2.1<br />
#mkdir /usr/local/redis
#make PREFIX=/usr/local/redis install
3.Redisの設定
#cp /usr/local/redis-3.2.1/redis.conf /usr/local/redis/cluster/7001/7001.conf
#vim /usr/local/redis/cluster/7001/7001.conf
bind 0.0.0.0
port 7001.
#vim /etc/profile
export PATH=/usr/local/redis/bin:$PATH
#source /etc/profile
4.redisを起動する
#redis-server /usr/local/redis/cluster/7001/7001.conf
5.プロセスを確認
#ps -aux | grep redis