Answers for "install smb ubuntu"

1

install smb ubuntu

#Installing Samba
sudo apt update
sudo apt install samba
#Setting up Samba
mkdir /home/<username>/sambashare/
sudo nano /etc/samba/smb.conf
[sambashare]
    comment = Samba on Ubuntu
    path = /home/username/sambashare
    read only = no
    browsable = yes

sudo service smbd restart
sudo ufw allow samba

#Setting up User Accounts and Connecting to Share
sudo smbpasswd -a username

#on Ubuntu
#Open up the default file manager and click Connect to Server then write
smb://ip-address/sambashare
Posted by: Guest on March-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language