===============================================
2018/5/13_第1次修改 ccb_warlock
===============================================
最早接触seafile还是在1年多前,当时是为了能够搭建私有开源、具有同步目录功能的文件系统供员工使用,seafile的功能恰好满足这几点需求。但是考虑到需要占用服务器资源,从成本角度最后这个方案被砍掉了。最近由于工作需要,重新整理了seafile的部署内容。
一、准备工作
1.1 安装wget、vim
yum install -y wget vim
1.2 关闭防火墙
systemctl stop firewalld
systemctl disable firewalld
1.3 安装epel、Nux Dextop
# 安装epel源
rpm -ivh http://mirrors.ustc.edu.cn/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
# 安装Nux Dextop源
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
rpm-Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
二、部署seafile
2.1 安装mysql/mariadb
# 选择安装mariadb
yum -y install