How to install and activate Cockpit web console on RHEL 8

Originally published at: https://www.cyberciti.biz/faq/activate-cockpit-the-web-console-on-rhel-8/

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?