👌 修改部分文字信息

pull/11/head
Zhang Peng 2018-02-01 17:47:13 +08:00
parent 0521b9c0cc
commit ecd8ce7006
2 changed files with 5 additions and 3 deletions

View File

@ -42,7 +42,7 @@ function checkOsVersion(){
function showMenu() { function showMenu() {
cat << EOF cat << EOF
====================================== Deploy Menu ====================================== =================================== Deploy Menu ===================================
【1 - System Environment】 【1 - System Environment】
[1-2 | libs] install commonly libs. [1-2 | libs] install commonly libs.
@ -52,8 +52,8 @@ cat << EOF
[2-3 | maven] install maven. [2-4 | nginx] install nginx. [2-3 | maven] install maven. [2-4 | nginx] install nginx.
[2-5 | nodejs] install node.js. [2-6 | tomcat] install tomcat8. [2-5 | nodejs] install node.js. [2-6 | tomcat] install tomcat8.
按下 <CTRL-D> 退出。 Press <CTRL-D> to exit
请输入 key Please input key
EOF EOF
} }

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
echo -e "\n>>>>>>>>> install jdk8"
yum -y install java-1.8.0-openjdk-devel-debug.x86_64 yum -y install java-1.8.0-openjdk-devel-debug.x86_64
cat >/etc/profile.d/jdk.sh<<EOF cat >/etc/profile.d/jdk.sh<<EOF