#本文章参考https://cloud.seafile.com/published/seafile-manual-cn/home.md
#安装依赖包
yum -y install wget epel-release
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
yum -y install python-imaging MySQL-python python-memcached python-ldap python-urllib3 ffmpeg ffmpeg-devel
#创建压缩的源码包存放目录
mkdir /home/tools/
#创建要运行存放的位置
mkdir /home/wwwroot/seafile/
#切换到源码包存放目录
cd /home/tools/
#下载6.3.4版本的seafile(最新的是7版本的,但安装不成功,可能有问题,所以推荐安装6版本的。)
wget http://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_6.3.4_x86-64.tar.gz
#解压
tar xf seafile-server_6.3.4_x86-64.tar.gz
#转移解压出来的目录到要运行的位置
mv seafile-server_6.3.4 /home/wwwroot/seafile/
#切换到转移的目录