Redis Linux system配置

Redis Linux system配置

[Unit] Description=Redis In-Memory Data Store After=network.target [Service] User=dev Group=dev ExecStart=/data/redis/bin/redis-server /data/redis/re

编译安装Redis

编译安装Redis

1.下载依赖及安装包 cd /data/soft yum -y install gcc gcc-c++ kernel-devel wget http://download.redis.io/releases/redis-4.0.10.tar.gz 2.解压 tar -xzf redis-4.0.10