网站建设

seafile限制上传和下载大小

在 seafile.conf 中:

[fileserver]
# 设置最大上传文件为 200M.
max_upload_size=200

# 设置最大下载文件/目录为 200M.
max_download_dir_size=200

启动 Seafile 服务器和 Seahub 网站
./seafile.sh start # 启动 Seafile 服务
./seahub.sh start <port> # 启动 Seahub 网站 (默认运行在8000端口上)

开放8000 , 8082端口
Seabub: 8000
FileServer: 8082

常用命令
./seahub.sh stop # 停止 Seafile 进程 ./seafile.sh stop # 停止 Seahub ./seafile.sh start # 启动 Seafile 服务 ./seahub.sh start 8001 # 启动 Seahub 网站 (运行在8001端口上) ./seahub.sh stop # 停止 Seahub ./seafile.sh stop # 停止 Seafile 进程 ./seafile.sh restart # 停止当前的 Seafile 进程,然后重启 Seafile ./seahub.sh restart # 停止当前的 Seahub 进程,并在 8000 端口重新启动 Seahub pgrep -f seafile-controller # 查看 Seafile 进程 pgrep -f "seahub" # 查看 Seahub 进程 pkill -f seafile-controller # 结束 Seafile 进程 pkill -f "seahub" # 结束 Seafile 进程

https://www.cnblogs.com/boy1025/p/6945020.html
https://www.landui.com/help/show-5874.html

Related Articles

发表回复

Back to top button