From f49e12cba16097c2394dce2a2e33d8215cea6d56 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 10 Apr 2022 23:13:57 +0800 Subject: [PATCH] Update install_centos.sh --- scripts/install_centos.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install_centos.sh b/scripts/install_centos.sh index bc9f7632b..2a5a3d3f6 100755 --- a/scripts/install_centos.sh +++ b/scripts/install_centos.sh @@ -95,6 +95,11 @@ yum -y install python36-devel #fi +if [ ! -f /usr/local/bin/pip3 ];then + python3 -m pip install --upgrade pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple +fi + + cd /www/server/mdserver-web/scripts && ./lib.sh chmod 755 /www/server/mdserver-web/data