安装Mysql
可以参考文章
## 安装Seafile 获取脚本 ``` wget https://raw.githubusercontent.com/haiwen/seafile-server-installer-cn/master/seafile-server-centos-7-amd64-http ``` 安装 ``` bash seafile-server-centos-7-amd64-http 6.0.13 ``` 安装依赖 ``` yum install python python-setuptools MySQL-python python-urllib3 python-ldap -y ``` ## 开始安装Seafile ``` ./setup-seafile-mysql.sh #运行安装脚本并回答预设问题 ``` ## 软件脚本目录 /opt/seafile/installed/seafile-server-latest ## 相关命令 ``` ./seafile.sh start # 启动 Seafile 服务 ./seahub.sh start # 启动 Seahub 网站 (默认运行在127.0.0.1:8000端口上需要修改配置) ``` ## 允许所有人访问 修改安装目录下/conf/gunicorn.conf文件,将默认127.0.0.1改为0.0.0.0 重启服务 ``` ./seafile.sh restart ./seahub.sh restart ```
2 条评论
不让出门,只能刷刷博客了!
是呢,这个疫情估计还有两个月就能控制住了