Skip to content

redis使用

This page demonstrates some of the built-in markdown extensions provided by VitePress.

redis安装

环境准备

md
yum -y install gcc automake autoconf libtool make

安装

md
make
make install PREFIX=/usr/local/redis4

后台启动
从 redis 的源码目录中复制 redis.conf 到 redis 的安装目录

md
 cp /usr/local/redis-5.0.3/redis.conf /usr/local/redis/bin/

修改 redis.conf 文件,把 daemonize no 改为 daemonize yes
指定配置文件启动:
./redis-server /path/to/redis.conf

More

Check out the documentation for the full list of markdown extensions.