分页: 1 / 1

ubuntu 6.10安装tftp

发表于 : 2007-07-02 15:43
jessiesun
网上找到的,不知道对大家是不是有帮助,借鉴一下也好。

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
如果能够得到文件,那么就成功了。