1. 安装软件
sudo apt-get install tftpd-hpa
2. 设定tftp
sudo vim /etc/xinetd.d/tftp
add the following:
service tftp
{
disable = no
socket = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = /tftpboot
}
3. 更改inetd.conf
vim /etc/inetd.conf
注释掉以tftp开头的行
4. 重启
sudo /etc/init.d/xinetd restart
注:完成设定后即可将欲放置于ftp的档案移至/tftpboot目录下
阅读(766) | 评论(0) | 转发(0) |