一、系统环境
系统:CentOS7-1708IP地址:192.168.159.33
二、安装seafile
[root@seafile ~]# yum -y install epel-release[root@seafile ~]# rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
[root@seafile ~]# yum -y install python-imaging MySQL-python python-memcached python-ldap python-urllib3 ffmpeg ffmpeg-devel
[root@seafile ~]# yum -y install python-pip
[root@seafile ~]# pip install --upgrade pip
[root@seafile ~]# pip install pillow moviepy
[root@seafile ~]# yum install -y mariadb-server ##安装数据库
[root@seafile ~]# systemctl enable mariadb ##设置数据库开机启动
[root@seafile ~]# systemctl start mariadb ##启动数据库
[root@seafile ~]# mysql_secure_installation ##为数据库设置密码
[root@seafile ~]# wget http://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_6.2.3_i386.tar.gz ##下载seafile软件包
[root@seafile ~]# tar -zxf seafile-server_6.2.3_x86-64.tar.gz ##解压软件包
[root@seafile ~]# mkdir -p se