美文网首页
seafile部署

seafile部署

作者: Ze_phyr | 来源:发表于2018-03-05 17:01 被阅读115次

    部署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/

    相关文章

      网友评论

          本文标题:seafile部署

          本文链接:https://www.haomeiwen.com/subject/oybhfftx.html