若是你沒有gcc,請先安裝gcc:linux
1: apt-get install build-essential
1. 從github上clone源碼:git
https://github.com/TurboGit/hubicfusegithub
https://github.com/TurboGit/hubicfuse.gitweb
2.執行./conbigurejson
configure: error: ‘Unable to find libxml2. Please make sure library and header files are installed.’ubuntu
缺乏 libxml2服務器
1: apt-get install libxml2-dev
而後,發現仍是缺乏libxml2curl
找到這個帖子:wordpress
https://github.com/redbo/cloudfuse/issues/20post
1: apt-get install pkg-config
而後:
configure: error: ‘Unable to find libcurl. Please make sure library and header files are installed.’
1: apt-get install libcurl4-openssl-dev
而後:
1: apt-get install libcurl3 libcurl3-openssl-dev libcurl3-dev
而後缺乏: libfuse
configure: error: ‘Unable to find libfuse. Please make sure library and header files are installed.’
1: apt-get install libfuse-dev
缺乏json:
找到這個網址:
先update一下:
1: apt-get update
1: apt-get install libjson0 libjson0-dev
而後 ./configure
ok, 搞定。
而後:
1: make
2: make install
而後,新建,並編輯 ~/.cloudfuse 文件
而後:
1: mkdir /mnt/hubic
執行:
1: hubicfuse /mnt/hubic -o noauto_cache,sync_read,allow_other
若是是openvz的虛擬機,會出現這個錯誤。 多是主機沒有添加fuse模塊,須要寫信給客服,讓打開fuse模塊,不是全部的廠商都願意給你打開fuse。
fuse: device not found, try ‘modprobe fuse’ first
若是是xen的服務器,就已經成功了。
From Blog by Neil, post ubuntu 安裝 hubicfuse
原文來自 Blog by Neil, post ubuntu 安裝 hubicfuse 轉載請註明出處。本站保留一切權力