If you're on a RHEL or Fedora base, it might be already installed and running. You just hit it on port 9090 with your web browser, and log in with your OS creds (same that you use for SSH). If it's not installed yet and/or you want to also add performance co-pilot[1], it's pretty easy to do:
# Install cockpit and pcp and activate services
dnf install -y cockpit pcp cockpit-pcp
systemctl enable --now cockpit.socket
systemctl enable --now pmlogger
# If needed, open port 9090 in the firewall
firewall-cmd --zone=public --permanent --add-service=cockpit
# Alternatively you can open it for just your own IP
firewall-cmd --zone=public --permanent --add-rich-rule='rule family="ipv4" source address="38.14.154.124" port protocol="tcp" port="9090" accept'
Here's the same commands in a gist if preferred: https://gist.github.com/FreedomBen/62b348ed45045e53356aeb714...