[ubuntu]ubuntu 12.04 install redis

2015-10-9 写技术

1.Install redis

$ wget http://download.redis.io/releases/redis-2.8.3.tar.gz  
$ tar xzf redis-2.8.3.tar.gz  
$ cd redis-2.8.3  
$ make  
$ sudo make install   #These files are put in /usr/local/bin now. 


2.Copy some files important

# cp redis.conf /etc/
# cd src
# cp redis-benchmark redis-cli redis-server /usr/bin/
#


3.Let run silance

Edit redis.conf:

daemonize yes


4.Run 

Run redis:

redis-server /etc/redis.conf




标签: nodeJS ubuntu

发表评论:

Powered by anycle 湘ICP备15001973号-1