找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2728|回复: 9

玩客云安装seafile云盘应用

[复制链接]
本帖最后由 openwrt-w 于 2020-2-25 17:16 编辑

成果展示
一、准备材料
        a)玩客云一台
        b)闲置移动硬盘
        c)Seafile安装文件
二、相关资料
        a)玩客云破解
           i. 刷机教程&& https://www.right.com.cn/forum/thread-2803127-1-1.html
          ii. 刷机相关文件下载&& http://nctoro.com/zhonghe/339.html
         iii. 刷机视频&& https://www.bilibili.com/video/av75984155/
          iv. Seafile系统下载&& https://github.com/haiwen/seafile-rpi/releases/tag/v7.0.5
三、seafile安装
        a)部署和目录设计(官方资料https://cloud.seafile.com/published/seafile-manual-cn/deploy/using_mysql.md)

  1. mkdir /opt/seafile
  2.         mv seafile-server_* /opt/seafile
  3.         cd /opt/seafile
  4.         #将 seafile-server_* 移动到 seafile 目录下后
  5.         tar -xzf seafile-server_*
  6.         mkdir installed
  7.         mv seafile-server_* installed
复制代码
           b) 现在,你的目录看起来应该像这样:
  1. #tree seafile -L 2
  2. haiwen
  3. ├── installed
  4. │   └── seafile-server_7.0.0_x86-64.tar.gz
  5. └── seafile-server-7.0.0
  6.     ├── reset-admin.sh
  7.     ├── runtime
  8.     ├── seafile
  9.     ├── seafile.sh
  10.     ├── seahub
  11.     ├── seahub.sh
  12.     ├── setup-seafile-mysql.sh
  13.     └── upgrade
复制代码
            c)这样设计目录的好处在于   
            i、和 seafile 相关的配置文件都可以放在 /opt/seafile/conf 目录下,便于集中管理.
            ii、后续升级时,你只需要解压最新的安装包到 /opt/seafile 目录下.
四、安装 Seafile 服务器
    a)  安装前的准备工作安装
                    i、安装 Seafile 服务器之前,请确认已安装以下软件:
                        
            Seafile 7.0.x 版本(ARM)
  1. # on Dbian9 /Ubuntu 16.04

  2. sudo apt update -y  
  3. sudo apt upgrade -y
  4. sudo apt install python2.7 python-setuptools python-mysqldb python-urllib3 python-ldap python-imaging python-requests -y
  5. sudo apt install mariadb-server -y
复制代码
           Seafile 7.1.x 版本(ARM)
  1. # on Debian 10/Ubuntu 18.04

  2. apt-get update
  3. apt-get install python3 python3-setuptools python3-pip python3-ldap -y
  4. pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy psd-tools django-pylibmc django-simple-captcha
  5. sudo apt install mariadb-server -y
复制代码
         b)安装
  1. mysql_secure_installation #初始化数据库

  2. cd seafile-server-*  #进入安装文件目录

  3. ./setup-seafile-mysql.sh  #运行安装脚本并回答预设问题
复制代码
         c)启动 Seafile 服务器
  1. ./seafile.sh start /stop / restart# 启动 Seafile 服务
复制代码
  1. ./seahub.sh start /stop / restart # 启动 Seahub 网站 (默认运行在127.0.0.1:8000端口上)

  2. 修改conf/gunicorn.conf 默认监听本机导致无法访问

  3. # default localhost:8000

  4. bind = "0.0.0.0:8001"
复制代码


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
有啥用处?

点评

私有云,俗称网盘。  详情 回复 发表于 2020-2-25 17:47
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 openwrt-w 于 2020-2-25 17:46 编辑

Seahub:Seafile服务器通过"gunicorn"(一个轻量级的Python HTTP服务器)来提供网站支持,不需要安装nginx /apache、php等软件,当然也可以使用nginx、apache,请参照官方资料设置。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层

私有云,俗称网盘。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我用的可道云,感觉部署起来很简单的说。

点评

都可以,seafile 也挺好用。  详情 回复 发表于 2020-2-25 18:21
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
青烟 发表于 2020-2-25 18:18
我用的可道云,感觉部署起来很简单的说。

都可以,seafile 也挺好用。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢楼主分亨ok
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢分享够适感谢嗯嗯嗯
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报


感谢分享够适感谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 04:29

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表