From ecd8ce70067a98d2db830955f176bfcb7df3586d Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Thu, 1 Feb 2018 17:47:13 +0800 Subject: [PATCH] =?UTF-8?q?:ok=5Fhand:=20=E4=BF=AE=E6=94=B9=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=96=87=E5=AD=97=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codes/deploy/main.sh | 6 +++--- codes/deploy/tool/jdk/install-jdk8.sh | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/codes/deploy/main.sh b/codes/deploy/main.sh index e968e09..d719b79 100644 --- a/codes/deploy/main.sh +++ b/codes/deploy/main.sh @@ -42,7 +42,7 @@ function checkOsVersion(){ function showMenu() { cat << EOF -====================================== Deploy Menu ====================================== +=================================== Deploy Menu =================================== 【1 - System Environment】 [1-2 | libs] install commonly libs. @@ -52,8 +52,8 @@ cat << EOF [2-3 | maven] install maven. [2-4 | nginx] install nginx. [2-5 | nodejs] install node.js. [2-6 | tomcat] install tomcat8. -按下 退出。 -请输入 key: +Press to exit +Please input key: EOF } diff --git a/codes/deploy/tool/jdk/install-jdk8.sh b/codes/deploy/tool/jdk/install-jdk8.sh index 5319baf..392c730 100644 --- a/codes/deploy/tool/jdk/install-jdk8.sh +++ b/codes/deploy/tool/jdk/install-jdk8.sh @@ -1,5 +1,7 @@ #!/bin/bash +echo -e "\n>>>>>>>>> install jdk8" + yum -y install java-1.8.0-openjdk-devel-debug.x86_64 cat >/etc/profile.d/jdk.sh<