Seafile 是一款開源企業雲盤,和Owncloud類似,個人感覺Seafile更加穩定,搭建也很簡單,為了方便,xiaoz寫了一個一鍵腳本,方便快速搭建自己的私有雲。
環境要求
- CentOS 7 64位
- Python >= 2.7
- SqLite 3
開始安裝
復制下面的命令,依次輸入,如果不出意外,會看到如下截圖,請分別按照截圖中的注釋操作。
yum -y install wget
wget https://raw.githubusercontent.com/helloxz/seafile/master/install_seafile.sh
chmod +x install_seafile.sh && ./install_seafile.sh
當你看到如下界面,說明已經安裝完成,直接輸入http//:IP:8000
進行訪問,接下來的操作只要你能看懂中文就不是什么問題了,Seafile還提供了多平台客戶端(見文末)。
其它說明
安裝目錄和服務如下,如果您還需要配置更多的功能或擴展,請訪問官方幫助文檔:https://manual-cn.seafile.com/
#安裝目錄 /home/MyCloud #啟動服務 /home/MyCloud/seafile-server/seafile.sh start /home/MyCloud/seafile-server/seahub.sh start #停止服務 /home/MyCloud/seafile-server/seafile.sh stop /home/MyCloud/seafile-server/seahub.sh stop
總結
Seafile支持全平台客戶端,非常適合私有雲方案,一台VPS可搞定一切。曾在文章《CentOS一鍵安裝Resilio Sync腳本》分享過Resilio Sync一鍵腳本,有興趣的也可以試試。
腳本源碼: https://github.com/helloxz/seafile
Seafile客戶端下載: https://www.seafile.com/download/