Question: Objective: Create a SMB file share on Linux with samba Note: This part might not work the best from Linux to Windows for the File

 Objective: Create a SMB file share on Linux with samba Note:

Objective: Create a SMB file share on Linux with samba Note: This part might not work the best from Linux to Windows for the File Explorer (if using your host machine or the Windows Server VM). You can go to the remote file share on the Linux Desktop using the File Manager and choosing 1. Other Location on the left hand side Then 2. Connect to Server.

1. Open a terminal window and type sudo apt-get update

2. Next type sudo apt-get install samba and press Enter.

3. Create a directory in this by typing sudo mkdir /linuxSambaShare and pressing Enter.

4. Edit the /etc/samba/smb.conf configuration file with a text editor like (vim / vi / nano)

5. Add at the bottom of the configuration file a new share location and use the following configuration: [linuxSambaShare] comment = Share using Samba path = /linuxSambaShare read only = no guest ok = yes

6. Start the samba server by typing sudo systemctl start smbd.service You can check if the service is running by using sudo systemctl status smbd

7. Now navigate to the Linux share on either Windows or Linux. Note: You will need to know your IP address of the Linux system for the file path. Open a File Manager to open this share. On Windows: \\\linuxSambaShare On Linux: smb:///linuxSambaShare

8. Provide the section of configuration in the smb.conf file for the linuxSambaShare AND show navigation to the remote file share created

using Oracle VM VirtualBox with windows server 2016 and linux

Windows Network, Windows Network

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!