码迷,mamicode.com
首页 > Web开发 > 详细

刚刚注意到rhel6里边默认是不装xinetd的。

时间:2015-03-08 17:13:10      阅读:162      评论:0      收藏:0      [点我收藏+]

标签:linux   xinetd   

[root@rhel63single sbin]# chkconfig --list | grep xinetd
[root@rhel63single sbin]# yum list xinetd
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
file:///media/Server/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/Server/repodata/repomd.xml
Trying other mirror.
file:///media/Server/repodata/repomd.xml: [Errno 14] Could not open/read file:///media/Server/repodata/repomd.xml
Trying other mirror.
Available Packages
xinetd.x86_64                                                    2:2.3.14-34.el6                                                     rhel-source
[root@rhel63single sbin]# mount /dev/cdrom /media
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@rhel63single sbin]# yum list xinetd
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
rhel-source                                                                                                              | 4.0 kB     00:00 ... 
rhel-source-beta                                                                                                         | 4.0 kB     00:00 ... 
Available Packages
xinetd.x86_64                                                          2:2.3.14-34.el6                                                           rhel-source
[root@rhel63single sbin]# yum install xinetd
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xinetd.x86_64 2:2.3.14-34.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================
 Package                          Arch                             Version                                      Repository                             Size
============================================================================================================================================================
Installing:
 xinetd                           x86_64                           2:2.3.14-34.el6                              rhel-source                           121 k

Transaction Summary
============================================================================================================================================================
Install       1 Package(s)

Total download size: 121 k
Installed size: 259 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 2:xinetd-2.3.14-34.el6.x86_64                                                                                                            1/1 
Installed products updated.
  Verifying  : 2:xinetd-2.3.14-34.el6.x86_64                                                                                                            1/1 

Installed:
  xinetd.x86_64 2:2.3.14-34.el6                                                                                                                             

Complete!
[root@rhel63single sbin]# 


[root@rhel63single sbin]# service xinetd status
xinetd is stopped
[root@rhel63single sbin]# /etc/init.d/xinetd force-reload
Reloading configuration: [FAILED]
[root@rhel63single sbin]# /etc/init.d/xinetd force-reload
Reloading configuration: [FAILED]
[root@rhel63single sbin]# /etc/init.d/xinetd start
Starting xinetd: [  OK  ]
[root@rhel63single sbin]# service xinetd status
xinetd (pid  3664) is running...
[root@rhel63single sbin]# /etc/init.d/xinetd force-reload
Reloading configuration: [  OK  ]
[root@rhel63single sbin]# 
[root@rhel63single sbin]# 
[root@rhel63single sbin]# 
[root@rhel63single sbin]# 

 


 

刚刚注意到rhel6里边默认是不装xinetd的。

标签:linux   xinetd   

原文地址:http://blog.csdn.net/msdnchina/article/details/44133991

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!