Samba on Ubuntu

Installation:

sudo apt-get install samba

It should install and run both smbd and nmbd

Configurations:

sudo nano /etc/samba/smb.conf

Make the following changes,

workgroup = WORKGROUP
security = user

[share]
comment = Ubuntu file server share
path = /var/www
browsable = yes
guest ok = yes
read only = no
create mask = 0755

Change nmbd config (netBIOS name server),

sudo nano /etc/init/nmbd.conf

disable the following lines

# NMBD_DISABLED=`testparm -s --parameter-name='disable netbios' 2>/dev/nu$

# [ "x$NMBD_DISABLED" = xYes ] && { stop; exit 0; }

Then restart nmbd demons,

sudo restart nmbd

General commands:

sudo restart smbd

Popular posts from this blog

Kubernetes for Micro Services

Laravel 5.3

Node-RED