Easiest would be to install the package samba:
sudo dnf install samba
Create a directory:
$ mkdir -p /srv/smb-share
Set the permissions:
sudo chown root:root /srv/smb-share
sudo chmod 0766 /srv/smb-share
Set the SELinux context:
sudo semanage fcontext -a -t public_content_rw_t “/srv/smb-share(/.*)?”
restoren -Rv /srv/smb-share
Open the firewall:
sudo firewall-cmd --add-service=samba
sudo firewall-cmd --add-service=samba --permanent
Configure the service:
sudo vi /etc/samba/smb.conf
[smb-share]
comment = my public share
path = /srv/smb-share
read only = no
browseable = yes
guest ok = yes
:wq
Start the service:
sudo systemctl enable smb.service
sudo systemctl start smb.service
Good luck! 