xinetd 설치하기, xinetd 서비스 시작 및 중지

CODEDRAGON Security/Linux

반응형


 

xinetd 설치하기

·       TODO : xinetd 이 설치가 되어 있는지 확인하기

·       TODO : 설치하기

·       TODO : xinetd 이 설치가 되어 있는지 확인하기

 

 

TODO : xinetd 이 설치가 되어 있는지 확인하기

rpm -qa | grep xinetd


 

 

yum list xinetd

[root@localhost ~]# yum list xinetd

Yum command has been deprecated, redirecting to '/usr/bin/dnf list xinetd'.

See 'man dnf' and 'man yum2dnf' for more information.

To transfer transaction metadata from yum to DNF, run:

'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

 

Last metadata expiration check performed 0:56:17 ago on Thu May  5 21:36:17 2016.

Available Packages

xinetd.x86_64                             2:2.3.15-16.fc23                              fedora

[root@localhost ~]#

 

 

TODO :  설치하기

yum install xinetd

or

dnf install xinetdvi

[root@localhost ~]# yum install xinetd

Yum command has been deprecated, redirecting to '/usr/bin/dnf install xinetd'.

See 'man dnf' and 'man yum2dnf' for more information.

To transfer transaction metadata from yum to DNF, run:

'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

 

Last metadata expiration check performed 0:56:50 ago on Thu May  5 21:36:17 2016.

Dependencies resolved.

==============================================================================================

 Package            Arch               Version                       Repository          Size

==============================================================================================

Installing:

 xinetd             x86_64             2:2.3.15-16.fc23              fedora             132 k

 

Transaction Summary

==============================================================================================

Install  1 Package

 

Total download size: 132 k

Installed size: 260 k

Is this ok [y/N]: y

Downloading Packages:

xinetd-2.3.15-16.fc23.x86_64.rpm                              949 kB/s | 132 kB     00:00   

----------------------------------------------------------------------------------------------

Total                                                         7.1 kB/s | 132 kB     00:18    

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Installing  : xinetd-2:2.3.15-16.fc23.x86_64                                            1/1

  Verifying   : xinetd-2:2.3.15-16.fc23.x86_64                                            1/1

 

Installed:

  xinetd.x86_64 2:2.3.15-16.fc23                                                             

 

Complete!

[root@localhost ~]#

 

 

TODO : xinetd 이 설치가 되어 있는지 확인하기

rpm -qa | grep xinetd


 

 

 

 

xinetd 서비스 시작 및 중지

·       TODO : 서비스 시작

·       TODO : 서비스 실행 확인하기

·       TODO : 서비스 중지하기

 

 

TODO : 서비스 시작

service xinetd start


 

 

TODO : 서비스 실행 확인하기

ps -ef | grep xinetd | grep -v grep


 

 

TODO : 서비스 중지하기

service xinetd stop

ps -ef | grep xinetd | grep -v grep