To install samba server you have to use following steps
1. Yum install samba* -y
2. Mkdir /samba
3. Useradd samba
4. Chmod –R 377 /smaba*
5.chown –R samba:samba /samba*
6.edit this file
# vim /etc/samba/smb.conf
Modify at host allow line number 81 like
Host allow 127. 192.168.1
7. go to last and write like this way
[server]
Path = /samba
Valid users = /samba
Writable = yes
Browseable = yes
Printable = yes
Save and exit by typing :x
8.chkconifg smb on
9.smbpasswd -a samba
Confirm password
10. service smb restart
11.finally get share from your windows machine go run and type //samba machine ip address just like //192.168.1.100
No comments:
Post a Comment