Skip to content

Commit 9a70adf

Browse files
[Doc-A-Thon] Adding Centos and Suse Info
1 parent 5b8322d commit 9a70adf

File tree

1 file changed

+38
-11
lines changed

1 file changed

+38
-11
lines changed

articles/storage/blobs/blobfuse2-how-to-deploy.md

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For information about libfuse support, see the [BlobFuse2 README](https://github
4040
To check your version of Linux, run the following command:
4141

4242
```bash
43-
lsb_release -a
43+
cat /etc/*-release
4444
```
4545

4646
If no binaries are available for your distribution, you can [Option 2: Build the binaries from source code](#option-2-build-the-binaries-from-source-code).
@@ -55,6 +55,8 @@ To install BlobFuse2 from the repositories:
5555

5656
Configure the [Linux Package Repository for Microsoft Products](/windows-server/administration/Linux-Package-Repository-for-Microsoft-Software).
5757

58+
# [RHEL](#tab/RHEL)
59+
5860
As an example, on a Redhat Enterprise Linux 8 distribution:
5961

6062
```bash
@@ -63,36 +65,61 @@ sudo rpm -Uvh https://packages.microsoft.com/config/rhel/8/packages-microsoft-pr
6365

6466
Similarly, change the URL to `.../rhel/7/...` to point to a Redhat Enterprise Linux 7 distribution.
6567

68+
# [CentOS](#tab/CentOS)
69+
70+
As an example, on a CentOS 8 distribution:
71+
72+
```bash
73+
sudo rpm -Uvh https://packages.microsoft.com/config/centos/8/packages-microsoft-prod.rpm
74+
```
75+
76+
Similarly, change the URL to `.../centos/7/...` to point to a CentOS 7 distribution.
77+
78+
# [Ubuntu](#tab/Ubuntu)
79+
6680
Another example on an Ubuntu 20.04 distribution:
6781

6882
```bash
69-
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
83+
sudo wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
7084
sudo dpkg -i packages-microsoft-prod.deb
7185
sudo apt-get update
7286
sudo apt-get install libfuse3-dev fuse3
7387
```
7488

7589
Similarly, change the URL to `.../ubuntu/16.04/...` or `.../ubuntu/18.04/...` to reference another Ubuntu version.
7690

91+
# [SLES](#tab/SLES)
92+
93+
```bash
94+
sudo rpm -Uvh https://packages.microsoft.com/config/sles/15/packages-microsoft-prod.rpm
95+
```
96+
97+
---
98+
7799
#### Install BlobFuse2
78100

79-
On an Ubuntu/Debian distribution:
101+
# [RHEL](#tab/RHEL)
80102

81103
```bash
82-
sudo apt-get install blobfuse2
104+
sudo yum install blobfuse2
83105
```
84-
85-
On a Redhat Enterprise Linux distribution:
106+
# [CentOS](#tab/CentOS)
86107

87108
```bash
88109
sudo yum install blobfuse2
89110
```
90111

91-
On a SUSE distribution:
112+
# [Ubuntu](#tab/Ubuntu)
113+
114+
```bash
115+
sudo apt-get install blobfuse2
116+
```
117+
# [SLES](#tab/SLES)
92118

93119
```bash
94120
sudo zypper install blobfuse2
95121
```
122+
---
96123

97124
### Option 2: Build the binaries from source code
98125

@@ -117,9 +144,9 @@ To build the BlobFuse2 binaries from source code:
117144
1. Clone the repository:
118145

119146
```Git
120-
git clone https://github.com/Azure/azure-storage-fuse/
121-
cd ./azure-storage-fuse
122-
git checkout main
147+
sudo git clone https://github.com/Azure/azure-storage-fuse/
148+
sudo cd ./azure-storage-fuse
149+
sudo git checkout main
123150
```
124151

125152
1. Build BlobFuse2:
@@ -248,7 +275,7 @@ You can provide authorization information in a configuration file or in environm
248275
To mount an Azure block blob container by using BlobFuse2, run the following command. The command mounts the container specified in `./config.yaml` onto the location `~/mycontainer`:
249276

250277
```bash
251-
blobfuse2 mount ~/mycontainer --config-file=./config.yaml
278+
sudo blobfuse2 mount ~/mycontainer --config-file=./config.yaml
252279
```
253280

254281
> [!NOTE]

0 commit comments

Comments
 (0)