登峰造极境

  • WIN
    • CSharp
    • JAVA
    • OAM
    • DirectX
    • Emgucv
  • UNIX
    • FFmpeg
    • QT
    • Python
    • Opencv
    • Openwrt
    • Twisted
    • Design Patterns
    • Mysql
    • Mycat
    • MariaDB
    • Make
    • OAM
    • Supervisor
    • Nginx
    • KVM
    • Docker
    • OpenStack
  • WEB
    • ASP
    • Node.js
    • PHP
    • Directadmin
    • Openssl
    • Regex
  • APP
    • Android
  • AI
    • Algorithm
    • Deep Learning
    • Machine Learning
  • IOT
    • Device
    • MSP430
  • DIY
    • Algorithm
    • Design Patterns
    • MATH
    • X98 AIR 3G
    • Tucao
    • fun
  • LIFE
    • 美食
    • 关于我
  • LINKS
  • ME
Claves
长风破浪会有时,直挂云帆济沧海
  1. 首页
  2. Platforms
  3. LINUX
  4. OAM
  5. 正文

seafile私有云盘安装配置-折腾笔记

2016-10-14

环境


服务器:CentOS-7-x86_64-Minimal-1511

seafile版本:6.0.4

一、一键安装脚本

https://github.com/haiwen/seafile-server-installer-cn

二、奇怪的自定义

虽有官方提供的一键安装脚本,但是在安装过程中也遇到了很多奇葩的问题,遂记录于此。

1、设置主机名

执行一键脚本时,遇到hostname error问题,故需要设置hostname

1.1查看当前主机名

hostnamectl status

1.2设置主机名

hostnamectl set-hostname "host.local"

2、打开防火墙

执行一键脚本时,又遇到防火墙问题,故需要设置。

2.1启用防火墙

systemctl enable firewalld.service

2.2 启动防火墙

systemctl start firewalld.service

2.3 查看防火墙状态

systemctl status firewalld.service

3、将主机名添加到host

执行一键脚本时,又遇到主机名unreachable问题,故需要设置。

3.1编译hosts

vim /etc/hosts

修改如下:

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 host.local
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

3.2测试

ping host.local

参考文档


https://github.com/haiwen/seafile-server-installer-cn

https://manual-cn.seafile.com/

 

标签: 暂无
最后更新:2016-10-16

代号山岳

知之为知之 不知为不知

点赞
< 上一篇
下一篇 >

COPYRIGHT © 2099 登峰造极境. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

蜀ICP备14031139号-5

川公网安备51012202000587号