s3fs minio模擬掛載S3伺服器到本地伺服器

2021-09-25 07:20:51 字數 426 閱讀 9816

1、minio: 按照文件選擇系統安裝

2、安裝s3fs客戶端:

3、啟動mino,獲取accesskey和secretkey並建立桶名

4、在客戶端上echo "accesskey:secretkey" > /etc/.passwd-s3fs  chmod 600 /etc/.passwd-s3fs

5、s3fs -o passwd_file=/etc/.passwd-s3fs -o url= -o allow_other -o nonempty -o no_check_certificate -o use_path_request_style -o umask=000 bucketname /data/

6、df -h檢視是否掛載成功,如果不成功,可以加引數-d -d -f -o f2 -o curldbg輸出日誌,客戶端與minio伺服器系統時間要同步

s3儲存桶 s3可擴充套件的雲儲存

s3系統構架在dynamo之上,採取的並不是傳統的關聯式資料庫儲存方式,原因 s3基本概念 1.物件 s3的基本儲存單元 資料 元資料 資料型別任意 系統預設元資料 2 鍵 物件的唯一標示符 3 桶 儲存物件的容器 不能巢狀 在s3中名稱唯一 每個使用者最多建立100個桶 4 基本操作 根據amaz...

S3fs在EC2 Linux例項上掛載S3

在aws為使用者建立訪問金鑰並記錄金鑰id和私密 安裝s3fs 安裝必要的依賴包 yum install automake fuse fuse devel gcc c git libcurl devel libxml2 devel make openssl devel git clone cd s3...

hive操作s3資料

1 hive配置s3訪問許可權 2 建立表 例如create external table table create time bigint comment 獲取時的時間 event name string comment 事件名 timestamp bigint comment 事件發生時間 is...