linux bootp和tftp设置

本文介绍如何在Linux Redhat 9系统中配置BootP和TFTP服务。包括安装BootP服务、设置配置文件、启动服务及配置TFTP等步骤。通过这些设置可以实现网络引导等功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Linux bootp和tftp设置

PC端linux系统为Redhat 9。

安装bootp
下载bootp-2.4.3-7.i386.rpm
rpm -ivh bootp-2.4.3-7.i386.rpm

添加配置文件 /etc/bootp
     service bootps
         {
          disable    =no
          socket_type    =dgram
          protocol    =udp
          wait        =yes
          user        =root
          server    =/usr/sbin/bootpd
       
        }

添加配置文件/etc/bootptab
    test:/
    ht= 1:/
    ha= 0x123456789a00:/
     ip=192.168.0.50:/
     sm=255.255.255.0

修改/etc/xinetd.d/tftp

service tftp
{

    socket_type        = dgram
    protocol        = udp
    wait            = yes
    user            = root
    server            = /usr/sbin/in.tftpd
    server_args        = -s /tftpboot
        server_args             += -s /odm/tftpboot
    disable            = no
}

重启xinetd守护进程
/etc/init.d/xinetd restart

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值