Ubuntu18.04 安装redis

Redis是常用基于内存的Key-Value数据库,比Memcache更先进,支持多种数据结构,高效,快速。用Redis可以很轻松解决高并发的数据访问问题;作为实时监控信号处理也非常不错。

安装redis服务端

sudo apt-get install redis-server

检查Redis服务器系统进程

ps -agx|grep redis

通过启动命令检查Redis服务器状态

netstat -nlt|grep 6379 

通过命令行客户端访问Redis

redis-cli

  

参考博客:https://www.cnblogs.com/super-zhangkun/p/9457312.html    

let the world have no hard-to-write code ^-^
原文地址:https://www.cnblogs.com/ovim/p/11185756.html