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
相关推荐
Terminator0 2020-04-29
xcznb 2020-04-23
MichelinMessi 2020-03-06
GimmeS 2019-12-25
Jesuslovesme 2011-03-18
whx00 2007-12-25
NeverAgain 2007-08-08
catchupwith 2007-05-13
OwenJi 2019-11-04
lsn0LSN 2011-08-05
方正SOA中间件 2011-03-24
sinlff 2011-01-10
EricaYue 2010-12-19
xingzhaozhong 2010-12-19
zgsky0 2010-12-19
linuxprobe0 2010-12-08
小灯光环 2010-10-14
犇骉 2010-08-14