From d98c3485991117d622d08da2de6cb5a633cf4220 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 2 Jul 2022 00:03:42 +0800 Subject: [PATCH] =?UTF-8?q?#=20mysql8.0=20=E5=9C=A8ubuntu22=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install/ubuntu.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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