王筝的博客
ruby学习

 

http://redis.io/download

$ wget http://download.redis.io/releases/redis-3.0.3.tar.gz
$ tar xzf redis-3.0.3.tar.gz
$ cd redis-3.0.3
$ make

=========================

新项目用到了redis,

$sudo pip install redis
$which redis-server找不到

从网上下载http://www.redis.io/
解压之后进入文件夹make
$sudo make install

$which redis-server
/usr/local/bin/redis-server
然后
$/usr/local/bin/redis-server
启动成功

http://localhost:5700/home/add/b15dcb2c58c011e38b3f

/opt/app/python/aaa-control
$ bin/uwsgi.sh stop
$ bin/uwsgi.sh start

重启nginx
/opt/nginx/sbin/nginx -t
/opt/nginx/sbin/nginx -s reload