当前位置: 技术问答>linux和unix
fc8 中如何安装或配置 tftp
来源: 互联网 发布时间:2016-05-07
本文导语: 我准备用,fc8作嵌入式开发的宿主机,但是到了 配置 tftp 的时候 ,在system service 中没有tftp这服务,请问有谁知道所怎么回事吗?是不是在fc8中有什么新的应用程序代替了 tftp服务相关的东西。 | ...
我准备用,fc8作嵌入式开发的宿主机,但是到了 配置 tftp 的时候 ,在system service 中没有tftp这服务,请问有谁知道所怎么回事吗?是不是在fc8中有什么新的应用程序代替了 tftp服务相关的东西。
|
已经移到xinetd.d下面了。
配置/etc/xinetd.d/tftp, 如下。 然后 /etc/init.d/xinetd start 就能启动tftp啦
[root@xianfeng tftpboot]# cat /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
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}
配置/etc/xinetd.d/tftp, 如下。 然后 /etc/init.d/xinetd start 就能启动tftp啦
[root@xianfeng tftpboot]# cat /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
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}