Redis安装过程

学习https://github.com/huacnlee/ruby-china的源代码,发现要安装Redis。这个据说是个key-value存储系统数据库。
那么去http://redis.io/下载后,解压并进入文件夹,阅读README,执行
$make
然后
$make test,发现报错You need 'tclsh8.5' in order to run the Redis test
原来是因为没安装tcl,安装下:
$sudo apt-get install tcl8.5
$make test 成功了
$make install
ubuntu下设置Redis自启动:
$cd utils
$su root
$./install_server.sh

猜你喜欢

转载自zhangjian1982.iteye.com/blog/1358150