How To Install procServ on CentOS 7
Introduction
In this tutorial we learn how to install procServ
on CentOS 7.
What is procServ
procServ is a wrapper that starts an arbitrary command as a child process in the background, connecting its standard input and output to a TCP port for telnet access. It supports logging, child restart (manual or automatic on exit), and more. procServ does not have the rich feature set of the screen utility, but is intended to provide running a command in a system service style, in a small, robust way. Handling multiple users, authorization, authentication, central logging is done best on a higher level, using a package like conserver. For security reasons, procServ only accepts connections from localhost.
We can use yum
or dnf
to install procServ
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install procServ.
Install procServ on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install procServ
using yum
by running the following command:
sudo yum -y install procServ
Install procServ 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.
sudo dnf makecache
After updating yum database, We can install procServ
using dnf
by running the following command:
sudo dnf -y install procServ
How To Uninstall procServ on CentOS 7
To uninstall only the procServ
package we can use the following command:
sudo dnf remove procServ
References
Summary
In this tutorial we learn how to install procServ
on CentOS 7 using yum
and dnf
.