Redis服务-linux下的配置

关系数据库管理系统
-RDMS
-数据按照预先设置的组织结构,存储在


NoSQL(NoSQL=Not Only SQL)
-非关系型数据库
-不需要预先定义数据存储结构
-表的每条记录都可以有不同的类型和结构


主流软件
-Redis
-MongoDB
-Memcached
-CouchDB
-Neo4j
-FlockDB


部署Redis服务
--Remote Dictionary Server(远程字典服务器)
--是一款高性能的(Key/Values)分布式内存数据库
--支持数据持久化,可以把内存数据保存到硬盘中
也支持list、hash、set、zset数据类型
-支持master-salve模式数据备份
-中文网站www.redis.cn
--支持主从模式,实现数据的自动备份






装包
初始化配置
启动服务
查看服务运行信息
连接服务存储数据
[root@51 ~]# tar -xzf redis-4.0.8.tar.gz 


[root@51 ~]# cd redis-4.0.8/
[root@51 redis-4.0.8]# ls
00-RELEASENOTES  COPYING  Makefile   redis.conf       runtest-sentinel  tests
BUGS             deps     MANIFESTO  runtest          sentinel.conf     utils
CONTRIBUTING     INSTALL  README.md  runtest-cluster  src
[root@51 ~]# rpm -q gcc gcc-c++
gcc-4.8.5-16.el7.x86_64
gcc-c++-4.8.5-16.el7.x86_64


[root@51 redis-4.0.8]# make
[root@51 redis-4.0.8]# make install
[root@51 redis-4.0.8]# cd utils/
[root@51 utils]# ls
build-static-symbols.tcl  hashtable          redis_init_script.tpl
cluster_fail_time.tcl     hyperloglog        redis-sha1.rb
corrupt_rdb.c             install_server.sh  releasetools
create-cluster            lru                speed-regression.tcl
generate-command-help.rb  redis-copy.rb      whatisdoing.sh
graphs                    redis_init_script
[root@51 utils]# vim install_server.sh 
[root@51 utils]# ./install_server.sh 
Welcome to the redis service installer
This script
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值