Allow firewall samba
- sudo ufw allow samba
- apt-get install -y samba samba-common python-glade2 system-config-samba
- cp -pf /etc/samba/smb.conf /etc/samba/smb.conf.bak
- cat /dev/null > /etc/samba/smb.conf
nano /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = ubuntu
security = user
map to guest = bad user
dns proxy = no
#============================ Share Definitions ==============================
[Anonymous]
path = /samba/anonymous
browsable =yes
writable = yes
guest ok = yes
read only = no
force user = nobody
mkdir -p /samba/anonymous
chmod -R 0775 /samba/anonymous
chown -R nobody:nogroup /samba/anonymous
service smbd restart
sumber : https://www.howtoforge.com/tutorial/samba-server-ubuntu-16-04/
0 Response to "Cara Install Samba Server installation on Ubuntu 16.04 LTS atau 18.04"
Post a Comment