石尔东 L14 2020-05-12 17:50:08 tftp服务器安装
97 0

“嵌入式Linux基础实验”实验报告

tftp服务器安装

1、安装相关软件包:Ubuntu tftp(服务端),tftp(客户端),xinetd

sudo apt-get install tftpd tftp xinetd image.png 2、建立配置文件

在/etc/xinetd.d/下建立一个配置文件tftp,如图, image.png在文件中输入以下内容:

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}

保存退出 image.png 3、建立Ubuntu tftp服务文件目录(上传文件与下载文件的位置),并且更改其权限,如图, image.png image.png image.png 4、重新启动服务,如图, image.png 至此Ubuntu tftp服务已经安装完成了下面检测下,如图, image.png

最新评论
暂无评论~