mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 11:58:01 +08:00
支持安装jdk
This commit is contained in:
parent
9316a5bcdc
commit
79cd12a0d6
11
README.md
11
README.md
@ -72,7 +72,7 @@
|
||||
|
||||
> 特别提醒:在Windows服务器中可能有部分功能因为系统特性造成兼容性问题,建议在实际使用中充分测试。Linux目前兼容良好
|
||||
|
||||
### 一键安装
|
||||
### 一键安装(linux)
|
||||
|
||||
#### 服务端
|
||||
|
||||
@ -83,6 +83,11 @@ yum install -y wget && wget -O install.sh https://keepbx.gitee.io/jpom/install.s
|
||||
|
||||
yum install -y wget && wget -O install.sh https://cdn.jsdelivr.net/gh/jiangzeyin/Jpom/docs/install.sh && bash install.sh Server
|
||||
|
||||
|
||||
支持自动安装jdk环境
|
||||
|
||||
yum install -y wget && wget -O install.sh https://keepbx.gitee.io/jpom/install.sh && bash install.sh Server jdk
|
||||
|
||||
```
|
||||
|
||||
#### 插件端
|
||||
@ -94,6 +99,10 @@ yum install -y wget && wget -O install.sh https://keepbx.gitee.io/jpom/install.s
|
||||
|
||||
yum install -y wget && wget -O install.sh https://cdn.jsdelivr.net/gh/jiangzeyin/Jpom/docs/install.sh && bash install.sh Agent
|
||||
|
||||
支持自动安装jdk环境
|
||||
|
||||
yum install -y wget && wget -O install.sh https://keepbx.gitee.io/jpom/install.sh && bash install.sh Agent jdk
|
||||
|
||||
```
|
||||
>特别提醒:一键安装的时候注意执行命令不可在同一目录下,即Server端和Agent端不可安装在同一目录下
|
||||
### 下载安装
|
||||
|
@ -33,6 +33,8 @@ if [[ "$module" = "jdk" ]]; then
|
||||
echo 'export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar'>>/etc/profile
|
||||
echo 'export PATH=$PATH:$JAVA_HOME/bin'>>/etc/profile
|
||||
export JAVA_HOME=/usr/java/jdk1.8.0_251
|
||||
# 删除jdk压缩包
|
||||
rm -f jdk-8u251-linux-x64.tar.gz
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user