How to setup Samba for File Sharing in Linux
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"
Support My Work
-----------------
- Chris Titus Tech Digital Downloads ➜ https://store.christitus.com
- Product and Service Recommendations ➜ https://christitus.com/recommendations
- My YouTube Gear and Computers ➜ https://www.amazon.com/shop/christitu...
Other Places to Find Me
-------------------------
- Titus Tech Talk ➜ https://www.youtube.com/c/ChrisTitusTechStreams
- Chris Titus Crypto ➜ https://www.youtube.com/channel/UC31U-ll2Q1niJ2QIhKlfpZA
- Twitch ➜ https://twitch.tv/christitustech
- Twitter ➜ https://twitter.com/christitustech
Видео How to setup Samba for File Sharing in Linux канала Chris Titus Tech
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"
Support My Work
-----------------
- Chris Titus Tech Digital Downloads ➜ https://store.christitus.com
- Product and Service Recommendations ➜ https://christitus.com/recommendations
- My YouTube Gear and Computers ➜ https://www.amazon.com/shop/christitu...
Other Places to Find Me
-------------------------
- Titus Tech Talk ➜ https://www.youtube.com/c/ChrisTitusTechStreams
- Chris Titus Crypto ➜ https://www.youtube.com/channel/UC31U-ll2Q1niJ2QIhKlfpZA
- Twitch ➜ https://twitch.tv/christitustech
- Twitter ➜ https://twitter.com/christitustech
Видео How to setup Samba for File Sharing in Linux канала Chris Titus Tech
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Setting up Simple Samba File SharesHow to Setup a Dedicated Home File Server Using Ubuntu LinuxIntroduction to File Sharing using SMB and NFS6 Mistakes New Linux Users MakeInstalling Printers in Linux | CUPS, Printing, and ScanningSamba Server in Linux | RHCE | Tech ArkITHow to Install Timeshift in Linux | Backup and RestoreLinux SambaSamba: share Linux Folders with your windows machinesArch Linux: Configuring SAMBAHow to Create a Samba Server In Linux Mint Ubuntu or DebianHow to Install and Configure Samba on Ubuntu Server 19.10 - Video 2020How to configure samba server in centos 7 , redhat 7 (public and private share)Introduction to File SharingLinux that Works and Looks like WindowsLinux File Sharing | Run Your Own NAS ServerHow to Make an Ubuntu File Server With SambaHow to Set Up Samba for Windows-Linux File Sharing: Linux Server Training 101Install Samba in Ubuntu Linux and Share a Folder to Windows