本地搭建Seafile

本地搭建Seafile

1.下载

2.解压

3.创建目录

mySeafile

4.将解压包放入mySeafile中

5.创建installed

将压缩包放入installed

安装准备工作

python 2.7
python-setuptools
python-imaging
python-ldap
python-urllib3
sqlite3
apt-get update
apt-get install python
apt-get install python2.7 libpython2.7 python-setuptools python-imaging python-ldap python-urllib3 ffmpeg python-pip sqlite3
pip install pillow moviepy

运行安装脚本

cd seafile-server-*
./setup-seafile.sh  #运行安装脚本并回答预设问题

启动

扫描二维码关注公众号,回复: 2370584 查看本文章
  • 启动 Seafile:

       ./seafile.sh start # 启动 Seafile 服务
  • 启动 Seahub

      ./seahub.sh start # 启动 Seahub 网站 (默认运行在8000端口上)

其它常用命令

./seahub.sh stop # 停止 Seafile 进程
./seafile.sh stop # 停止 Seahub

./seafile.sh start # 启动 Seafile 服务
./seahub.sh start 8001 # 启动 Seahub 网站 (运行在8001端口上)

./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 进程

猜你喜欢

转载自www.cnblogs.com/jiqing9006/p/9367544.html