From 1dc5463acf1ad991f3f1be7bd0d6685dd9722434 Mon Sep 17 00:00:00 2001 From: liuwx_gitee <22247537@qq.com> Date: Thu, 21 Sep 2023 16:17:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=84=9A=E6=9C=AC=E9=83=A8=E7=BD=B2=E7=9A=84?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=E4=B8=8D=E7=A8=B3=E5=AE=9A=EF=BC=8C=E6=89=80?= =?UTF-8?q?=E4=BB=A5=E4=B8=8D=E5=86=8D=E6=94=AF=E6=8C=81=20=E5=BB=BA?= =?UTF-8?q?=E8=AE=AE=E4=BD=BF=E7=94=A8=E8=BF=99=E4=B8=AA=E6=95=99=E7=A8=8B?= =?UTF-8?q?=EF=BC=9Ahttp://docs.kykms.cn/docs/mindoc/mindoc-1eqploikpjlkc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/install_community.sh | 81 +++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 40 deletions(-) diff --git a/deploy/install_community.sh b/deploy/install_community.sh index 4ade18c..ad952a3 100644 --- a/deploy/install_community.sh +++ b/deploy/install_community.sh @@ -1,40 +1,41 @@ -mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup; -wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo; -wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo; -yum install unzip -y; -wget https://qntest.sihualuo.cn/KM_community.zip -unzip KM_community.zip; - -systemctl stop firewalld; -systemctl disable firewalld; -yum clean all; -yum make cache; -yum install docker -y; -yum install docker-compose -y; -systemctl start docker; -systemctl enable docker; -mkdir /elasticsearch; -mkdir /elasticsearch/data; -chmod 777 /elasticsearch/data; -chmod +x *.sh; - -docker load -i kykms-mysql.tar; -docker load -i kykms-redis.tar; -docker load -i kykms-ES.tar; -docker-compose -f docker-compose-local.yml up -d; - -yum install nginx -y; -mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bak; -cp ./nginx.conf /etc/nginx/; -cp ./dist.zip /usr/share/nginx/html/; -cp ./simsun.ttc /usr/share/fonts/; -cd /usr/share/nginx/html; -unzip -o dist.zip; -systemctl enable nginx; -systemctl start nginx; - -yum install java-1.8.0 -y; -yum install libreoffice.x86_64 -y; -cd -; -chmod +x *.sh; -./start.sh; +注意:因为脚本部署的方式不稳定,所以不再支持,建议使用这个教程:http://docs.kykms.cn/docs/mindoc/mindoc-1eqploikpjlkc +#mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup; +#wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo; +#wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo; +#yum install unzip -y; +#wget https://qntest.sihualuo.cn/KM_community.zip +#unzip KM_community.zip; +# +#systemctl stop firewalld; +#systemctl disable firewalld; +#yum clean all; +#yum make cache; +#yum install docker -y; +#yum install docker-compose -y; +#systemctl start docker; +#systemctl enable docker; +#mkdir /elasticsearch; +#mkdir /elasticsearch/data; +#chmod 777 /elasticsearch/data; +#chmod +x *.sh; +# +#docker load -i kykms-mysql.tar; +#docker load -i kykms-redis.tar; +#docker load -i kykms-ES.tar; +#docker-compose -f docker-compose-local.yml up -d; +# +#yum install nginx -y; +#mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bak; +#cp ./nginx.conf /etc/nginx/; +#cp ./dist.zip /usr/share/nginx/html/; +#cp ./simsun.ttc /usr/share/fonts/; +#cd /usr/share/nginx/html; +#unzip -o dist.zip; +#systemctl enable nginx; +#systemctl start nginx; +# +#yum install java-1.8.0 -y; +#yum install libreoffice.x86_64 -y; +#cd -; +#chmod +x *.sh; +#./start.sh;