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

ubuntu 9.04 下tftp服务配置

2015-03-11 22:37 375 查看

ubuntu 9.04 下tftp服务配置

2009-9-29 21:31:24 收藏 | 打印 | 投票(0) | 评论(0) |
阅读(18538) ◇字体:[大 中 小]
ubuntu9.04下tftp服务配置

转载请注明:http://blog.mcuol.com/User/fenghua/Article/17347_1.htm

一、使用tftp-hpa tftpd-hpa
1、安装tftp-hpa、tftpd-hpa、xinetd
以root权限运行
#apt-get install tftp-hpa tftpd-hpa xinet
2、修改/etc/default/tftpd-hpa

RUN_DAEMON="no"
改为:
RUN_DAEMON="yes"
3、重新启动xinetd服务
#/etc/init.d/xinetd restart
4、启动tftpd-hpa
#/etc/init.d/tftpd-hpa start
5、测试
$sudo vim /var/lib/tftpboot/test
/var/lib/tftpboot/test
保存退出
$tftp localhost
tftp> get test
看看文件内容是否争取。
二、使用tftp tftpd
1、安装tftp、tftpd、xinetd
sudo apt-get install tftp tftpd xinetd
2、修改 /etc/inetd.conf
将tftp一行最后的srv/tftp 改为 /var/lib/tftpboot
3、重新启动 xinetd
sudo /etc/init.d/xinetd restart
4、测试
tftp localhost
tftp>get test
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: