How To Install xinetd.x86_64 on Amazon Linux 2

In this tutorial we learn how to install xinetd.x86_64 in Amazon Linux 2. xinetd.x86_64 is A secure replacement for inetd

Introduction

In this tutorial we learn how to install xinetd.x86_64 on Amazon Linux 2.

What is xinetd.x86_64

Xinetd is a secure replacement for inetd, the Internet services daemon. Xinetd provides access control for all services based on the address of the remote host and/or on time of access and can prevent denial-of-access attacks. Xinetd provides extensive logging, has no limit on the number of server arguments, and lets you bind specific services to specific IP addresses on your host machine. Each service has its own specific configuration file for Xinetd; the files are located in the /etc/xinetd.d directory.

We can use yum to install xinetd.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install xinetd.x86_64.

Install xinetd.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xinetd.x86_64 using yum by running the following command:

sudo yum -y install xinetd.x86_64

How To Uninstall xinetd.x86_64 on Amazon Linux 2

To uninstall only the xinetd.x86_64 package we can use the following command:

sudo yum remove xinetd.x86_64

xinetd.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/xinetd
/etc/xinetd.conf
/etc/xinetd.d/chargen-dgram
/etc/xinetd.d/chargen-stream
/etc/xinetd.d/daytime-dgram
/etc/xinetd.d/daytime-stream
/etc/xinetd.d/discard-dgram
/etc/xinetd.d/discard-stream
/etc/xinetd.d/echo-dgram
/etc/xinetd.d/echo-stream
/etc/xinetd.d/tcpmux-server
/etc/xinetd.d/time-dgram
/etc/xinetd.d/time-stream
/usr/lib/systemd/system/xinetd.service
/usr/sbin/xinetd
/usr/share/doc/xinetd-2.3.15
/usr/share/doc/xinetd-2.3.15/CHANGELOG
/usr/share/doc/xinetd-2.3.15/COPYRIGHT
/usr/share/doc/xinetd-2.3.15/README
/usr/share/doc/xinetd-2.3.15/empty.conf
/usr/share/doc/xinetd-2.3.15/sample.conf
/usr/share/man/man5/xinetd.conf.5.gz
/usr/share/man/man5/xinetd.log.5.gz
/usr/share/man/man8/xinetd.8.gz

References

Summary

In this tutorial we learn how to install xinetd.x86_64 on Amazon Linux 2 using yum.