-
Notifications
You must be signed in to change notification settings - Fork 209
Blobfuse Installation
blobfuse is currently available in the Microsoft product repositories for Ubuntu, SLES, Debian, 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
wget https://packages.microsoft.com/config/ubuntu/<ubuntu version 16.04 or 18.04 or 20.04>/packages-microsoft-prod.deb
For Ubuntu 16.04 your command will be below
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/rhel/7.8/prod/blobfuse-1.4.1-RHEL-7.8-x86_64.rpm
For RHEL 7.5 replace 7.8 in above command with 7.5
For latest version replace 1.4.1 in above command with blobfuse version you intend to install
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.
git clone https://github.com/Azure/azure-storage-fuse/
If you do not have git, install git via sudo apt-get install git
Required dependencies to compile Blobfuse are: fuse-dev, libcurl-dev, gnutls-dev, libgcrypt-dev, uuid-dev.
sudo yum -y install epel-release
sudo yum install git cmake3 fuse-devel libcurl-devel gcc gcc-c++ gnutls-devel libgcrypt-devel libuuid-devel boost-devel fuse -y
sudo yum install git cmake fuse-devel libcurl-devel gcc gcc-c++ gnutls-devel libgcrypt-devel libuuid-devel boost-devel fuse -y
sudo apt-get install pkg-config libfuse-dev cmake libcurl4-gnutls-dev libgnutls28-dev uuid-dev libgcrypt20-dev libboost-all-dev gcc g++ -y
SUSEConnect -p sle-sdk/12.4/x86_64 ( this step may not be needed for SUSE 15)
zypper install git cmake fuse-devel libcurl-devel gcc gcc-c++ gnutls-devel libgcrypt-devel fuse libuuid-devel boost-devel
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