centos7 tftp server安装配置 (fileZilla工具下载)

 1、命令安装 tftp server

[root@localhost ~]# yum -y install tftp
[root@localhost ~]# yum -y install tftp-server

 2、配置 tftp 的配置文件vi /etc/xinetd.d/tftp  

       将修改 disable  的值为  no

[root@localhost ~]#vi /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
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s /var/lib/tftpboot
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}

 3、开启 xinetd.service

[root@localhost ~]#systemctl restart xinetd.service

 注:xinetd的安装:

[root@localhost init.d]# yum -y install xinetd 
[root@localhost xinetd.d]# rpm -qa | grep xinetd  
xinetd-2.3.15-12.el7.x86_64  

 4、查看tftp server开启状态

查看到69端口启动了说明tftp server已经启动成功并正常运行

[root@localhost lib]# netstat -a | grep tftp
udp        0      0 0.0.0.0:tftp            0.0.0.0:*                          
[root@localhost lib]# netstat -tunap | grep  :69
udp        0      0 0.0.0.0:69              0.0.0.0:*                           958/xinetd    

5、使用fileZilla(window客户端)连接tftp服务

fileZilla可以使用root用户进行登录,连接之后可以方便在window和linux系统之间拷贝文件及目录

fileZilla下载   https://www.aliyundrive.com/s/fLHWo6moX2R

提取码: 11bd

步骤如图

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值