Install Samba
sudo yum install samba samba-client
Once the installation is completed, start the Samba services and enable them to start automatically on system boot:
sudo systemctl start smb.service
sudo systemctl start nmb.service
sudo systemctl enable smb.service
sudo systemctl enable nmb.service
The smbd
service provides file sharing and printing services and listens on TCP ports 139 and 445. The nmbd
service provides NetBIOS over IP naming services to clients and listens on UDP port 137.