#linux

Samba Installation

Configuring Samba on a new system

Instructions from the Ubuntu Server docs 1.

Installation

sudo apt install samba

Configuration on Ubuntu

Add the following files at the end of /etc/samba/smb.conf.

[<share-name>]
    path = </path/to/folder>
    valid users = <username>
    read only = no

For example,

[server1-project]
    path = /path/to/project
    valid users = ubuntu
    read only = no

Enable the configuration

Restart the Samba services

sudo systemctl restart smbd.service nmbd.service

Configuration on Fedora

On Fedora, here is a tutorial 1 and here are the docs 2.

Sources

Samba Installation