在CentOS 5.3下安装配置tftp服务
来源:互联网 发布:软件开发除web 编辑:程序博客网 时间:2024/06/02 06:13
本人在centOS6.2下配置成功。
原文链接:http://www.2cto.com/os/201102/84016.html
向作者致敬!
以下照抄!
==================================================
在CentOS 5.3下安装配置tftp服务 过程如下:
1. 挂载CDROM
[root@localhost mnt]# ls /dev/cdrom
/dev/cdrom
[root@localhost mnt]# mount /dev/cdrom /mnt/cdrom/
2. 安装xinetd
[root@localhost cdrom]# cd CentOS/
[root@localhost CentOS]# ls *inet*
xinetd-2.3.14-10.el5.i386.rpm
[root@localhost CentOS]# rpm -ivh xinetd-2.3.14-10.el5.i386.rpm
3. 安装tftp
[root@localhost CentOS]# ls *ftp*
ftp-0.17-35.el5.i386.rpm tftp-0.42-3.1.el5.centos.i386.rpm
gftp-2.0.18-3.2.2.i386.rpm tftp-server-0.42-3.1.el5.centos.i386.rpm
lftp-3.5.1-2.fc6.i386.rpm vsftpd-2.0.5-12.el5.i386.rpm
[root@localhost CentOS]# rpm -ivh tftp-server-0.42-3.1.el5.centos.i386.rpm
[root@localhost CentOS]# rpm -ivh tftp-0.42-3.1.el5.centos.i386.rpm
4. 安装完成,查看一下
[root@localhost CentOS]# rpm -qa|grep tftp
tftp-server-0.42-3.1.el5.centos
tftp-0.42-3.1.el5.centos
5. 修改配置文件
[root@localhost CentOS]# vim /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
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
6. 重启xinetd,并配置tftp开机启动
[root@localhost CentOS]# service xinetd restart
[root@localhost CentOS]# setup
修改权限:
[root@localhost /]# chmod 777 /tftpboot/
重启:
[root@localhost ~]# service xinetd restart
7.测试
[root@localhost ~]# cd /tftpboot/
[root@localhost tftpboot]# ls
a.txt ramdisk_sjx_0.7.3.gz
[root@localhost tftpboot]# vim a.txt
[root@localhost tftpboot]# cd
[root@localhost ~]# tftp 10.10.143.103
tftp> get a.txt
tftp> q
[root@localhost ~]# ls
a.txt install.log remove20090915 work
[root@localhost ~]# more a.txt
aaaaaaaaaaaaaa
成功!
- 在CentOS 5.3下安装配置tftp服务
- CentOS 6.0 tftp服务安装与配置,
- CentOS下tftp 安装配置使用
- centos下安装配置TFTP服务器
- Ubuntu下安装配置tftp服务
- linux-Centos 7下tftp-server服务的安装与配置
- centos 下 tftp 配置
- CentOS 安装配置TFTP
- CentOS 6.0 tftp服务安装
- 在centos 下安装配置基于gitosis 的git 服务
- 在centos 下安装配置基于gitosis 的git 服务
- 在centos 下安装配置基于gitosis 的git 服务
- 在centos 下安装配置基于gitosis 的git 服务
- CentOS 6.6下,TFTP配置
- Centos下安装xinetd以及minicom、tftp的配置
- centos tftp 安装与配置
- CentOS---tftp(安装、配置、使用)
- CentOS---tftp(安装、配置、使用)
- 内存泄露,内存使用情况统计
- 新手谈C指针01_指针?
- 自己用的东西
- 5步加速你的eclipse启动
- unix环境高级编程中代码运行问题
- 在CentOS 5.3下安装配置tftp服务
- recv & send 阻塞和非阻塞(2012-06-05)
- float
- 第十六周实验报告(1)——涨工资
- BFS小结(持续更新中)
- Objective-C属性介绍
- ASCII码
- DynamicQuery一张或者多张表
- 什么是声明?什么是定义?