AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Samba share3/24/2023 ![]() Save and close the file, then restart the smb and nmb service to apply the changes: systemctl restart smb Next, edit the Samba configuration file with the following command: nano /etc/samba/smb.confĪdd the following configurations at the end of the file: Set your password as shown below: New SMB password: Next, set the password for the private user with the following command: smbpasswd -a private Next, create a directory for the private share and provides the necessary permissions: mkdir -p /data/private In this section, we will show you how to create a private share on Samba so that the user needs to authenticate to Samba to access the share.įirst, create a user and group with the following command groupadd private Systemctl restart nmb Step 4 – Create a Private Share Save and close the file, then restart the smb and nmb services to apply the changes: systemctl restart smb Next, backup the default Samba configuration file and create a new one with the following command: mv /etc/samba/smb.conf /etc/samba/Īdd the following configuration: In this section, we will show you how to create a public share on Samba so that everyone can access it without authentication.įirst, create a directory for the public share and provide the necessary permissions: mkdir -p /data/public Systemctl enable nmb Step 3 – Create a Public Share Once the Samba packages are installed, start and enable the smb and nmb services with the following command: systemctl start smb You can install it easily using the following command: dnf install samba samba-common samba-client -y dnf update -y Step 2 – Install Samba Serverīy default, the Samba server package is included in the Oracle Linux default repo. Once you are logged in to your Oracle Linux 8 server, run the following command to update your base system with the latest available packages. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page. Create a new server, choosing Oracle Linux 8 as the operating system with at least 2GB RAM. ![]() Step 1 – Create Atlantic.Net Cloud Serverįirst, log in to your Atlantic.Net Cloud Server. A root password configured on your server.A fresh Oracle Linux 8 server on the Atlantic.Net Cloud Platform.In this post, we will show you how to install the Samba server and create a private and public share on Oracle Linux 8. It can also integrate with a Microsoft Windows Server domain, either as a Domain Controller (DC) or as a domain member. Samba allows you to share files and directories between Linux and Windows operating systems. Samba is a free and open-source Server Message Block protocol that provides file and print services between clients across various operating systems.
0 Comments
Read More
Leave a Reply. |