公告

Gentoo交流群:87709706 欢迎您的加入

#1 2022-11-13 19:05:05

batsom
管理团队
注册时间: 2022-08-03
帖子: 594
个人网站

seafile安装文档

Python3 安装
yum -y groupinstall "Development tools"
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
yum install -y libffi-devel openssl zlib*

wget https://www.python.org/ftp/python/3.7.2 … 7.2.tar.xz
tar -xvJf  Python-3.7.2.tar.xz
cd Python-3.7.2
编辑:Modules/Setup 去掉第211到214行中的# (内容是SSL)
./configure --prefix=/usr/local/python3 --enable-optimizations --with-ssl
make && make install

ln -s /usr/local/python3/bin/python3 /usr/local/bin/python3
ln -s /usr/local/python3/bin/pip3 /usr/local/bin/pip3

pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy psd-tools django-pylibmc django-simple-captcha


mkdir /home/seafile
tar -xzf seafile-server_*
mv seafile-server_* /home/seafile

./setup-seafile-mysql.sh

/home/seafile/seafile-server-latest/seafile.sh restart
/home/seafile/seafile-server-latest/seahub.sh restart

离线

页脚

Powered by FluxBB

本站由XREA提供空间支持