seafile部署

2018-03-05  本文已影响115人  Ze_phyr

部署seafile(CentOS7):

0.准备工作:

关闭firewalld:

systemctl stop firewalld

systemctl disable firewalld

关闭selinux:

setenforce 0

vim /etc/selinux/config #SELINUX=disabled

1.创建工作目录

mkdir -p /home/seafile && cd /home/seafile

2.下载安装包(以最新版为例)

wget http://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_6.2.5_x86-64.tar.gz

tar -zxf seafile-server_6.2.5_x86-64.tar.gz

3.安装依赖:

yum -y install epel-release #安装epel源

yum -y install python-imaging MySQL-python python-memcached python-ldap python-urllib3 ffmpeg ffmpeg-devel python-pip

pip install pillow moviepy

4.执行安装:

cd /home/seafile/seafile-server-*

./setup-seafile.sh #根据交互信息,设置server name,server IP,data dir,server port

5.启动服务

./seafile.sh { start | stop | restart }

./seahub.sh { start | stop | restart }  

6.访问服务

http://server ip:8000/

上一篇下一篇

猜你喜欢

热点阅读