From 250955fac9cceea29413769b45bac109299494ce Mon Sep 17 00:00:00 2001 From: zhaojun1998 Date: Sat, 4 Apr 2020 09:50:06 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a4c174..8fe35ea 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,15 @@ # CentOS系统 yum install -y java-1.8.0-openjdk unzip -# Debian/Ubuntu系统 +# Debian 9 / Ubuntu 14+ apt update apt install -y openjdk-8-jre-headless unzip + +# Debian 10 (Buster) 系统 +apt update && apt install -y apt-transport-https software-properties-common ca-certificates dirmngr gnupg +wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - +add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ +apt update && apt install -y adoptopenjdk-8-hotspot-jre ``` > 如为更新程序, 则请先执行 `~/zfile/bin/stop.sh && rm -rf ~/zfile` 清理旧程序. 首次安装请忽略此选项.