linux-tutorial/codes/deploy/tool/redis/install-redis.sh

13 lines
247 B
Bash
Raw Normal View History

2018-02-22 09:48:39 +08:00
#!/usr/bin/env bash
echo -e "\n>>>>>>>>> install redis"
mkdir -p /opt/software/redis
cd /opt/software/redis
version=4.0.8
wget http://download.redis.io/releases/redis-${version}.tar.gz
tar -zxvf redis-${version}.tar.gz
cd redis-${version}
make