Chinaunix首页 | 论坛 | 博客
  • 博客访问: 46567
  • 博文数量: 30
  • 博客积分: 510
  • 博客等级: 下士
  • 技术积分: 260
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-06 08:56
文章存档

2012年(30)

我的朋友

分类:

2012-05-06 13:16:37

以前为搭环境,在ubuntu-8.04/10.04上折腾tftp服务。现在全新安装ubuntu-12.04, 忘了以前的咋捣腾出来的了,又折腾好半天,留下备忘。
环境:
zl@zhanglong:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
zl@zhanglong:~$ uname -a
Linux zhanglong 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
zl@zhanglong:~$

sudo apt-get install tftpd-hpa tftp-hpa

配置文件内容如下:
zl@zhanglong:~$ cat /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/home/zl/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-l -c -s"

坚决不安装xinet, 或坚决不要在xinet的配置文件中加入与tftp服务相关的选项。

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