![]() ![]() You can see the shared folder in Windows 10 or whatever Windows you are using. ![]() You need to create a public folder where everyone should have access. You should keep the backup of the file before editing.Īdd the following line in workgroup = WORKGROUP netbios name = ubuntu2004 Run the following command to open Samba configuration file by running the commands below. Or sit down at the server physically and use the terminal. If you’re using static IP address, answer no when asked to use WINS settings from DHCP. To install Samba on Ubuntu 22.0420.0418.04, use the commands: sudo apt -y update sudo apt -y install samba. Let’s configure the Samba public share now. The swat (Samba Web Administration Tool, swat package) utility is a browser-based graphical editor for the smb.conf file. To install the latest Samba packages, open up a terminal and log into the Ubuntu server over SSH. Step 1: Install Samba Server on Ubuntu 22.0420.0418.04 LTS. Not only can we manage samba with the GUI but it is consistent across distributions rather then using YaST on SUSE that is SUSE specific. To verify the Samba services are running: sudo systemctl status smbd In this tutorial we show the example of how we can manage our samba server graphically with SWAT, the SAMBA Web Administration Tool. Run the following commands: sudo apt update Netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes Run the following commands in Windows with administrative privilege. Run the commands below and type the IP with the hostname of Windows, save the file, and exit. Now, we have to add the Windows system name in the Ubuntu host file too. ![]() Now, you need to add the local entry for the Ubuntu to be referenced by the named ubuntu2004 and save it. Notepad C:\\Windows\System32\drivers\etc\hosts To do this, run the following command in Windows: Our Ubuntu 20.04 LTS will be using 192.168.2.1, While Windows 10 will be using 192.169.2.2.Īt first, we need to add Ubuntu 20.04 LTS to the Windows host file. We need to name our workgroup and here we are going with the default Windows workgroup and that is WORKGROUP.įor this tutorial, we’re going to be using a 192.168.2.0/24 network. In this tutorial, we are using Windows 10. With the help of Samba, We can share our share files with Windows systems. In this tutorial, we will install Samba On Ubuntu 20.04 LTS and also configure it with Windows 10. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |