┌────
│ cd ~/haiwen/seafile-server-4.2.3/
│ ./setup-seafile.sh
│ # 此处会提示输入一些服务器的配置信息
│
│ What would you like to use as the name of this seafile server?
│ Your seafile users will be able to see the name in their seafile client.
│ You can use a-z, A-Z, 0-9, _ and -, and the length should be 3 ~ 15
│ [server name]: firefly
│ # 填写服务器名称,只能用3~15位的英文、数字、减号和下划线,例如 "firefly"
│
│ What is the ip or domain of this server?
│ For example, www.mycompany.com, or, 192.168.1.101
│
│ [This server's ip or domain]: 192.168.1.2
│ # 填写服务器的 IP 或域名
│
│ What tcp port do you want to use for ccnet server?
│ 10001 is the recommended port.
│ [default: 10001 ]
│ # ccnet 服务器的 TCP 端口,采用默认的即可
│
│ Where would you like to store your seafile data?
│ Note: Please use a volume with enough free space.
│ [default: /home/firefly/firefly/seafile-data ]
│ # 文件数据的存储路径,可以指定为外挂磁盘的路径
│
│ What tcp port would you like to use for seafile server?
│ 12001 is the recommended port.
│ [default: 12001 ]
│ # seafile 服务器的 TCP 端口,采用默认的即可
│
│ What tcp port do you want to use for seafile fileserver?
│ 8082 is the recommended port.
│ [default: 8082 ]
│ # seafile 文件服务器的 TCP 端口,采用默认的即可
└────
1.3 启动服务
──────
┌────
│ $ cd ~/haiwen/seafile-server-latest
│
│ $ ./seafile.sh start
│
│ Starting seafile server, please wait ...
│ Seafile server started
│
│ Done.
│
│ $ ./seahub.sh start
│
│ Starting seahub at port 8000 ...
│
│ ----------------------------------------
│ It's the first time you start the seafile server. Now let's create the admin account
│ ----------------------------------------
│
│ What is the email for the admin account?
│ [ admin email ] admin@www.cloudfly.com
│ # 初次运行,输入管理员邮箱
│
│ What is the password for the admin account?
│ [ admin password ]
│ # 输入管理员密码
│
│ Enter the password again:
│ [ admin password again ]
│ # 再次输入管理员密码
│
│ ----------------------------------------
│ Successfully created seafile admin
│ ----------------------------------------
│
│ Seahub is started
│
│ Done.
└────