centos-7-init-1.1.sh

This commit is contained in:
ZhuoQinghui 2022-03-03 14:28:41 +08:00
parent 64d817fe60
commit 23b5106a45

View File

@ -2,9 +2,8 @@
# curl -o init.sh https://git.zykeji.club/open/server-init/raw/master/CentOS/7/all/centos-7-init-1.1.sh && sh init.sh
read -p "是否安装Docker?(y/n)" isDocker
read -p "是否安装JDK8?(y/n)" isJDK8
read -r -p "是否安装Docker?(y/n)" isDocker
read -r -p "是否安装JDK8?(y/n)" isJDK8
echo "更改YUM为阿里源"
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak