How To Install xinetd on CentOS 7
Introduction
In this tutorial we learn how to install xinetd
on CentOS 7.
What is xinetd
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
or dnf
to install xinetd
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install xinetd.
Install xinetd on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install xinetd
using yum
by running the following command:
Install xinetd on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install xinetd
using dnf
by running the following command:
How To Uninstall xinetd on CentOS 7
To uninstall only the xinetd
package we can use the following command:
References
Summary
In this tutorial we learn how to install xinetd
on CentOS 7 using yum
and dnf
.