RedHat Linux 9 下 TFTP 搭建
TFTP是用来下载远程文件的最简单网络协议,基于UDP协议完成。
使用RedHat Linux 9中的第3张光盘。以下是root登录操作
(1)安装TFTP-server
# mount /mnt/cdrom
# cd /mnt/cdrom/RedHat/RPMS
# rpm -ivh tftp-*.i386.rpm
# cd ~
# umount /mnt/cdrom
(2)修改文件
# vi /etc/xinetd.d/tftp
service tftp
{
socket_type =dgram
protocol =udp
wait =yes
user =root
server =/usr/sbin/in.tftpd
server_args =-s /home/liuby/tftpboot -c # 修改 注:-s指定的目录,-c表示可以创建文件
disable =no # 修改
per_source =11
cps =100 2
flags =IPv4
}
(3)启动服务
建立TFTP Server 服务器
# mkdir -m 777 /home/liuby/tftpboot
# service xinetd restart
(4)在命令行下 setup 在system services中(或ntsysv)选择tftp,命令行lokkit关闭firewall
(5)重新启动TFTP
# service xinetd restart
(6)测试
# tftp 192.168.0.2
tftp>get
tftp>put
tftp>q
(7)目标板测试(以下目标板上操作)
假设服务器/home/liuby/tftpboot下有zImage,或交叉编译的应用程序helloworld.o等
# tftp 192.168.0.2
tftp>get helloworld.o
tftp>q
# chmod +x helloworld.o
# ./helloworld.o
(8)mpc8349板下载server(59.64.155.12)的hello.o文件
# tftp -g 59.64.155.12 -r hello.o
# chmod +x hello.o
# ./hello.o
分享到:
相关推荐
redhat linux 9 三光盘合一的 ISO 文件
本文介绍了 linux redhat9 的详细安装过程,包括光盘安装和硬盘安装。总结了linux的详细启动过程,和内存分配。
Redhat LINUX 9从入门到精通
Redhat Linux9从入门到精通---想要了解、学习Redhat Linux9系统的话,本资料就是最好的老师,希望它能够给大家带来帮助,谢谢!
vmware下redhat linux9 的详细安装步骤
RedHat Linux环境下防火墙配置初级入门
本书是红帽Linux 9的完整指南。无论把Linux作为服务器还是桌面操作系统,本书都提供了安装、配置与管理最新操作系统的实用信息。本书介绍的内容包括Linux安装,命令行界面,Linux系统管理与配置,诊断引导过程,内核...
Redhat Linux 9中文官方文档.7z
tftp 安装1.下载软件包 可 以到http://www.kernel.org/pub/software/network/tftp/ 下载 tftp-server-0.43-1.i386.rpm和tftp-hpa-0.48.tar.gz(可能有更新版本的)两个包,可能第一个rpm包可 以不要的,第二个包就...
redhat linux学习笔记 redhat linux学习笔记
Redhat Linux 下安装Oracle 9i
Redhat LINUX 9从入门到精通[PDF][44.1MB] 中文名称: 红帽子Redhat LINUX 9从入门到精通 英文名称: 无 资源格式: PDF 发行时间: 2009 地 区: 中国 文字语言: 简体中文 文字语言: 简体中文 不用介绍了吧,接触...
RedHat Linux RHEL6配置本地YUM源
Redhat Linux9上手动安装DB2,详细说明了方法及步骤
RedHat Linux9入门指南 RedHat Linux9入门指南
RedHat Linux安装图解RedHat Linux安装图解RedHat Linux安装图解RedHat Linux安装图解
redhat Linux9环境下Oracle
实例图解 RedHat Linux 9 实例图解 RedHat Linux 9 实例图解 RedHat Linux 9
redhat linux安装使用指南 redhat linux安装使用指南
Redhat linux 9下安装oracle10g.docx