环境:centos6.9
下载 xinetd tftp tftp-server,其中xinetd和tftp-server是用来tftp服务器的,tftp是客户端
yum install xinetd tftp tftp-server -y
在根目录下建立 tftpboot
cd /
mkdir tftpboot
配置tftp服务器
在配置之前先做备份cp /etc/xinetd.d/tftp /etc/xinetd.d/tftp_bak
vim /etc/xinetd.d/tftp
内容如下:
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram

本文介绍了在CentOS 6.9上如何安装和配置tftp服务器,包括使用xinetd、tftp和tftp-server,并设置目录权限。然后,通过调整防火墙规则和关闭SELinux来允许远程访问。最后,通过busybox测试了tftp服务的下载功能。
最低0.47元/天 解锁文章
859

被折叠的 条评论
为什么被折叠?



