- 论坛徽章:
- 0
|
我是FC9的系统,要在本机上安装一个TFTP的服务器,我先下载了一个xinetd-2.3.14-18.fc9.i386.rpm,安装成功,
然后下载了个tftp-server-0.42-5.i386.rpm,安装也可以成功
输入命令
然后启动xinetd
[root@localhost ~]# /etc/init.d/xinetd start
启动 xinetd: [确定]
[root@localhost ~]# rpm -qa } grep tftpp
grep-2.5.1-59.fc9.i386
然后修改一个配置文件,
[root@localhost ~]#vi /etc/xinetd.d/tftp
你将会看到如下所示:
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 1002
flags = IPv4
}
将disable=yes,改为如上所示,disable=no;
然后启动xinetd
[root@localhost ~]# /etc/init.d/xinetd start
启动 xinetd: [确定]
到这一步应该是成功了,但我在机子上输入tftp,显示的却是没有这个命令,为什么?
PS:我当时用这种方法在FC8上测试成功。 |
|