linux下Redis的安装过程记录

时间:14-11-01 栏目:网络 作者:烟雨网 评论:0 点击: 1,352 次

linux下Redis的安装过程记录如下。

[root@localhost data]# wget http://download.redis.io/releases/redis-2.8.17.tar.gz
[root@localhost data]# tar -zxvf redis-2.8.17.tar.gz
[root@localhost data]# cd redis-2.8.17
[root@localhost redis-2.8.17]# make
这里等了好一会,看机器的配置了。
出来了Hint: It's a good idea to run 'make test' 😉
[root@localhost redis-2.8.17]# make test
TEST更久,啊。。。。。
[root@localhost redis-2.8.17]# make install
这里比较快,一下就安装好了
然后我们启动
[root@localhost redis-2.8.17]# redis-server
[46925] 01 Nov 13:15:12.087 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
[46925] 01 Nov 13:15:12.089 * Increased maximum number of open files to 10032 (it was originally set to 1024).

[46925] 01 Nov 13:15:12.112 # Server started, Redis version 2.8.17
[46925] 01 Nov 13:15:12.114 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[46925] 01 Nov 13:15:12.114 * The server is now ready to accept connections on port 6379

至此linux下Redis的安装过程完成且一切正常。

声明: 本文由( 烟雨网 )原创编译,转载请保留链接: linux下Redis的安装过程记录

linux下Redis的安装过程记录:等您坐沙发呢!

发表评论

您必须 [ 登录 ] 才能发表留言!