Samba Server installation on Ubuntu

Samba Server installation on Ubuntu 14, 16 and 18

Ubuntu Tips: Install Samba File Server

About This Guide

In this text, I teach how to create a network share via Samba using the CLI (Command-line interface/Linux Terminal) in an uncomplicated, simple and brief way targeting Windows users.

Installation

Start by opening a new Terminal window or login via SSH to the Ubuntu system you wish to modify. Then run the following command:

To configure samba, edit the file /etc/samba/smb.conf. I will use nano as editor and make a backup of the original file before I start to change it. The backup file is named /etc/samba/smb.conf.bak

Open the Samba configuration file with nano:

Moreover, add the following lines.

Then I’ll create a directory for the anonymous share.

Set the correct permissions.

Moreover, restart Samba to apply the new configuration.

It’s ready.

Samba Server installation on Ubuntu
4.7 (93.33%) 6 vote[s]