Ubuntu下配置tftp服务

字体大小: 中小 标准 ->行高大小: 标准
uboot使用这个来下载kernel, 对Ubuntu用户来讲,配置这个不是很友好。

安装程序

sudo apt-get install tftp tftpd

前者是客户端,后者是服务程序。

只这样是不行的,因为tftp是要inetd来控制的,而ubuntu或debian类的系统,默认是没有安装inetd的,安装一下:

sudo apt-get install netkit-inetd

在/目录下建一个tftpboot, 把属性改成777。

cd /

sudo mkdir tftpboot

sudo chmod 777 tftpboot

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/48016.html