1、安装依赖
yum install python python-setuptools python-imaging python-ldap python-memcached MySQL-python mariadb mariadb-server
2、启动服务
systemctl start mariadb.service
systemctl enable mariadb.service
3、配置MySQL
/usr/bin/mysql_secure_installation
4、安装seafile
wget https://mc.qcloudimg.com/static/archive/3d8addbe52be88df4f6139ec7e35b453/seafile-server_5.1.4_x86-64.tar.gz
tar -zxvf seafile-server_5.1.4_x86-64.tar.gz
mkdir -p /disk1/seafile/
mv seafile-server-5.1.4/ /disk1/seafile
cd /disk1/seafile/seafile-server-5.1.4
./setup-seafile-mysql.sh
5、启动seafile
./seafile.sh start
./seahub.sh start