In this section, we're going to use only our centos1 VM, as we determine the ports in use on our box, and the services behind them.
Determining the running services and ports in use
Getting ready
Connect to your centos1 VM.
You should also install the lsof package for some of the examples that we will be looking at:
$ sudo yum install -y lsof
How to do it...
When determining what's running on a server, you usually want to know if anything is listening on for connections and on what ports.
Out of the box, socket statistics (ss) is usually available. The older...