centos7搭建seafile7.0.4

1 篇文章 0 订阅
1 篇文章 0 订阅

安装环境:

centos7.4    mysql5.7(第三步配置数据库用到,教程自己搜,还不会的@我)

seafile官方参考: https://cloud.seafile.com/published/seafile-manual-cn/deploy/using_mysql.md

1.下载seafile并解压

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

2.安装环境

yum -y install epel-release

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

pip install pillow moviepy

上一条命令可能错误:执行下面命令

yum install python3-pip

pip3 install pillow moviepy

3.安装seafile(按需求自己设置)

./setup-seafile-mysql.sh

4. 7.0.x 版本之后,8000端口默认监听在127.0.0.1地址上,这意味着您无法直接通过8000端口访问Seafile服务,按官方文档建nginx或者修改下面配置

/home/seafile/conf/gunicorn.conf文件

 

5.启动并访问http://192.168.1.100:8000,记得开启端口访问权限

  • 启动 Seafile:

./seafile.sh start # 启动 Seafile 服务

  • 启动 Seahub

./seahub.sh start # 启动 Seahub 网站 (默认运行在8000端口上)

 

 

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值