项目作者: Coding-01

项目描述 :
Seafile是一个开源的云存储平台,解决文件集中存储、共享和跨平台访问等问题.支持 Windows, Mac, Linux, iOS, Android
高级语言: Shell
项目地址: git://github.com/Coding-01/seafile.git
创建时间: 2018-10-08T00:28:58Z
项目社区:https://github.com/Coding-01/seafile

开源协议:

关键词:
cloud-storage-platform seafile

下载


docker install

  1. yum -y install yum-utils device-mapper-persistent-data lvm2
  2. yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
  3. yum -y install docker-ce
  4. systemctl start docker
  5. systemctl enable docker

pull image && Make Container

  1. docker pull zhangpengzhan456/seafile:6.2.5
  2. docker run -itd -p 10001:10001 -p 12001:12001 -p 8000:8000 -p 8080:8080 -p 8082:8082 -v /data:/opop zhangpengzhan456/seafile:6.2.5 -- /bin/bash

download package && install

  1. mkdir /opop && cd /opop
  2. wget http://seafile-downloads.oss-cn-shanghai.aliyuncs.com/seafile-server_6.2.5_x86-64.tar.gz
  3. tar -zxvf seafile-server_6.2.5_x86-64.tar.gz -C /data
  4. docker exec -it <Container ID> /bin/bash
  5. cd /opop/seafile-server-6.25/
  6. ./setup-seafile.sh
  7. Press [ENTER] to continue //Press enter
  8. [server name]: ILoveCode001 //Custom ServerName
  9. [This server\'s ip or domain]: 192.168.1.202 //example: www.mycompany.com OR 192.168.1.102
  10. [default: /opop/seafile-data ] //Press enter. {Where would you like to store your seafile data?}
  11. [default: 8082 ] //Press enter
  12. server name: ILoveCode001
  13. server ip/domain: 192.168.1.202
  14. seafile data dir: /opop/seafile-data
  15. fileserver port: 8082
  16. run seafile server: ./seafile.sh { start | stop | restart }
  17. run seahub server: ./seahub.sh { start <port> | stop | restart <port> }
  18. port of seafile fileserver: 8082
  19. port of seahub: 8000
  20. ./seafile.sh start //start seafile
  21. ./seahub.sh start //start sseahub
  22. [ admin email ] <Email>
  23. [ admin password ] <Password>
  24. [ admin password again ] <Password>

Access on the host Browser

  1. 192.168.1.210:8000 //8000 port is seahub
  2. username: <Email>
  3. password: <Password>

restart seafile

  1. ./seafile.sh restart # 停止当前的 Seafile 进程,然后重启 Seafile
  2. ./seahub.sh restart # 停止当前的 Seahub 进程,并在 8000 端口重新启动 Seahub

Nginx Enable Https

  1. https://manual-cn.seafile.com/deploy/https_with_nginx.html