安装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 ```
正文到此结束

本文标题:Seafile搭建记录

本文链接:https://www.hantaosec.com/1790.html

除非另有说明,本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

声明:转载请注明文章来源及链接,不带链接禁止任何转载!访问任何网络安全相关文章,则视为默认接受网络安全文章免责声明 ,请认真阅读。

喜欢我的文章吗?
别忘了点赞或赞赏,让我知道创作的路上有你陪伴。