ubuntu 6.10安装tftp

内核编译和嵌入式产品的设计与开发
回复
jessiesun
帖子: 6
注册时间: 2007-06-30 22:47

ubuntu 6.10安装tftp

#1

帖子 jessiesun » 2007-07-02 15:43

网上找到的,不知道对大家是不是有帮助,借鉴一下也好。

1. sudo apt-get install tftp-hpa tftpd-hpa
2. cd /
sudo mkdir /tftpboot
sudo chmod 777 /tftpboot
3. cd /usr/sbin/
sudo in.tftpd -l /tftpboot
这样tftp服务器就启动了,下面可以做一个测试
4. cd /tftpboot
touch test ###建立一个文件
5. cd /home/usrname ###这里是你的登录用户名
6. tftp 192.168.0.143 ###这里换成你主机的ip
> get /tftpboot/test
如果能够得到文件,那么就成功了。
回复