2016年4月13日 星期三

How to create samba share folder under RHEL linux for stress

How to create samba share folder under RHEL linux for stress


1.Disabling SELinux
#vim /etc/selinux/config
SELINUX=disabled
save then reboot
#init 6

2.#mkdir /mnt/stress

#chmod 777 stress
#vim /etc/samba/samba.conf

security = share

[stress]
path = /mnt/stress
browseable = yes 
read only = no
writable = yes 
create mode = 0777 
directory mode = 0777
guest ok = yes
guest only = yes


#service smb restart
3.#service iptables stop


沒有留言:

張貼留言