OPERATING SYSTEMSOS Linux

How to Install and Configure Samba File Sharing on Ubuntu Server/Ubuntu 22.04 LTS

Installation Process-

sudo apt update

sudo apt install samba

sudo systemctl status smbd

whereis samba
———————————————–
mkdir strendev/(folder-name)

chmod 777 /home/(username-of-server)/strendev/(folder-name)
———————————————-
sudo smbpasswd -a strendev/(any username you want)

Enter Password
Retype Password
———————————————
ls
———————————————
sudo nano /etc/samba/smb.conf
——————————————–
[strendev]
comment = Samba on Ubuntu by strendev
path = /home/(server-username)/Strendev
read only = no
browsable = yes
valid users = Strendev / (your-samba-created-username)
——————————————————
Watch Video for Proper Steps
——————————————————
sudo service smbd restart – (IMP)
——————————————————
Connect to windows and check directory
Now Share your files easily with Ubuntu Server and Windows PC
——————————————————
Credits – HKS

Follow us here –
If you got any problem while installation contact us at discord server or slack

GitHub
https://github.com/Stren-Dev

LinkedIn
https://linkedin.com/company/strendev

Discord
https://discord.gg/T43yZbC3Fc

Slack
https://join.slack.com/t/strendev/shared_invite/zt-2ay6rnd8l-Quy0Q62ivIAfCCJfXOLaYg

Whatsapp
https://whatsapp.com/channel/0029VaK8Um6HgZWVOfuCjV3s

source

ubuntu