The simplest way since you are asking for Ubuntu support is to install Samba (as well as many thousands of apps) using Ubuntu's commandline apt tool. Install from the default repository.

To get to the commandline interface, hit this keyboard shortcut: Ctrl+Alt+T.

Then at the run this at the terminal prompt:

$ sudo apt install samba

Edit the/etc/samba/smb.conf file to create the shares you want to provide on the server.

Create the directory you want to share (or use a directory you already have) then add the share to the smb.conf file.

Creating a shared folder:

$ sudo mkdir -p /mnt2/mysharedfolder

Add the share to the server:

Sample share entry (/etc/samba/conf):

[sharedfolder]
        comment = My Server Shared Folder
        path = /mnt2/mysharedfolder
        force user = user1
        writeable = yes
        browseable = yes
        create mask = 0700
        valid users = user1, user2

Change user# for real user names that you have created on your server and created a samba account.

Create the samba account with:

$ sudo smbpasswd -a user1

Other available configurations such as mask are explained in details in the notes of the /etc/samba/smb.conf file. You can also access the manual using the commands man samba or man smb.conf.

After making a change to the /etc/samba/smb.conf be sure to restart the samba server with:

$ sudo systemctl restart smbd

You might consider upgrading your Ubuntu OS to the lastest LTS version, which currently is version 16.04, which will be supported with release updates for the next 5 years. A non lts version will have release updates for less than a year.

Answer from L. D. James on askubuntu.com
🌐
Ubuntu
ubuntu.com › tutorials › install-and-configure-samba
Install and Configure Samba | Ubuntu
If you have everything ready, let’s dive straight into the installation process on the next step! Originally authored by Aden Padilla. ... samba: /usr/sbin/samba /usr/lib/samba /etc/samba /usr/share/samba /usr/share/man/man7/samba.7.gz /usr/share/man/man8/samba.8.gz
Top answer
1 of 1
1

The simplest way since you are asking for Ubuntu support is to install Samba (as well as many thousands of apps) using Ubuntu's commandline apt tool. Install from the default repository.

To get to the commandline interface, hit this keyboard shortcut: Ctrl+Alt+T.

Then at the run this at the terminal prompt:

$ sudo apt install samba

Edit the/etc/samba/smb.conf file to create the shares you want to provide on the server.

Create the directory you want to share (or use a directory you already have) then add the share to the smb.conf file.

Creating a shared folder:

$ sudo mkdir -p /mnt2/mysharedfolder

Add the share to the server:

Sample share entry (/etc/samba/conf):

[sharedfolder]
        comment = My Server Shared Folder
        path = /mnt2/mysharedfolder
        force user = user1
        writeable = yes
        browseable = yes
        create mask = 0700
        valid users = user1, user2

Change user# for real user names that you have created on your server and created a samba account.

Create the samba account with:

$ sudo smbpasswd -a user1

Other available configurations such as mask are explained in details in the notes of the /etc/samba/smb.conf file. You can also access the manual using the commands man samba or man smb.conf.

After making a change to the /etc/samba/smb.conf be sure to restart the samba server with:

$ sudo systemctl restart smbd

You might consider upgrading your Ubuntu OS to the lastest LTS version, which currently is version 16.04, which will be supported with release updates for the next 5 years. A non lts version will have release updates for less than a year.

Discussions

I need help to create a samba server in Ubuntu Server 24.04 LTS
use your router to set the IP. Personally I prefer reserving an IP for the mac address instead of a static IP, but both would work. https://ubuntu.com/server/docs/samba-as-a-file-server More on reddit.com
🌐 r/Ubuntu
7
0
September 30, 2024
How to configure Samba Server share on Ubuntu 20.04 Focal Fossa Linux - LinuxConfig.org
The objective of this tutorial is to configure a basic Samba server to share user home directories as well as provide read-write anonymous access to selected directory. There are myriads of possible other Samba configurations, however the aim of this guide is to get you started with some basics ... More on forum.linuxconfig.org
🌐 forum.linuxconfig.org
19
0
April 21, 2020
🌐
Substack
hakedev.substack.com › hake hardware › ubuntu samba share
Ubuntu Samba Share - Hake Hardware
September 26, 2024 - In this guide we will be doing the following: ... If this seems like a lot, it really is not. We can knock this out in 10-15 minutes! Update your apt respositories and then install samba:
🌐
Atlantic.Net
atlantic.net › home › blog › how to create samba share on ubuntu
How to Create Samba Share on Ubuntu | Atlantic.Net
May 14, 2025 - You can install it using the following command: ... Enter WORKGROUP\user1's password: Try "help" to get a list of possible commands. Once you are connected, run the following command to list Samba share:
🌐
phoenixNAP
phoenixnap.com › home › kb › sysadmin › how to install samba on ubuntu
How to Install Samba on Ubuntu
November 28, 2024 - Install Samba on Ubuntu with this step-by-step guide covering installation, configuration, shared folders, and user permissions.
🌐
Samba
samba.org › samba › download
Download Samba
The Samba source code is distributed via https. View the download area via HTTPS. The file you probably want is called samba-latest.tar.gz. Old releases are available in the Samba archives · The Samba distribution GPG public key can be used to verify that current releases have not been tampered ...
Find elsewhere
🌐
Ubuntu
ubuntu.com › server › docs › how-to › samba › file-server
Set up Samba as a file server - Ubuntu Server documentation
2 weeks ago - If you are using Samba with authd, you should follow the instructions in the steps for the server guide in the authd documentation instead. The first step is to install the samba package.
🌐
DEV Community
dev.to › wolfmath › set-up-a-samba-server-in-ubuntu-linux-quick-guide-3ci2
Set up a Samba server in Ubuntu Linux: Quick Guide - DEV Community
November 25, 2020 - All of my home computers run Linux (because I'm a nerd), so this tutorial covers how to set up Samba on Ubuntu. All the work is done in the terminal. Open the terminal: ctrl + alt + t. $ sudo apt install samba · There's more output, just go ...
🌐
Reddit
reddit.com › r/ubuntu › i need help to create a samba server in ubuntu server 24.04 lts
r/Ubuntu on Reddit: I need help to create a samba server in Ubuntu Server 24.04 LTS
September 30, 2024 -

Hello, I need to create a samba server on Ubuntu Server 24.04 LTS, that has a public folder, 3 private folders, each one with a user and password, and that I can set a fixed IP for the server, but I follow all the corresponding steps, creating the folders, giving permissions and giving ownership to the folders, but when I access a private folder it simply tells me that I do not have permissions to access the folder, (I am Spanish so the screenshots will be in Spanish but I can translate them), and I really really really need help because it is for a project and the server I had before had been corrupted in some way and now that I do it again it does not work for me.

Thank you very much :D

🌐
AlphaVPS
blog.alphavps.com › how-to-install-and-configure-samba-on-ubuntu-22-04
How to install and configure Samba on Ubuntu 22.04
May 31, 2023 - By using Samba, Linux/Unix systems can act as file servers in Windows-based networks, providing services such as file sharing. For this tutorial, we are going to use an Ubuntu 22.04 VPS from AlphaVPS with a created sudo user. The installation process is quite simple.
🌐
Zentyal
zentyal.com › home › news › a beginner’s guide to setting up a linux samba server
A Beginner's Guide to Setting Up a Linux Samba Server
December 11, 2024 - Here’s a step-by-step guide on how to set up your own Linux Samba server. First, you need to install the Samba package.
🌐
FreeFileSync
freefilesync.org
FreeFileSync: Open Source File Synchronization & Backup Software
Works beautifully in multi-platform (Ubuntu Linux, Windows, Mac) environments.
🌐
Gloves Off Linux
glovesoff.substack.com › gloves off linux › samba on linux the easy way
Samba on Linux the Easy Way - by Matt Hartley
February 12, 2023 - Step one - install your Samba bits (this assumes Ubuntu-based distros and Gnome).
🌐
Linux Forum
forum.linuxconfig.org › linuxconfig.org articles
How to configure Samba Server share on Ubuntu 20.04 Focal Fossa Linux - LinuxConfig.org - LinuxConfig.org Articles - Linux Forum
April 21, 2020 - The objective of this tutorial is to configure a basic Samba server to share user home directories as well as provide read-write anonymous access to selected directory. There are myriads of possible other Samba configurations, however the aim of this guide is to get you started with some basics ...
🌐
DEV Community
dev.to › techlearners › how-to-set-up-a-samba-server-in-ubuntu-and-share-files-seamlessly-5foa
How to set up a Samba Server in Ubuntu and share files seamlessly - DEV Community
January 7, 2021 - Um.. only apt would be replaced with pacman in install sambashare, maybe something like this-> sudo pacman -Syu sudo pacman -Syy sudo pacman -S sambashare
🌐
AlexHost
alexhost.com › home › faq › linux › how to install and configure samba on ubuntu: a complete step-by-step guide
How to Install and Configure Samba on Ubuntu: A Complete Step-by-Step Guide
October 31, 2024 - sudo apt install cifs-utils -y sudo mkdir /mnt/samba_share sudo mount -t cifs //ubuntu_ip_address/SharedFolder /mnt/samba_share -o username=username,password=yourpassword
🌐
Hosting Ultra So
hostingultraso.com › help › ubuntu › installing-samba-server-ubuntu
Installing Samba server in Ubuntu | Ubuntu Server | HostingUltraso.com
In this recipe, we will learn how to install Samba as our network storage server. Samba is a collection of open source applications that implement Server Message Block (SMB) and Common Internet File System (CIFS) protocols on Unix systems. This allows Samba to be accessible across different ...
🌐
QNAP
qnap.com › en › download
Download Center | QNAP
Select your product to download operating system, utility, applications, document and check compatibility.
🌐
Webmin
webmin.com › downloading and installing
Downloading and Installing | Webmin
October 2, 2017 - This script will automatically setup our repository and install our GPG keys on your system, and provide webmin package for installation and easy upgrades in the future. The supported and tested systems are Red Hat Enterprise Linux, Alma, Rocky, Oracle, CentOS Stream, Fedora or Debian, Ubuntu, Kali.