关于如何配置yum本地源参见 http://blog.youkuaiyun.com/u013918665/article/details/21079139
1)setup samba server
yum install samba
检查samba安装成功
rpm -qa | grep samba
2) add a samba user
smbpasswd -a <username>
3) configure samba
vim /etc/samba/smb.conf
-------------------------------------------------
[<username>]
comment = <username>
path = /back
writeable = yes
browseable = yes
valid users = <username>
comment = <username>
path = /back
writeable = yes
browseable = yes
valid users = <username>
-------------------------------------------------
4)give samba priviledges
log in fedora desktop
System > Administration > Firewall, add samba as Trusted Services
Give privileges to SELinux
setsebool -P samba_export_all_rw on
5) trouble shoots
管理samba服务
service smb start/restart/stop
查看日志
/var/log/messages
smbd -Fi -d 2
永久关闭防火墙
chkconfig iptables off
马上关闭防火墙
service iptables stop