1、在虚机上安装tftp服务,
安装:
先安装xinetd 服务:yum install xinetd
安装tftp ,tftp-sever:yum install tftp tftp-server
2、修改文件/etc/xinetd.d/tftp
service tftp
{ socket_type =dgram
protocol =udp
wait =yes
user =root
server =/usr/sbin/in.tftpd
server_args =-s /home/jonvee/tftpboot -c
disable =no
per_source =11
cps =100 2
flags =IPv4
}
3. 创建tftp根目录,启动tftp-server。
#mkdir /home/lqm/tftpboot
#chmod o+w /home/jonvee/tftpboot
#service xinetd restart