Samba Windows -

sudo groupadd smbgroup sudo mkdir -p /srv/samba/private sudo chown root:smbgroup /srv/samba/private sudo chmod 2770 /srv/samba/private

sudo mkdir -p /srv/samba/public sudo chmod 777 /srv/samba/public # For guest access sudo chown nobody:nogroup /srv/samba/public samba windows

[global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) netbios name = LINUX-SERVER map to guest = bad user dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 security = user passdb backend = tdbsam sudo groupadd smbgroup sudo mkdir -p /srv/samba/private sudo

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak sudo nano /etc/samba/smb.conf The main configuration file is typically located at

On most Debian/Ubuntu-based systems, install Samba via the terminal:

Without Samba, a Windows computer cannot natively see or access files on a Linux server. Samba solves this by making the Linux server "speak" Windows' language. To a Windows user, a Samba share looks just like a standard Windows network folder.

The main configuration file is typically located at /etc/samba/smb.conf . You will need to edit this file to define your share.