Cockpit Administration Tool

From frogzie
Jump to navigation Jump to search

Cockpit Linux Administration Tool

1 Overview

(From Red Hat's website)

Cockpit is a browser-based server administration tool for Linux sponsored by Red Hat, focused on providing a modern-looking and user-friendly interface to manage and administer servers.

Cockpit is not the first of its class (many old-time system administrators may remember Webmin), but the alternatives are usually clunky, bloated, and their underlying APIs may be a security risk. That's where Cockpit is different and shines. With Cockpit, unnecessary services or APIs don't get in the way of doing things.

2 Environment

  • Host: cyber8, a ThinkPad X230 laptop running CentOS-8.1
  • Identity Management (IdM) already set up with IPA user admin defined

3 Cockpit

Cockpit
Identity Management

3.1 Installation

Installation on cyber8

  • dnf install cockpit
  • systemctl enable --now cockpit.socket
  • Firewall
    • firewall-cmd --add-service=cockpit
    • firewall-cmd --add-service=cockpit --permanent

3.2 User Interface

From any host on the network

  • firefox cyber8:9090   (Cockpit UI)
  • Log in as admin   (or root   for superuser privileges)

Recall: connecting to the port 80 will access IdM

  • firefox cyber8[:80]   (IdM UI)

4 See also