Use Samba to Share Files on Ubuntu 24.04 @StatelessCode
Use Samba to Share Files on Ubuntu 24.04  @StatelessCode
Uploaded April 2025 | Updated September 2026, 3 weeks ago
In this video we install and configure Samba for use as a file server for a home network on Ubuntu. Samba is a Windows interoperability suite for Linux and Unix. It can handle things like Active Directory integration, print servers, and DNS Administration. For the purpose of this video, we're just going to set it up as a simple file share for one mount point.

We install the package, and modify the smb.conf file to add the configuration for the share. Restart the service, allow Samba on the firewall (UFW). After that we need to set up a user with smbpasswd.

To test that the fileshare is working as intended, I hop on to my Mac and access the file share through Finder.

After that, we hop back onto Ubuntu and review some options (linked below) for those who want to explore more.

This video covers:
0:00:00 Introduction
0:01:24 Install Samba and verify service is running
0:02:23 Configure the /etc/samba/smb.conf file
0:05:23 Restart Samba and allow access on the firewall
0:07:50 Set up a Samba user with smbpasswd command
0:08:58 Test the Samba share out from another computer
0:10:08 Summary, other resources, and conclusion
0:12:27 Blooper Reel

#samba #sambashare #ubuntu #fileshare #setup #linux #configuration #install #apt #debian #deb #terminal

See other related StatelessCode videos:
- youtu.be/yHxuNUovS20
- youtube.com/playlist?list=PL9kkbu1kLUeNWCKuMbpzE8r1xkx8L1Xf0

Featured Playlist
- youtube.com/playlist?list=PL9kkbu1kLUeOnUtMpAnJOCtHdThx1Efkt

Resources that we relied upon for this solution:
- Samba Homepage samba.org
- SambaWiki wiki.samba.org/index.php/Main_Page
- Install and Configure Samba ubuntu.com/tutorials/install-and-configure-samba
- Set up Samba as a file server documentation.ubuntu.com/server/how-to/samba/file-server
- Share access controls documentation.ubuntu.com/server/how-to/samba/share-access-controls
- smb.conf Documentation samba.org/samba/docs/current/man-html/smb.conf.5.html
- The Official Samba 3.5x HOWTO and Reference Guide (old version) samba.org/samba/docs/old/Samba3-HOWTO

This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
Use Samba to Share Files on Ubuntu 24.04Export our draw.io Diagram so We Can Embed it in our GitHub WikiMediocre Karaoke - Dont Stop Me Now by QueenMandatory is PoisonUpdate Bundle to Clear Dependabot Alerts and Troubleshoot Build Dependency FailuresAdapt a Usability Interview Script for the Project and Fix Broken Wiki LinksCreate a RubyGem 106: Winter 2026 Maintenance Part 2 - Release 0.6.0Install an Android Emulator on Ubuntu 22.04Create a RubyGem 99: Backport Changes to Other Stable Branches and Update the CHANGELOGSet up GitHub Actions with Rails 7 and Get Working with PostgreSQLCodecast: statelesscode.com WordPress 17: Start Styling the SidebarInkscape 08: Create Transparent Logo for Why Series
Stateless Code |

Use Samba to Share Files on Ubuntu 24.04

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER