1、安装server、client

apt-get install xinetd tftp-hpa tftp-hpa

2、在/etc/xinetd.d/建立tftp文件

cd /etc/xinet.d/
touch tftpd

3、修改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}

4、建立Ubuntu tftp服务文件目录(上传文件与下载文件的位置),并且更改其权限

sudo mkdir /tftpboot
sudo chmod 777 /tftpboot -R

5、重新启动服务

sudo /etc/init.d/xinetd restart

 

相关文章:

  • 2021-07-03
  • 2021-10-01
  • 2022-12-23
  • 2021-05-06
  • 2022-12-23
  • 2022-01-19
  • 2021-07-25
  • 2021-09-02
猜你喜欢
  • 2021-09-17
  • 2021-11-27
  • 2021-08-27
  • 2021-11-12
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
相关资源
相似解决方案