Ubuntu One是Ubuntu推出的雲存儲,其客戶端集成在Ubuntu操作系統中隨最新發行版發行。一直以來,我使用Dropbox作為自己的在線存儲。不過, 考慮到互備冗余,並且自己一直使用Linux桌面,似乎使用Ubuntu One也是順利成章的事情。
不過,如魚飲水冷暖自知,實踐後才有所比 較。總得來說,Ubuntu One在第三方Linux系統中安裝還是有不少限制的,主要是太依賴gnome平台(我在LXDE桌面安裝遇到不少問題),並且使用上不直觀,同步效率很 低(只是我的使用體驗,也許我的安裝存在缺陷,希望有人能夠斧正 ^_^ )。
我使用的是Gentoo Linux操作系統,發行版中沒有提供此軟件包,需要 采用第三方提供的ebuild方式安裝。以下是我的安裝過程記錄,花費了不少時間和精力,雖然最終放棄,不過還是留下一個痕跡。
1
cd /opt/download
2
git clone git://gitorious.org/gentoo-ubuntu-one/gentoo-ubuntu-one.git
3
cd gentoo-ubuntu-one
4
mv * /usr/local/portage/
1
emerge -pv gnome-extra/ubuntuone-client
1
emerge gnome-extra/ubuntuone-client
ubuntuone-preferences
, 有報缺少python模塊錯誤,我補充安裝了以下模塊 1
emerge dev-python/httplib2 dev-python/simplejson
ubuntuone-preferences
還是遇到無法同步的問題,一狠心,emerge gnome-light
安裝了gnome基礎環境。這樣才能夠正常進行設置和同步。看來ubuntu one對gnome環境是有依賴的,www.linuxidc.com這點比Dropbox要遜色不少。 ubuntuone-preferences
,此時會打開一個firefox浏覽器並提示 Confirm Computer Access
gnome-ring
添 加密鑰。(在進入gnome環境後,後台有進程gnome-keyring-daemon --start
)
ubuntuone-preferences
如下 1
u1sync --authorize
1
u1sdtool -s
State: READY connection: Not User Not Network description: ready to connect is_connected: False is_error: False is_online: False queues: IDLE
1
u1sdtool --start
1
u1sdtool -c
當登錄桌面,第一次使用會彈出gnome-keyring
進行解鎖確認。
1
u1sdtool --refresh=/home/huatai/Ubuntu\ One
在 ~/Ubuntu One
目錄下,實際上只有一個軟鏈接
lrwxrwxrwx 1 huatai huatai 42 May 18 10:34 Shared With Me -> /home/huatai/.local/share/ubuntuone/shares
所以可以很輕易集成到dropbox
退出gnome桌面(這樣可以暫時終止dropbox和ubuntu one)
1
cd ~/Dropbox
2
ln -s ~/.local/share/ubuntuone/shares ./Shared\ With\ Me
3
cd ~
4
rm -rf Ubuntu\ One
5
ln -s Dropbox Ubuntu\ One