Install and configure Samba on Ubuntu Server – Network file sharing 🔐

Опубликовано: 19 Март 2026
на канале: los mapaches sv
402
3

Learn how to easily and securely turn your Ubuntu Server into a Samba file server. In this video, I explain step-by-step how to:

Install the Samba package (sudo apt update && sudo apt install samba)

Create and configure a shared folder

Adjust the /etc/samba/smb.conf file with global options (~workgroup, permissions, visibility)

Add Samba users with smbpasswd -a user

Restart services and test the connection from Windows or Linux

(Bonus) Update firewall rules to allow Samba
databasemart.com
phoenixnap.com

✅ Ideal for:

Beginner administrators who want network share access

Users who want to keep their Ubuntu server up-to-date with best practices

✅ Video timeline (~15 min)
00:00 – Introduction: Why use Samba on Ubuntu Server?

1:00 – Initial installation of the Samba package (apt install samba)

2:30 – Creating a shared folder (e.g., /srv/samba/shared)

4:00 – Editing /etc/samba/smb.conf: [shared] section and basic settings

6:30 – Configuring Samba users (smbpasswd -a)

8:00 – Restarting Samba and verifying services (systemctl restart smbd)

9:30 – Connecting from Windows: \\Server_IP\shared

11:00 – Connecting from Linux with smbclient or manually mounting

12:30 – Enabling firewall: ufw allow Samba

13:30 – Tips and common errors (permissions, visibility, restart)

14:30 – Summary and best practices

🔖 Recommended hashtags
#ubuntuserver #samba #FileServer #linux #UbuntuTutorial #FileSharing #sysadmin