Linux下Reids的安装和使用
2024-09-04 16:39:00
简单记录一下
redis的官网:https://redis.io/
官网介绍:
Installation
Download, extract and compile Redis with:
$ wget http://download.redis.io/releases/redis-3.2.9.tar.gz
$ tar xzf redis-3.2.9.tar.gz
$ cd redis-3.2.9
$ make
The binaries that are now compiled are available in the src
directory. Run Redis with:
$ src/redis-server
You can interact with Redis using the built-in client:
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"
报错问题如下:
修改redis.conf
注释掉bind IP
将protected-mode 设置为no
服务端启动:redis-server redis.conf
客户端连接: redis-cli -h pid -p 6379
最新文章
- 关于MySql中的varchar类型
- 20145304 Java第六周学习报告
- s3c2440 test 里面的一些用法
- 使用rpm命令卸载程序
- HTML之总结
- Internet信息服务找不到
- (转)js的call和apply
- JS和CSS的多浏览器兼容(3)
- Python 自动化脚本学习(三)
- C语言--第七周作业
- webpack基础
- Hadoop记录-Hadoop集群重要监控指标
- 【转载】linux下升级npm以及node
- spring aop 之annotation
- 理解JS中的this的指向
- bundle adjustment 玩具程序
- JS 打印图片
- vs2017常用快捷键
- js匹配日期和时间的正则表达式
- 12.Spring——Web MVC框架
热门文章
- selenium定位下拉菜单好文
- Java开发微信公众号(二)---开启开发者模式,接入微信公众平台开发
- yum 快速安装 Rabbitmq for CentOS6
- iOS xmpp Openfire+spark环境搭建
- 【bzoj2529】[Poi2011]Sticks 贪心
- POJ 3621 Sightseeing Cows(最优比例环+SPFA检测)
- [bzoj4259][bzoj4503] 残缺的字符串 [FFT]
- springboot 热加载的问题 idea下的springboot热加载的
- 面试:ios 批量上传图片
- CSS3 基本属性 浅析(含选择器、背景阴影、3D转换、动画等)