Run xinetd daemon in Fedora


Linux daemon xinetd is a useful tool for setting up remote service. As an example, we here introduce how to install and configure xinetd for running remote ECHO service in Fedora.

1. Install essential packages:
# yum -y install xinetd

2. Start xinetd daemon:
# /etc/init.d/xinetd start

3. Verify if xinetd daemon is running:
# /etc/init.d/xinetd status

4. Enable ECHO service:
# chkconfig echo-stream on

5. Verify if ECHO service is enabled:
# chkconfig --list | grep echo

6. Verify if ECHO service port is listening:
# lsof -i | grep echo
Or # netstat -tulanp | grep ":7"
Or # netstat -anp | grep ":7"

7. Check if ECHO works on another host:
(a) Install telnet package
# yum -y install telnet
(b) Connect to remote ECHO port via telnet
# telnet 'host' 7

Free Web Hosting