Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to setup Samba for File Sharing in Linux
ChannelChris Titus TechDescription from the creator
In this video, I go over how to setup samba for file sharing in Linux. This is a streamlined video that goes over the 2 easiest ways to accomplish this task.
Timestamps:
0:18 - Samba Share setup in Ubuntu GUI (nautilus)
2:25 - Terminal Setup - Smb.conf walkthrough
12:25 - Enabling SMB 1.0 in Windows
14:37 - Verifying Shares and Access
Below is my Samba Cheat-Sheet I created
Install Samba:
sudo apt install samba -y
Stop Samba Service:
sudo systemctl stop smbd
Create new directory to share:
mkdir linuxshare
Create New /etc/samba/smb.conf
In [global] tag add or change the folowing lines:
server role = standalone server
map to guest = bad user
usershare allow guests = yes
hosts allow = 192.168.0.0/16
hosts deny = 0.0.0.0/0
Add new tag at the end:
[linuxsharename]
comment = Open Linux Share
path = /home/titus/linuxshare
read only = no
guest ok = yes
force create mode = 0755
force user = titus
force group = titus
TEST SETTINGS Type: testparm
Restart Samba Service
sudo systemctl enable smbd
sudo systemctl start smbd
OPTIONAL: Allow samba through firewall
RHEL/Centos/Fedora
sudo firewall-cmd --add-service=samba
Debian/Ubuntu/Mint
sudo ufw allow Samba
Now on any Windows Machines enable windows feature "SMB 1.0" .
►► Digital Downloads ➜ cttstore.com
►► Patreon ➜ patreon.com/christitustech
►► Twitch ➜ twitch.tv/christitustech
►► Website and Guides ➜ christitus.com
Timestamps:
0:18 - Samba Share setup in Ubuntu GUI (nautilus)
2:25 - Terminal Setup - Smb.conf walkthrough
12:25 - Enabling SMB 1.0 in Windows
14:37 - Verifying Shares and Access
Below is my Samba Cheat-Sheet I created
Install Samba:
sudo apt install samba -y
Stop Samba Service:
sudo systemctl stop smbd
Create new directory to share:
mkdir linuxshare
Create New /etc/samba/smb.conf
In [global] tag add or change the folowing lines:
server role = standalone server
map to guest = bad user
usershare allow guests = yes
hosts allow = 192.168.0.0/16
hosts deny = 0.0.0.0/0
Add new tag at the end:
[linuxsharename]
comment = Open Linux Share
path = /home/titus/linuxshare
read only = no
guest ok = yes
force create mode = 0755
force user = titus
force group = titus
TEST SETTINGS Type: testparm
Restart Samba Service
sudo systemctl enable smbd
sudo systemctl start smbd
OPTIONAL: Allow samba through firewall
RHEL/Centos/Fedora
sudo firewall-cmd --add-service=samba
Debian/Ubuntu/Mint
sudo ufw allow Samba
Now on any Windows Machines enable windows feature "SMB 1.0" .
►► Digital Downloads ➜ cttstore.com
►► Patreon ➜ patreon.com/christitustech
►► Twitch ➜ twitch.tv/christitustech
►► Website and Guides ➜ christitus.com
About this tutorial
Chris Titus Tech published this 17:46 video tutorial on November 7, 2019. It has been watched 295,955 times on YouTube.
- Channel
- Chris Titus Tech
- Category
- Science & Technology
- Duration
- 17:46
- Published
- November 7, 2019
- Views
- 295,955
- Likes
- 3,691
Tags
Share
This tutorial in other languages
- FRCOMMENT SAMBA en 4 minutes
- ESCÓMO SAMBA en 4 minutos
- PTCOMO SAMBA em 4 minutos
- ITCOME SAMBA in 4 minuti
- DEWIE SAMBA in 4 Minuten
- NLHOE SAMBA IN 4 MINUTEN
- RUКАК SAMBA 4 минуты
- PLSPOSÓB SAMBA w 4 minuty
- JAHOW TO SAMBA 4 MINUTES
- ARHOW TO سامبا في 4 دقائق
- HIकैसे करने के लिए सांबा में 4 मिनट
- IDCara setup Samba untuk File Sharing di Linux