Skip to content

Commit 3fe69ad

Browse files
[Doc-A-Thon] Updating Markdown for Distro
1 parent 36036d0 commit 3fe69ad

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

articles/storage/files/storage-how-to-use-files-linux.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,18 @@ uname -r
4444
* <a id="install-cifs-utils"></a>**Ensure the cifs-utils package is installed.**
4545
The cifs-utils package can be installed using the package manager on the Linux distribution of your choice.
4646

47+
48+
# [Ubuntu](#tab/Ubuntu)
49+
4750
On **Ubuntu** and **Debian**, use the `apt` package manager:
4851

4952
```bash
5053
sudo apt update
5154
sudo apt install cifs-utils
5255
```
56+
# [RHEL](#tab/RHEL)
57+
58+
Same applies for CentOS or Oracle Linux
5359

5460
On **Red Hat Enterprise Linux 8+** use the `dnf` package manager:
5561

@@ -62,13 +68,14 @@ uname -r
6268
```bash
6369
sudo yum install cifs-utils
6470
```
71+
# [SLES](#tab/SLES)
6572

6673
On **SUSE Linux Enterprise Server**, use the `zypper` package manager:
6774

6875
```bash
6976
sudo zypper install cifs-utils
7077
```
71-
78+
---
7279
On other distributions, use the appropriate package manager or [compile from source](https://wiki.samba.org/index.php/LinuxCIFS_utils#Download).
7380

7481
* **The most recent version of the Azure Command Line Interface (CLI).** For more information on how to install the Azure CLI, see [Install the Azure CLI](/cli/azure/install-azure-cli) and select your operating system. If you prefer to use the Azure PowerShell module in PowerShell 6+, you may; however, the instructions in this article are for the Azure CLI.
@@ -257,12 +264,17 @@ sudo mount -a
257264
### Dynamically mount with autofs
258265
To dynamically mount a file share with the `autofs` utility, install it using the package manager on the Linux distribution of your choice.
259266
267+
# [Ubuntu](#tab/Ubuntu)
268+
260269
On **Ubuntu** and **Debian** distributions, use the `apt` package manager:
261270
262271
```bash
263272
sudo apt update
264273
sudo apt install autofs
265274
```
275+
# [RHEL](#tab/RHEL)
276+
277+
Same applies for CentOS or Oracle Linux
266278
267279
On **Red Hat Enterprise Linux 8+**, use the `dnf` package manager:
268280
```bash
@@ -275,10 +287,13 @@ On older versions of **Red Hat Enterprise Linux**, use the `yum` package manager
275287
sudo yum install autofs
276288
```
277289
290+
# [SLES](#tab/SLES)
291+
278292
On **SUSE Linux Enterprise Server**, use the `zypper` package manager:
279293
```bash
280294
sudo zypper install autofs
281295
```
296+
---
282297
283298
Next, update the `autofs` configuration files.
284299

0 commit comments

Comments
 (0)