1、安装相关软件包
sudo apt-get install tftpd (服务端)
sudo apt-get install tftp (客户端)
sudo apt-get install xinetd 2、建立配置文件
cd /etc/xinetd.d/
sudo vim tftp
输入
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}存盘退出3、建立tftp服务文件目录
sudo mkdir /tftpboot
sudo chmod 777 /tftpboot -R4、从新启动服务
sudo /etc/init.d/xinetd restart
安装完成!测试:
/nfsroot/rootfs/button$ tftp 192.168.2.75
tftp> put hello.c
Sent 1018 bytes in 0.0 seconds
tftp> get hello.c
Received 1018 bytes in 0.1 seconds
tftp> put book.c
Sent 1980 bytes in 0.0 seconds
tftp> get book.c
Received 1980 bytes in 0.0 seconds注: nfsroot/rootfs/button预先有hello.c book.c Ubuntu下MPLAYER不能加载字幕文件srt的解决Ubuntu 8.04下配置ati mobility Radeon X2300显卡驱动相关资讯 Ubuntu技巧
- [技巧分享]如何设定你的 Ubuntu 14 (08/25/2014 20:41:56)
- Ubuntu技巧分享 —— 禁用Ubuntu的 (10/21/2013 08:49:11)
- 十二条提升Ubuntu桌面体验的技巧 (10/14/2012 13:30:32)
| - 10个调整让Ubuntu宾至如归 (08/25/2014 06:51:16)
- Ubuntu技巧分享——安装Ubuntu后做 (10/18/2013 17:14:38)
- 在Ubuntu下面装日語输入法 (08/15/2009 07:20:11)
|
本文评论 查看全部评论 (0)