How to install and activate Cockpit web console on RHEL 8

Originally published at:

How do I install and enable Cockpit that makes GNU/Linux and RHEL 8 for web management purpose? How do I see and manage my RHEL 8 based server in a web browser and perform system tasks with a mouse?