SambaServer基本配置.doc

SambaServer基本配置

Redhat Enterprise Linux 6.2 samba服务配置 虚拟机打开后,添加rehl-server-6.2镜像文件 第一步, 第二步: 一、安装前准备 1、使用Samba服务器需要防火墙开放以下端口 ??? UDP 137 UDP 138 TCP 139 TCP 445 #配置防火墙端口 [root@roothomes ~] vi /etc/sysconfig/iptables? ? -A INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT -A INPUT -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT -A INPUT -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT #重启防火墙,使规则生效 [root@roothomes ~] /etc/rc.d/init.d/iptables restart??? ? 2、关闭CentOS6系统的 SELinux [root@roothomes ~] vi /etc/selinux/

文档评论(0)

1亿VIP精品文档

相关文档