Chinaunix首页 | 论坛 | 博客
  • 博客访问: 318526
  • 博文数量: 145
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 1510
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-19 11:12
文章分类

全部博文(145)

文章存档

2007年(75)

2006年(70)

我的朋友

分类:

2007-03-14 16:12:36

Linux无盘工作站(Blade)服务器安装 TFTP部分

                                      

 Linux无盘工作站(Blade)服务器安装 DHCP部分

安装TFTP服务

查看是否安装TFTP服务[root@redgene etc]# rpm -q tftp
package tftp is not installed

安装TFTP服务[root@redgene etc]# yum install tftp-server
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core                                                                 [1/3]
updates                                                              [2/3]
extras                                                               [3/3]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for tftp-server to pack into transaction set.
tftp-server-0.41-1.2.1.i3 100% |=========================| 8.1 kB    00:05    
---> Package tftp-server.i386 0:0.41-1.2.1 set to be updated
--> Running transaction check
--> Processing Dependency: xinetd for package: tftp-server
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for xinetd to pack into transaction set.
xinetd-2.3.13-6.2.1.i386. 100% |=========================|  19 kB    00:07    
---> Package xinetd.i386 2:2.3.13-6.2.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 tftp-server             i386       0.41-1.2.1       core               27 k
Installing for dependencies:
 xinetd                  i386       2:2.3.13-6.2.1   core              133 k

Transaction Summary
=============================================================================
Install      2 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        
Total download size: 161 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): tftp-server-0.41-1 100% |=========================|  27 kB    00:19    
(2/2): xinetd-2.3.13-6.2. 100% |=========================| 133 kB    01:11    
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: xinetd                       ######################### [1/2]
  Installing: tftp-server                  ######################### [2/2]

Installed: tftp-server.i386 0:0.41-1.2.1
Dependency Installed: xinetd.i386 2:2.3.13-6.2.1
Complete!


TFTP服务配置文件[root@redgene ~]# 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
{
        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
阅读(998) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~