Skip to main content

Posts

Showing posts with the label linux fileshare

How to configure Samba file sharing on Ubuntu Linux server quickly and easily

Install necessary packages using below apt-get install command sudo apt-get update sudo apt-get install samba samba-client samba-common samba-common-bin smbfs winbind Configure Samba to run automatically on boot sudo update-rc.d smbd defaults sudo update-rc.d nmbd defaults   Make a backup copy of smb.conf sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.orig   Edit smb.conf file and replace the entire contents by below copy of a generic config for a kickstart sudo vi /etc/samba/smb.conf [global] workgroup = WORKGROUP netbios name = ServerHostname server string = ServerName Share %v security = user ;guest account = nobody ; logs in /var/log/samba/ log level = 3 [media] comment = Multimedia User Directory path = /home/media browsable = yes guest ok = yes read only = yes create mask = 755 available = yes public = yes writeable = no [root] comment = System Root path = / browsable = yes guest ok = no read only = no create mask = 755 available = yes public =...