ubuntu 安装 hubicfuse

若是你没有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:

找到这个网址:

http://webcache.googleusercontent.com/search?q=cache:XxNdg6n75boJ:linuxprograms.wordpress.com/2010/05/20/install-json-c-in-linux/+&cd=6&hl=en&ct=clnk

先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的服务器,就已经成功了。

 

image


byNeil
byNeil.com

原文来自 Blog by Neilpost ubuntu 安装 hubicfuse 转载请注明出处。本站保留一切权力

相关文章
相关标签/搜索