우분투 cloudfuse 설치

리눅스 cloudfuse 설치

1 사전작업[ | ]

2 git clone[ | ]

root@zetawiki:~# git clone https://github.com/redbo/cloudfuse.git
Cloning into 'cloudfuse'...
remote: Counting objects: 585, done.
remote: Total 585 (delta 0), reused 0 (delta 0), pack-reused 585
Receiving objects: 100% (585/585), 303.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (326/326), done.
Checking connectivity... done.

3 configure[ | ]

root@zetawiki:~# cd cloudfuse/
root@zetawiki:~/cloudfuse# ./configure 
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XML... yes
checking for JSONC... yes
checking for CURL... yes
checking for FUSE... yes
checking for OPENSSL... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
... (생략)
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h

4 make, make install[ | ]

root@zetawiki:~/cloudfuse# make
gcc -Wall -g -O2 -I/usr/include/libxml2  -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse  -I/usr/include/json-c -o cloudfuse cloudfsapi.c cloudfuse.c -lxml2 -lcurl -lfuse -pthread -lssl -lcrypto -ljson-c
root@zetawiki:~/cloudfuse# make install
/usr/bin/install -c cloudfuse /usr/local/bin/cloudfuse

5 확인[ | ]

root@zetawiki:~/cloudfuse# which cloudfuse
/usr/local/bin/cloudfuse
root@zetawiki:~/cloudfuse# cloudfuse
Unable to determine username and API key.

These can be set either as mount options or ina file named /root/.cloudfuse

  username=[Account username]
  api_key=[API key (or password for Keystone API)]

The following settings are optional:

  authurl=[Authentication url - connect to non-Rackspace Swift]
  tenant=[Tenant for authentication with Keystone]
  password=[Password for authentication with Keystone]
  use_snet=[True to use Rackspace ServiceNet for connections]
  cache_timeout=[Seconds for directory caching, default 600]
  verify_ssl=[False to disable SSL cert verification]

6 같이 보기[ | ]

7 참고[ | ]

  1. 미설치시 오류 configure: error: 'Unable to find libxml2. Please make sure library and header files are installed.'
  2. 미설치시 오류 configure: error: 'Unable to find json-c. Please make sure library and header files are installed.'
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}