fedora12 tftp服务器配置的方法

网络 网络管理
这里我们针对fedora12 tftp服务器配置的内容进行了具体的讲解,那么分析了其中需要的一些代码命令操作,希望对大家有所帮助。

对于tftp服务器的内容,我们虽然讲解了不少,但是它配置的多样性,还是让不少人头疼。现在我们就具体看看fedora12 tftp服务器配置的内容吧。那么首先fedora12下为mini2440建立tftp服务器,yum install tftp-server xinetd   tftp,修改/etc/xinetd.d/tftp文件,

service tftp  
{  
socket_type   = dgram  
protocol   = udp  
wait    = yes  
user    = root  
server    = /usr/sbin/in.tftpd  
server_args   = -s /tftpboot -c  
disable    = no  
per_source   = 11  
cps    = 100 2  
flags    = IPv4  

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.

server_args指出了服务器的文件夹。

建立目录/tftpboot,并执行chmod   0777   /tftpboot   -R

执行service   xinetd   start命令或service   xinetd   restart

fedora12 tftp服务器配置中,需要关闭防火墙。系统-管理-防火墙-选项-禁用防火墙-应用

在根目录下执行

tftp   192.168.0.102(本机IP)  
tftp>   get   a  
tftp>   put   a  
tftp> q 
  • 1.
  • 2.
  • 3.
  • 4.

若能成功则表示tftp服务器正常。若出现了Permission denied的提示,则需要关闭防火墙或是在system-config-selinux中进行修改,将系统默认的应用模式改为Disable,当前应用模式改为允许。

在U-boot的命令行中输入printenv来打印环境变量,用setenv   serverip   192.168.0.102命令来设置服务器IP。然后输入saveenv来保存环境变量。

执行tftp   30008000   u-boot-mini2440.bin或tftpboot   30008000   u-boot-mini2440.bin将u-boot-mini2440.bin加载到内存0x30008000处。

到此fedora12 tftp服务器配置就结束了。

责任编辑:佟健 来源: hi.baidu.com
相关推荐

2009-12-25 18:12:04

Fedora12光盘安

2010-09-14 10:29:43

配置tftp服务器

2010-09-10 16:19:31

配置tftp服务器

2010-09-14 11:24:03

Windows tft

2009-11-20 09:36:23

Fedora12特性网络功能

2019-09-23 11:46:02

FedoraTFTP服务器 Linux

2010-09-14 11:33:39

Linux下设置tft

2010-09-14 11:16:55

Debian Linu

2010-09-09 17:54:07

TFTP服务器

2010-01-11 18:47:53

Fedora 6.0蓝

2010-09-09 17:46:43

TFTP服务器

2009-12-28 17:33:01

Zend Studio

2013-07-16 14:44:43

Ubuntutftp服务器

2009-12-22 16:56:42

Cisco备份路由器配

2015-08-04 13:29:06

Fedoralinux

2010-03-17 15:31:49

2010-09-14 13:55:27

redhat 9 tf

2010-02-24 10:25:21

2010-09-14 14:01:55

ubuntu tftp

2010-09-10 18:31:42

搭建tftp服务器
点赞
收藏

51CTO技术栈公众号