Chinaunix首页 | 论坛 | 博客
  • 博客访问: 300936
  • 博文数量: 43
  • 博客积分: 2071
  • 博客等级: 大尉
  • 技术积分: 488
  • 用 户 组: 普通用户
  • 注册时间: 2009-08-25 17:48
文章分类

全部博文(43)

文章存档

2014年(5)

2013年(4)

2011年(9)

2010年(8)

2009年(17)

我的朋友

分类: LINUX

2009-09-01 18:02:24

we can use either of the below method to config tftp on ubuntu.

1. use tftp
1.1 install tftp and tftpd
sudo apt-get install tftpd tftp
1.2 modify /etc/inetd.conf, add your tftp server folder.
the below is a example. the red part is your tftp server folder.
tftp        dgram    udp    wait    nobody    /usr/sbin/tcpd    /usr/sbin/in.tftpd /download/tftp-server

2. use tftp-hpa
2.1 install tftpd-hpa and tftp-hpa.
sudo apt-get install tftp-hpa tftpd-hpa
2.2 modify /etc/default/tftpd-hpa.
a. let no -> yes
b. add your own tftp server folder.

3. use openbsd-inetd
3.1 install openbsd-inetd
sudo apt-get install openbsd-inetd
3.2 modify /etc/inetd.conf, add your tftp server folder.
the below is a example, the red part is your tftp server folder.
tftp    dgram    udp    wait root    /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /download/tftp-server
3.3 sudo /etc/init.d/openbsd-inetd restart

阅读(669) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~