您的位置:首页 > 运维架构 > Linux

CentOS 配置 tftp

2012-12-12 20:29 316 查看
yum install tftp tftp-server

vi /etc/xinetd.d/tftp

service tftp

{

socket_type = dgram

protocol = udp

wait = yes

user = root

server = /usr/sbin/in.tftpd

server_args = -s
/tftpboot -c

disable =
no

per_source = 11

cps = 100 2

flags = IPv4

}

vi /etc/sysconfig/selinux

SELINUX=disabled

mkdir /tftpboot

chmod -R 777 /tftpboot

chkconfig tftp on

chkconfig iptables off

chkconfig ip6tables off

/etc/init.d/iptables stop

/etc/init.d/ip6tables stop

service xinetd restart
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: