s3fs 설치 및 사용하는 방법으로 수행.
#사전 종속 패키지 설치( 필수 )
yum -y update all
yum install -y automake fuse fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel
#s3fs 다운로드
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
git --version
rpm -Uvh http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm
yum install git
git --version
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
yum update -y nss curl libcurl
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
#s3fs 컴파일
cd s3fs-fuse
./autogen.sh
./configure
## 오류발생하면, fuse 버전업
cd /usr/local/src
wget https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz
tar -xvf fuse-2.9.7.tar.gz
rm -f ./fuse-2.9.7.tar.gz
mv fuse-2.9.7 fuse
cd fuse
./configure --prefix=/usr
make
make install
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/
ldconfig
cd s3fs-fuse/
./configure
make
make install
mkdir -p /mnt/S3Storage
# S3 접근하는 액세스키 및 PW저장.
vi /etc/passwd-s3fs
chmod 600 /etc/passwd-s3fs
# AWS서버와 시간 동기화
yum install ntp
ntpdate 0.amazon.pool.ntp.org
#디버그모드 수행
s3fs onedrive-sahngwoon /mnt/S3Storage/ -o use_cache=/tmp -o allow_other -d -d -f
#마운트 걸기. 시간이 조금 소요됨.
s3fs onedrive-sahngwoon /mnt/S3Storage/ -o use_cache=/tmp -o allow_other
#마운트 해제
fusermount -u /mnt/S3Storage/