ubuntu22 优化

This commit is contained in:
midoks
2022-06-30 10:50:47 +08:00
parent 09797f40e9
commit 0a63366190
+9
View File
@@ -357,6 +357,10 @@ pip3 install psutil
pip3 install flask-socketio==5.2.0
pip3 install mysqlclient
if [ "$OSNAME" == "ubuntu" ];then
pip3 install -U --force-reinstall --no-binary :all: gevent
fi
if [ ! -f /www/server/mdserver-web/bin/activate ];then
cd /www/server/mdserver-web && python3 -m venv .
cd /www/server/mdserver-web && source /www/server/mdserver-web/bin/activate
@@ -380,6 +384,11 @@ pip3 install flask-socketio==5.2.0
pip3 install mysqlclient
if [ "$OSNAME" == "ubuntu" ];then
pip3 install -U --force-reinstall --no-binary :all: gevent
fi
##### common start #####