seafile ubuntu 安装相关

本文详细记录了在Ubuntu 16.04/18.04上安装Seafile服务器的过程,包括解决gzip错误的方法,下载并解压Seafile服务器文件,以及使用seafile.sh和seahub.sh脚本启动服务。同时提供了Seafile和Seahub的启动端口,以及后续配置建议,如防火墙设置、邮件发送配置等。

1,各种原因,需要安装 seafile,好,开始安装。

2,参考 https://github.com/haiwen/seafile-server-installer-cn 

  1,Ubuntu 16.04/18.04 (64bit):

  2,wget https://raw.githubusercontent.com/haiwen/seafile-server-installer-cn/master/seafile-server-ubuntu-amd64-http

  3,运行脚本 bash seafile-server-ubuntu-amd64-http 6.2.5

    1,这个地方到最后,总是报 gzip 错误。

    2,提前在 https://www.seafile.com/download/ 

     下载好 http://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_6.2.5_x86-64.tar.gz 

     放到 /opt 下面,

     解压好,

     目录名称为 seafile-server-6.2.5  不变

以上。

-----------------------------------------------------------------
Your seafile server configuration has been finished successfully.
-----------------------------------------------------------------

run seafile server: ./seafile.sh { start | stop | restart }
run seahub server: ./seahub.sh { start <port> | stop | restart <port> }

-----------------------------------------------------------------
If you are behind a firewall, remember to allow input/output of these tcp ports:
-----------------------------------------------------------------

port of seafile fileserver: 8082
port of seahub: 8000

When problems occur, Refer to

https://github.com/haiwen/seafile/wiki

for information.

 

[04/24/19 16:46:59] ../common/session.c(132): using config file /opt/seafile/conf/ccnet.conf
Starting seafile server, please wait ...
Seafile server started

Done.

LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 ...


----------------------------------------
Successfully created seafile admin
----------------------------------------

 


Seahub is started

Done.


Stopping seahub ...
Done.


Stopping seafile server ...
Done.
Starting productive Seafile server

Your Seafile server is installed
-----------------------------------------------------------------

Server Address: http://127.0.0.1

Seafile Admin: admin@seafile.local
Admin Password: vei5Eewu

Seafile Data Dir: /opt/seafile/seafile-data

Seafile DB Credentials: Check /opt/seafile.my.cnf
Root DB Credentials: Check /root/.my.cnf

This report is also saved to /opt/seafile/aio_seafile-server.log

 

Next you should manually complete the following steps
-----------------------------------------------------------------

1) Log in to Seafile and configure your server domain via the system
admin area if applicable.

2) If this server is behind a firewall, you need to ensure that
tcp port 80 is open.

3) Seahub tries to send emails via the local server. Install and
configure Postfix for this to work or
check https://manual.seafile.com/config/sending_email.html
for instructions on how to use an existing email account via SMTP.

 


Optional steps
-----------------------------------------------------------------

1) Check seahub_settings.py and customize it to fit your needs. Consult
http://manual.seafile.com/config/seahub_settings_py.html for possible switches.

2) Setup NGINX with official SSL certificate.

3) Secure server with iptables based firewall. For instance: UFW or shorewall

4) Harden system with port knocking, fail2ban, etc.

5) Enable unattended installation of security updates. Check
https://wiki.Ubuntu.org/UnattendedUpgrades for details.

6) Implement a backup routine for your Seafile server.

7) Update NGINX worker processes to reflect the number of CPU cores.

 


Seafile support options
-----------------------------------------------------------------

For free community support visit: https://bbs.seafile.com
For paid commercial support visit: https://seafile.com

转载于:https://www.cnblogs.com/Clymene/p/10763402.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值