您的位置:首页 > 编程语言 > PHP开发

Ubuntu 11.04下安装 TFTP Server

2011-08-24 21:39 363 查看
Ubuntu 11.04下安装 TFTP Server

步骤如下:

1. 执行 sudo apt-get install xinetd

2. 执行 sudo apt-get install tftpd-hpa

3.执行 vi /etc/default/tftpd-hpa

修改 tftpboot 路径为你自己设置的tftpboot路径。

修改后如下:

1 # /etc/default/tftpd-hpa

2

3 TFTP_USERNAME="tftp"

4 TFTP_DIRECTORY="/usr/local/shared/tftp_server/"

5 TFTP_ADDRESS="0.0.0.0:69"

6 TFTP_OPTIONS="--secure"

4.执行 sudo service tftpd-hpa start

显示如下提示信息:

tftpd-hpa start/running, process 2909

运行成功。

6. 在/usr/local/shared/tftp_server/目录下,创建一个文件,名为:uImage

执行 tftp localhost

tftp> get uImage

tftp> q

ls

uImage

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