Skip to content

1. Installation

Sercan Guler [MSFT] edited this page Oct 12, 2018 · 11 revisions

Option 1 - Install from Apt/Yum Package Repositories

blobfuse is currently available in the Microsoft product repositories for Ubuntu, CentOS/RedHat distros. Packages are only available for x86 platforms. For Kubernetes support, go here.

1. Configure the apt repository for Microsoft products following this guideline

Ex.1 Ubuntu 16.04

wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update

Ex.2 RHEL 7

 sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm

Kubernetes - go here

2. Install blobfuse

On Ubuntu:

sudo apt-get install blobfuse fuse

On RedHat/CentOS

sudo yum install blobfuse fuse

You're set to go! Now follow the Configuring and Running wiki to configure a temp location, as well as your credentials.

Option 2 - Build from source

Cloning this repo

git clone https://github.com/Azure/azure-storage-fuse/

If you do not have git, install git via sudo apt-get install git

Installing dependencies

Required dependencies to compile Blobfuse are: fuse-dev, libcurl-dev, gnutls-dev, libgcrypt-dev, uuid-dev.

CentOS instructions

sudo yum -y install epel-release
sudo yum install git cmake3 fuse-devel libcurl-devel gcc gcc-c++ gnutls-devel libgcrypt-devel libuuid-devel fuse -y

RedHat instructions

sudo yum install git cmake fuse-devel libcurl-devel gcc gcc-c++ gnutls-devel libgcrypt-devel libuuid-devel fuse -y

Ubuntu instructions

sudo apt-get install pkg-config libfuse-dev cmake libcurl4-gnutls-dev libgnutls28-dev uuid-dev libgcrypt20-dev -y

SLES 11/12 instructions

zypper install git cmake fuse-devel libcurl-devel gcc gcc-c++ gnutls-devel libgcrypt-devel fuse libuuid-devel

Building

Run the build script located in the root folder of the repository. This will build the Azure Storage C++ Light library along with Blobfuse.

./build.sh
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.