diff --git a/scripts/install/centos.sh b/scripts/install/centos.sh index e330b24aa..0ebc07ca1 100755 --- a/scripts/install/centos.sh +++ b/scripts/install/centos.sh @@ -82,10 +82,16 @@ if [ ! -f /usr/local/bin/pip3 ];then fi +echo "start install lib" cd /www/server/mdserver-web/scripts && bash lib.sh +echo "end install lib" + + chmod 755 /www/server/mdserver-web/data +echo "start install python lib" + pip install --upgrade pip if [ ! -f /www/server/mdserver-web/bin/activate ];then cd /www/server/mdserver-web && python3 -m venv . @@ -115,6 +121,8 @@ else pip3 install pymongo fi +echo "end install python lib" + cd /www/server/mdserver-web && ./cli.sh start sleep 5