centos-7-init-1.1.sh
This commit is contained in:
parent
64d817fe60
commit
23b5106a45
|
@ -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
|
# 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 -r -p "是否安装Docker?(y/n)" isDocker
|
||||||
read -p "是否安装JDK8?(y/n)" isJDK8
|
read -r -p "是否安装JDK8?(y/n)" isJDK8
|
||||||
|
|
||||||
|
|
||||||
echo "更改YUM为阿里源"
|
echo "更改YUM为阿里源"
|
||||||
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
|
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
|
||||||
|
|
Loading…
Reference in New Issue
Block a user