DEV Community

Cover image for Cockpit linux
ajinurrofiq
ajinurrofiq

Posted on

Cockpit linux

Cockpit meaning

Cockpit is a free, open source server administration tool that allows us to easily monitor and manage one or more Gnu/Linux servers via a web browser.

Simple to use

Cockpit makes Linux discoverable. You don’t have to remember commands at a command-line.

See your server in a web browser and perform system tasks with a mouse. It’s easy to start containers, administer storage, configure networks, and inspect logs. Basically, you can think of Cockpit like a graphical “desktop interface”, but for individual servers.

Using Cockpit

Here’s a subset of tasks you can perform on each host running Cockpit:

  • Inspect and change network settings

  • Configure a firewall

  • Manage storage (including RAID and LUKS partitions)

  • Create and manage virtual machines

  • Download and run containers

  • Browse and search system logs

  • Inspect a system’s hardware

  • Upgrade software

  • Keep tabs on performance

  • Manage user accounts

  • Inspect and interact with systemd-based services

  • Use a terminal on a remote server in your local web browser

  • Switch between multiple Cockpit servers

  • Extend Cockpit’s functionality by installing a growing list of apps and add-ons

  • Write your own custom modules to make Cockpit do anything you want

Also troubleshoot and fix pesky problems with ease:

  • Diagnose network issues

  • Spot and react to misbehaving virtual machines

  • Examine SELinux logs and fix common violations in a click

  • Inspect detailed metrics that correlate CPU load, memory usage, network

More features appear in Cockpit every release.

CentOS
Cockpit is included in CentOS 7.x:

  • Install cockpit:
sudo yum install cockpit
Enter fullscreen mode Exit fullscreen mode
  • Enable cockpit:
sudo systemctl enable --now cockpit.socket
Enter fullscreen mode Exit fullscreen mode
  • Open the firewall if necessary:
sudo firewall-cmd --permanent --zone=public --add-service=cockpit
sudo firewall-cmd --reload
Enter fullscreen mode Exit fullscreen mode

Get started

After installing and enabling Cockpit, visit port 9090 on your server (for example: https://localhost:9090/ in a browser on the same machine as Cockpit).

THAT'S ALL FROM ME, THANKS

Top comments (0)