Skip to content

Commit 3814dda

Browse files
committed
Update ubuntu.sh
1 parent 923716d commit 3814dda

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/install/ubuntu.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,13 @@ if [ "${VERSION_ID}" == "22.04" ];then
220220
pip3 install -U --force-reinstall --no-binary :all: gevent
221221
fi
222222

223+
# find /usr/lib -name "*libaio*" 2>/dev/null
224+
if [ ! -f /usr/lib/libaio.so.1 ];then
225+
if [ -f /usr/lib/x86_64-linux-gnu/libaio.so.1t64 ];then
226+
ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t64 /usr/lib/libaio.so.1
227+
fi
228+
fi
229+
223230
cd /www/server/mdserver-web/scripts && bash lib.sh
224231
chmod 755 /www/server/mdserver-web/data
225232

0 commit comments

Comments
 (0)