吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 8613|回复: 20
收起左侧

[其他] seafile服务器端的centos8的快速部署

  [复制链接]
ugc.9077 发表于 2020-5-22 14:48
本帖最后由 ugc.9077 于 2020-5-22 14:37 编辑

首先 请先浏览这个网址 http://14.29.224.25:8000/d/d553ee7ee0/
里面的seafile7_1_x_on_centos8_64 是安装脚本

怎么用呢
首先 你需要一个 virtualbox (免费的)
为什么不是VM 因为VM收费 wmplayer 还不如 vbox
vbox还出现在国内的各大安卓模拟器里
网站 https://www.oracle.com/virtualization/virtualbox/
下载链接:https://download.virtualbox.org/virtualbox/6.1.6/VirtualBox-6.1.6-137129-Win.exe

然后是centos 8,我还是上个月下载的 8.1.1911_x86_64
vbox 不会安装 centos的 又不会百度的 可以不用看下去了
==========================================
推荐1核4G,带宽看情况配
网络用NAT 映射 22 和 80 出来
由于本身是vbox虚拟化 所以不再推荐docker
自身有条件使用超融合的 推荐配置2核4G
建议存储配备 存储服务器保存 seafile-data 和 seahub-data
====存储配置====
iscsiadm 配置 好了以后挂载到为seafile-data
seafile-data使用物理存储路径
在seafile-data里面创建保存seahub-data的文件夹
seafile的 seahub-data走软链接 保存到seafile-data里的seahub-data

好处就是  mysql数据和文件数据都是存在 存储服务器上的
随时系统崩了都能重启还原(不是数据损坏的话)
重启前 建议先把服务停了
===============================

安装centos 使用最小化安装
记得配置网卡和时区 还有root密码(养成习惯)

安装好了以后 推荐使用xshell+xftp(选择个人和家庭的免费授权)
vbox里查看你的centos的设置在网络那里 选择 nat 展开高级里面有端口转发
增加一个ssh规则名 将127.0.0.1(养成好习惯)的某端口 映射到子系统的22端口

xshell通过这个某端口 可以直接ssh访问centos

执行安装前 现在vbox 里对你的centos 做一次snapshot(备份)
=====================
在xshell里面 使用脚本
#安装wget
yum -y install wget

#把seafile7_1_x_on_centos8_64下载并保存为 is
wget "http://14.29.224.25:8000/d/d553ee7ee0/files/?p=/seafile7_1_x_on_centos8_64&dl=1" -O is


#执行这个脚本 参数为7.1.4
bash is 7.1.4

===========
如果是安装专业版目前参数只能是7.1.4  如果是安装社区版 可以按照你知道能下载的社区版去装
专业版他是从帖子开头提到的网址里分享的去下载的

======================
seafile7_1_x_on_centos8_64脚本 与官方的相比
1 yum源转国内
2 增加专业版从我提供的网盘里下载
3 pip源使用豆瓣的
附官方安装脚本下载地址 给喜欢折腾的勇士
https://github.com/haiwen/seafile-server-installer-cn/blob/master/seafile-server-7.1-centos-amd64-http
========================
选择 seafile 而不是 owncloud 或者 其他的原因
1  挂载版客户端 跟资源管理器一样的操作 亲和度非常高
2 国产的 符合国产化要求(有被这个要求或者需求的人才知道这个有多重要)
3 安全性很高
4 几款私有云盘 我用起来就这个比较好

安装过程应该是一顺到底的
如果中间出现有错误 推荐把日志发这里 我也想学习 当作是预先踩坑吧
安装完成记得 可以通过 映射到子系统80的端口看到网站的时候
记得再做一个备份
==============
我不提供售后  我不是他们的人
破解了专业版 如果有需要私信我  **免费提供****免费提供****免费提供**
[我被安利加入了一个 剪羊毛的群
我几乎不说话 但是群主很喜欢我
因为我给他做了一个管理羊毛的软件
所以你们一旦拿我的东西去淘宝咸鱼
我相信一晚投诉1500不是问题]
个人学习研究用 我觉得没所谓
但是商业用途我还是觉得值得购买正版
因为出了问题有售后 出了问题有售后 出了问题有售后
不用自己(瞎)折腾
我工作的地方使用的是 社区版
就是为了以后须有扩大了 购买专业版做准备

硬件有价 数据无价  
希望看过的各位 未来几年 硬件不坏 数据不丢

免费评分

参与人数 14吾爱币 +13 热心值 +13 收起 理由
rodgersnow + 1 我很赞同!
忆秋暝枫 + 1 + 1 我很赞同!
hanjiaming + 1 + 1 用心讨论,共获提升!
pholy + 1 + 1 我很赞同!
zhang21610 + 1 + 1 我很赞同!
YongKJ + 1 + 1 谢谢@Thanks!
tqjason + 1 + 1 谢谢@Thanks!
tzlinjiang + 1 + 1 谢谢@Thanks!
Evil_small_弃 + 1 + 1 我很赞同!
kofmj + 1 + 1 大神,求组织!!!!!!
efujin + 1 + 1 我从官网下载安装了7.1.4专业版,现在遇到问题是无法预览office文件,提示.
Edison_zhu + 1 希望看过的各位 未来几年 硬件不坏 数据不丢 赞啊
wapj2900958 + 1 + 1 谢谢@Thanks!
ddd9ddd9 + 1 + 1 我很赞同!

查看全部评分

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

change 发表于 2020-6-17 14:48
centos 8 安装完成后,集成onlyoffice .系统启动后,运行几分钟后,seahub自动停止。重启服务又好了。过几分钟又报同样的错误。如此反复。显示错误代码如下,有没有大神知道是哪里的问题。搞了好几天了,都没找到问题所在。
2020-06-17 18:45:56,799 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter fvh
2020-06-17 18:46:47,216 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api/v2.1/repos/95704655-90ad-4017-a6ae-3ac77d1a29c1/repo-tags/
Traceback (most recent call last):
  File "/opt/seafile/seafile-pro-server-7.1.4/seafile/lib64/python3.6/site-packages/pysearpc/utils.py", line 30, in sendall
    n = fd.send(data[offset:])
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/rest_framework/views.py", line 505, in dispatch
    response = self.handle_exception(exc)
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/rest_framework/views.py", line 465, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/rest_framework/views.py", line 476, in raise_uncaught_exception
    raise exc
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/thirdpart/rest_framework/views.py", line 502, in dispatch
    response = handler(request, *args, **kwargs)
  File "/opt/seafile/seafile-pro-server-7.1.4/seahub/seahub/api2/endpoints/repo_tags.py", line 40, in get
    repo = seafile_api.get_repo(repo_id)
  File "/opt/seafile/seafile-pro-server-7.1.4/seafile/lib64/python3.6/site-packages/seaserv/api.py", line 110, in get_repo
    return seafserv_threaded_rpc.get_repo(repo_id)
  File "/opt/seafile/seafile-pro-server-7.1.4/seafile/lib64/python3.6/site-packages/pysearpc/client.py", line 126, in newfunc
    ret_str = self.call_remote_func_sync(fcall_str)
  File "/opt/seafile/seafile-pro-server-7.1.4/seafile/lib64/python3.6/site-packages/pysearpc/named_pipe.py", line 101, in call_remote_func_sync
    ret_str = transport.send(self.service_name, fcall_str)
  File "/opt/seafile/seafile-pro-server-7.1.4/seafile/lib64/python3.6/site-packages/pysearpc/named_pipe.py", line 62, in send
    sendall(self.pipe, header)
  File "/opt/seafile/seafile-pro-server-7.1.4/seafile/lib64/python3.6/site-packages/pysearpc/utils.py", line 32, in sendall
    raise NetworkError('Failed to write to socket: %s' % e)
pysearpc.errors.NetworkError: Failed to write to socket: [Errno 32] Broken pipe
wapj2900958 发表于 2020-5-23 13:49
tqjason 发表于 2020-5-22 16:01
辉夜年华 发表于 2020-5-22 16:07
楼主,来一发,静静等待中
change 发表于 2020-5-22 16:18
大佬,搞个专业版的,谢谢!
besthome 发表于 2020-5-22 16:53
seafile,值得赞扬,与楼主同感
xfhxwjx 发表于 2020-5-23 09:10
谢谢楼主分享。。
wapj2900958 发表于 2020-5-23 15:33
楼主可否考虑一下变成通用版本,另外判断是否已经下载好7.14,不用重复下载
efujin 发表于 2020-5-24 23:01
我是在seafile下载安装的7.1.4专业版(限制3用户),现在能打开web界面,可以正常使用。
但office文件在线预览功能无法使用,打开office或PDF文件时提示:文件编码无法识别。
大侠有解决办法吗?
文件编码无法识别.jpg
godbacker 发表于 2020-5-25 09:09
楼主能否提供一下专业版本PJ,sayanget@qq.com
快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-6-17 11:45

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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