How to Samba on Ubuntu Server
- Chris Speed
- Jul 12, 2023
- 1 min read
Install
sudo apt install samba -y
Verfiy Installation
systemctl status smbd
Configure
sudo nano /etc/samba/smb.conf
Create symbolic to conf file
ln -sf /etc/samba/smb.conf smb.conf
Edit conf file
[plexbox-files]
comment = plexbox files
path = /media/plex
public = yes
guest ok = yes
browseable = yes
writeable = yes
force user = plex
Update firewall rules
sudo ufw allow samba
Restart Samba
sudo systemctl restart smbd
References:
How to Install and Configure Samba on Ubuntu. https://phoenixnap.com/kb/ubuntu-samba
コメント