SAMBA Server and Ubuntu

Install SAMBA Server on Ubuntu Server with the following command:

sudo apt-get install samba smbfs

Next, we need to set up the share in /etc/samba/smb.conf:

hosts allow 192.168.0 #allows everyone in my house to access all the shares

comment = My Test Share
writeable = no
locking = no
path = /share/
public = yes

Next we need to add smb users, which are already existing users on the linux box:

sudo adduser joe
sudo smbpasswd joe

Finally, (re)start the server:

sudo /etc/init.d/samba start|restart

Leave a Reply