centos6.4安装tftp服务器

来源:互联网 发布:手榴弹场地画法及数据 编辑:程序博客网 时间:2024/06/07 06:26


首先安装相关的软件,配置好源之后开始安装

1, yum -y install  tftp 

2,yum -y  install  tftp-server

3, yum -y install xinetd


之后进行配置:


service tftp{disable= no  #打开服务socket_type= dgramprotocol= udpwait= yesuser= rootserver= /usr/sbin/in.tftpdserver_args= -s /root/tftpboot   #重新设置下载目录per_source= 11cps= 100 2flags= IPv4}

打开软件

chkconfig   tftp on

chkconfig  xinetd on

service xinetd start



在root/tftpboot目录下新建一个文件123

进行测试:

$ tftp 127.0.0.1

$ get  123



0 0
原创粉丝点击