Lab 7.2 - SAMBA in CentOS

selain menggunakan NFS, bisa juga menggunakan SAMBA.

ini merupakan aplikasi dari Unix.

#yum install samba -y

Anonymous
#mkdir /share
#chmod 777 /share
#chown nobody:nobody /share
#mv /etc/samba/smb.conf /etc/samba/smb.conf.backup
#nano /etc/samba/smb.conf

-----------------------------------------------
[global]
workgroup = WORKGROUP
serverstring = samba server %v
netbios name = centos
security = user
map to guest = bad user
dns proxy = no

[Anonymous]
comment = annonymous share folder
path = /share
browsable = yes
writeable = yes
guest ok = yes
--------------------------------------------------


#systemctl restart smb
#systemctl restart nmb
#systemctl enable smb
#systemctl enable nmb
#tesparm |more
#firewall-cmd --permanent --add-service=samba
#firewall-cmd --reload

#chcon -t samba _share_t /share

0 Response to "Lab 7.2 - SAMBA in CentOS"

Post a Comment