GlusterFS 설치

리눅스/OS 일반|2014. 12. 31. 00:12
반응형

1. 다운로드

파일을 다운로드 받습니다.

 

[root@sysdocu ~]cd /usr/local/src

[root@sysdocu src]wget http://download.gluster.com/pub/gluster/glusterfs/LATEST/glusterfs-3.2.6.tar.gz

 

* 위 링크가 되지 않는다면 아래 주소에서 받을 수 있습니다.

http://bits.gluster.com/pub/gluster/glusterfs/ 

 

2. 설치

압축을 풀고 설치를 진행합니다. 

 

[root@sysdocu src]# tar xvzf glusterfs-3.2.6.tar.gz

[root@sysdocu src]cd glusterfs-3.2.6

[root@sysdocu glusterfs-3.2.6]./configure

 

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

[여기서 오류 발생시]

오류가 아래와 같이 나타난다면 python 최신 버전을 설치하시기 바랍니다.

checking if python is python 2.x... 2.4
checking if python has ctypes support... no
configure: error: python does not have ctypes support


[해결]

[root@sysdocu glusterfs-3.2.6]cd /usr/local/src

[root@sysdocu src]wget http://www.python.org/ftp/python/2.6.5/Python-2.6.5.tar.bz2

[root@sysdocu src]# tar xvf Python-2.6.5.tar.bz2

[root@sysdocu src]# cd Python-2.6.5
[root@sysdocu Python-2.6.5]# ./configure
[root@sysdocu Python-2.6.5]# make
[root@sysdocu Python-2.6.5]# make install

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

[다른 오류 발생시 대처방법]

configure: error: Flex or lex required to build glusterfs.

[root@sysdocu Python-2.6.5]yum -y install flex

 

configure: error: GNU Bison required to build glusterfs.

[root@sysdocu Python-2.6.5]yum -y install bison

 

configure: error: OpenSSL crypto library is required to build glusterfs

[root@sysdocu Python-2.6.5]yum -y install openssl* 

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

 

GlusterFS 설치를 계속 진행합니다.

> 위 오류때문에 python을 재설치 하셨다면 GlusterFS 소스 디렉토리로 이동하시고

./configure 를 다시 실행합니다. 그리고 아래 명령으로 넘어갑니다.

 

[root@sysdocu glusterfs-3.2.6]make

[root@sysdocu glusterfs-3.2.6]make install

 

잘 설치가 되었는지 버전 확인을 해봅니다.

 

[root@sysdocu glusterfs-3.2.6]glusterfs --version

반응형

댓글()