20 private links
Seafile 一键安装
采用官方英文版的安装方案:
Centos 系统:
cd /opt
wget https://download.seafile.com/seafhttp/files/71064cd6-610a-44b6-9a84-044e0b7c1afe/seafile-pro-server_7.0.7_x86-64.tar.gz
cd /root
wget --no-check-certificate https://raw.githubusercontent.com/haiwen/seafile-server-installer/master/seafile_centos
bash seafile_centos 7.0.7
错误解决 Failed:
initscripts.x86_64 0:9.49.24-1.el7 initscripts.x86_64 0:9.49.30-1.el7
chattr -i /usr/lib/udev/rules.d/60-net.rulesUbuntu 系统:
cd /opt
#下载程序安装包
wget https://download.seafile.com/seafhttp/files/c26fac9a-15e3-4769-9c8d-5a2e34a8216c/seafile-pro-server_7.0.9_x86-64.tar.gz
cd /root
#下载程序安装脚本
wget --no-check-certificate https://raw.githubusercontent.com/haiwen/seafile-server-installer/master/seafile_ubuntu
bash seafile_ubuntu 7.0.9Seafile 彻底从磁盘中删除文件
Seafile是一个非常棒的私有云方案,在服务器搭建测试的时候上传了很多文件,删除之后发现磁盘空间并没有减少,官方文档中也没有详细说明如何清理,最通过论坛搜索找到了答案。
解决办法
删除文件后将回收站一并清空
官方提到删除后还会保留最后一次的历史,并且这个历史是看不到的,因此磁盘不会释放,假如我删除了test文件夹下的所有文件,磁盘不会释放,继续在test目录上传一个小文件。
最后执行 /opt/seafile/seafile-pro-server-7.0.9/seaf-gc.sh 脚本进行清理