- 下载Raspberry版tar发行包。
https://github.com/haiwen/seafile-rpi/releases - 安装前检查python环境,安装mysql,准备提供root密码。
- 将tar包解压,运行安装脚本 setup-seafile-mysql.sh ,按提示输入配置参数。
- 修改数据文件路径。Raspberry版安装时不提示询问seafile数据文件的存放路径(与说明文档不一致,不明原因),因此分别修改服务启动脚本 seafile.sh 和 seahub.sh ,将 default_seafile_data_dir 指向nas盘。
### REPLACE BY Pistachio to change the datafile dir. #default_seafile_data_dir=${TOPDIR}/seafile-data ### default_seafile_data_dir=/media/nasdisk/seafile-data
- 修改配置文件 conf/gunicorn.conf.py,允许远程访问。
# default localhost:8000 #bind = "127.0.0.1:8000" bind = "0.0.0.0:8000"
- 启动、停止服务
./seafile.sh start|stop ./seahub.sh start|stop
树莓派4b安装seafile
最新推荐文章于 2024-05-20 09:38:53 发布