diff --git a/scripts/install/ubuntu.sh b/scripts/install/ubuntu.sh index 8defa90b2..0e2bd3379 100644 --- a/scripts/install/ubuntu.sh +++ b/scripts/install/ubuntu.sh @@ -64,9 +64,11 @@ cd /www/server/mdserver-web/scripts && bash lib.sh chmod 755 /www/server/mdserver-web/data -VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` +# mysql8.0 在ubuntu需要的库 +apt install -y patchelf +VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'` if [ "${VERSION_ID}" == "22.04" ];then pip3 install -U --force-reinstall --no-binary :all: gevent fi