SMB storage manual provisioning and deployment
The major difference when it comes to SMB is that it is the sharing standard for Windows-based systems from Linux systems. The best way to learn about Samba (another name for SMB) is to get your hands dirty, and that is what we are going to do today. We will be going step by step into how to install and provision SMB.
To start, we are going to install SMB via dnf
:
[emcleroy@rhel1 ~]$ sudo dnf install samba -y
Then, create the share for SMB to serve:
[emcleroy@rhel1 ~]$ sudo mkdir -p /share/smbfolder
Next, we are going to start and enable the smb
service:
[emcleroy@rhel1 ~]$ sudo systemctl enable --now smb Created symlink /etc/systemd/system/multi-user.target.wants/smb.service → /usr/lib/systemd/system/smb.service.
After that, we are going to open the firewall service for Samba:
[emcleroy@rhel1 ~]$ sudo firewall-cmd --permanent --add-service=samba success [emcleroy@rhel1 ~]$ sudo firewall-cmd -...