Install Redis 3.2 on Ubuntu

Install Redis 3.2 on Ubuntu

It’s very easy to install Redis 3 on Ubuntu 16, just need to add PPA repository to your OS:

add-apt-repository ppa:chris-lea/redis-server

Now you have to update your repositories list and install Redis:

apt-get update
apt-get install redis-server

You can see your Redis version by typing:

redis-server --version

Start and check your Redis server status with the following commands:

systemctl start redis-server
systemctl status redis-server.service
service --status-all  --显示全部服务列表等同于chkconfig --list

For testing your Redis server you can follow the instruction below:

redis-cli
> set test "HugeServer"
> get test

运行结果为: “HugeServer”

配置文件:修改/etc/redis/redis.conf配置文件中的数据库存放路经,日志存放路经和绑定IP地址。Redis系列-配置文件小结

 vim /etc/redis/redis.conf

 https://www.hugeserver.com/kb/install-redis-debian-ubuntu/

posted @   —八戒—  阅读(558)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现
点击右上角即可分享
微信分享提示