• 安装tftp-server

yum install -y  tftp-server

  • 启动软件

systemctl start tftp.socket

systemctl enable tftp.socket
  • 设置服务目录

cat /usr/lib/systemd/system/tftp.service 可以看到

[Service]
ExecStart=/usr/sbin/in.tftpd -s /var/lib/tftpboot
/var/lib/tftpboot 就是服务目录
  • 设置服务目录权限

chmod 777 /var/lib/tftpboot/

  • 启动服务并查看状态

systemctl start tftp.service

systemctl status tftp.service

相关文章:

  • 2021-10-21
  • 2021-05-30
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
猜你喜欢
  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
相关资源
相似解决方案