![]() Once you have created files, try accessing the Samba ‘ Public‘ folder to view the files. The ‘ Public’ directory is empty, as we don’t have created any files in the Samba share, let’s create a few files with the following command. Once you connected, you will be presented with the ‘ Public’ directory of our samba share from the /srv/tecmint/data directory. To access Samba share from the Windows machine, press the Windows logo key + R to launch the Run dialog and enter the IP address of the samba server as shown. Start Samba Services Accessing Samba Share from Windows If everything looks okay, make sure to start, enable and verify the status of the Samba daemons. Next, verify the samba configuration for errors. ![]() # mv /etc/samba/smb.conf /etc/samba/Īdd the following configuration lines, which define the policies on who can access the samba share on the network. Next, we are going to configure the Samba share directory in the smb.conf file, which is the main configuration file for Samba. # chcon -t samba_share_t /srv/tecmint/data # chown -R nobody:nobody /srv/tecmint/data To get started with samba, you need to install the samba core packages and samba-client package as shown: # dnf install samba samba-common samba-clientĪfter all the samba is installed, you need to configure the samba share directory with proper permissions and ownership, so that it is going to be shared with all client machines in the same local network. For demonstration, we are using RHEL 8 system with hostname tecmint with IP address 192.168.43.121.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |