Install samba server on Ubuntu in short

Summary from this link .

1. Install Samba
  • sudo apt-get update
  • sudo apt-get install samba
2. Set a password for your user in Samba
  • sudo smbpasswd -a username
3. Create a directory to be shared 
  • mkdir src
  • chmod -R 777 src
4. Edit the file "/etc/samba/smb.conf"
  •  sudo nano /etc/samba/smb.conf
Add these lines in the end of file
    [src]
    path =/home/username/src
    valid users = username
    read only = no

    5. Fix dependencies
    apt-get install --reinstall libsmbclient libsmbclient-dev libtevent0 libtalloc2

    6. Restart the samba:
    • sudo service smbd restart
    7. Test on Windows:  
    Type IP address of Linux host on Windows Explorer Address bar, e.g: \\192.168.0.78

          0 Comments

          Newest