BTSync

user-pic
Vote 0 Votes

BTSync 這個好東西可以打造私有雲, 由於它是 P2P, 直接點對點同步,
不需要跟雲端同步, 這點是跟 Dropbox, Google Drive, SkyDrive 等雲端硬碟不太一樣的地方.
它的空間限制就是你的硬碟大小, 可以在封閉式網路環境(無Internet)使用.
BTSync 目前有 Windows, MAC, Linux, FreeBSD 四種平台的軟體, 裝在 Raspberry Pi (Linux ARM) 上面也沒問題
Linux, FreeBSD 版本的 BTSync, 只有一個執行檔, 把它放到 /usr/local/sbin
有兩種設定方式, WebUI 或 Config, 需注意的是若用 Config, WebUI 會被關閉

WebUI, 連到 http://YourIP:8888/gui/ 進行設定, 不過用 WebUI 設定好的值沒辦法存起來,
下次重啟 BTSync 仍要重新設定, 滿奇怪的, 所以還是用 Config 模式吧.

Config 模式先產生 Sample Config, btsync --dump-sample-config > /usr/local/etc/sync.conf
uncomment "shared_folders" 區塊, 設定 "secret" 及 "dir" 就好了
"secret" 是隨機產生的 32 bytes 英文數字字串, 用來識別這組檔案庫, 要和別人分享資料, 只要給他只這組 secret
"dir" 是分享的目錄路徑
啟動
/usr/local/sbin/btsync --config /usr/local/etc/sync.conf

ref. Getting Started - Linux and NAS

Leave a comment

About this Entry

This page contains a single entry by Pank published on June 12, 2013 5:42 PM.

CGN Shared Address Space was the previous entry in this blog.

My Google Reader Replacement is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives