su - root
1.setup
#yum install samba samba-client samba-swap
2.config
vi /etc/samba/smb.conf
[share]
comment = samba share
public = yes
path = /home/feiy/sambahome
writable = yes
browseable = yes
3.mkdir set auth
mkdir -p /home/feiy/sambahome
chmod 777 /home/feiy/sambahome
4.set password for a linux user
smbpassword -a feiy
New SMB password:feiy
Retype new SMB password:feiy
5.restart smb service and access for \\192.168.245.4
service smb restart
\\192.168.245.4
1.setup
#yum install samba samba-client samba-swap
2.config
vi /etc/samba/smb.conf
[share]
comment = samba share
public = yes
path = /home/feiy/sambahome
writable = yes
browseable = yes
3.mkdir set auth
mkdir -p /home/feiy/sambahome
chmod 777 /home/feiy/sambahome
4.set password for a linux user
smbpassword -a feiy
New SMB password:feiy
Retype new SMB password:feiy
5.restart smb service and access for \\192.168.245.4
service smb restart
\\192.168.245.4