gcsfuse adalah tool untuk mounting google storage bucket selayaknya file system, gcsfuse bisa dijalankan via command line, berikut cara installnya:
Panduan cara install gcsfuse bisa dilihat disini https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/installing.md, berikut ringkasannya dari praktek instalasi yg sy lakukan di ubuntu/debian version.
Add the gcsfuse distribution URL as a package source and import its public key:
export GCSFUSE_REPO=gcsfuse-`lsb_release -c -s`
echo "deb http://packages.cloud.google.com/apt $GCSFUSE_REPO main" | sudo tee /etc/apt/sources.list.d/gcsfuse.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
Update the list of packages available and install gcsfuse.
sudo apt-get update
sudo apt-get install gcsfuse
Diatas akan menginstall gcsfuse latest version sesuai dengan package yg tersedia di repository.
setelah itu command gcsfuse bisa dipanggil
ubuntu@server:~$ gcsfuse --help
NAME:
gcsfuse - Mount a specified GCS bucket or all accessible buckets locally
USAGE:
gcsfuse [global options] [bucket] mountpoint
VERSION:
0.41.2 (Go version go1.17.6)
...
Sekian dan terima kasih.
Comments
Post a Comment