From 407564e7db51a2305a2367b6047cde1743a94a5c Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Jul 2021 14:18:51 +0800 Subject: [PATCH] update --- install-seafile.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install-seafile.sh b/install-seafile.sh index 627050a..3fd50ff 100755 --- a/install-seafile.sh +++ b/install-seafile.sh @@ -6,15 +6,15 @@ sudo apt-get install python3 python3-setuptools python3-pip python3-ldap sqlite3 sudo pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy==1.3.8 psd-tools django-pylibmc django-simple-captcha pushd /faronear -sudo mkdir seafile -cd seafile +sudo mkdir bin.seafile +cd bin.seafile sudo wget https://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_8.0.5_x86-64.tar.gz sudo tar -xzf seafile-server_* cd seafile-server-* sudo ./setup-seafile.sh -# don't know why but it must be changed to 0.0.0.0 so that seahub.sh doesn't fail. But sometimes 127.0.0.1 also ok on debian 10 of tencent cloud. -sudo sed -i "s/127\.0\.0\.1/0.0.0.0/g" ../conf/gunicorn.conf.py +# don't know why but sometimes it must be changed to 0.0.0.0 so that seahub.sh doesn't fail. +#sudo sed -i "s/127\.0\.0\.1/0.0.0.0/g" ../conf/gunicorn.conf.py sudo ./seafile.sh start sudo ./seahub.sh start