File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ cat << EOF
5454 [jdk8] install jdk8 [maven] install maven
5555 [tomcat] install tomcat8 [nginx] install nginx
5656 [nodejs] install node.js [elk] install elk
57+ [redis] install redis
5758
5859【3 - Recommended Tools】
5960 [sdk] install sdkman
@@ -84,6 +85,7 @@ function chooseOper() {
8485 nodejs ) ${filepath} /tool/nodejs/install-nodejs.sh;;
8586 tomcat ) ${filepath} /tool/tomcat/install-tomcat8.sh;;
8687 elk ) ${filepath} /tool/elk/install-elk.sh;;
88+ redis ) ${filepath} /tool/redis/install-redis.sh;;
8789
8890 # 3 - Recommended Tools
8991 sdk ) ${filepath} /tool/sdk/install-sdk.sh;;
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ echo -e " \n>>>>>>>>> install redis"
4+
5+ mkdir -p /opt/software/redis
6+ cd /opt/software/redis
7+
8+ version=4.0.8
9+ wget http://download.redis.io/releases/redis-${version} .tar.gz
10+ tar -zxvf redis-${version} .tar.gz
11+ cd redis-${version}
12+ make
You can’t perform that action at this time.
0 commit comments