Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Linux » Installation and configuration of Cockpit on CentOS Linux
  • WCD
    Join Bulk Devices using a Provisioning Package to Azure AWS/Azure/OpenShift
  • image 129
    Using Awx to deploy, schedule and run playbooks Linux
  • updates
    Out-of-Band Security Update for PrintNightmare: Patch released for Windows Print Spooler Remote Code Execution Vulnerability Security | Vulnerability Scans and Assessment
  • screenshot 2020 04 02 at 23.27.20
    Cloud Protection Manager: N2WS Veeam CPM Guide Backup
  • images 1
    How to Monitor Windows Hosts via Nagios Network | Monitoring
  • image 54
    How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
  • Hyper V VM creation
    How to Create a Windows Server VM on HyperV Windows Server
  • Featured image
    Domain Naming System: Enabling DNS over TLS in Windows 11 Network | Monitoring

Installation and configuration of Cockpit on CentOS Linux

Posted on 30/09/202010/10/2024 Dickson Victor By Dickson Victor No Comments on Installation and configuration of Cockpit on CentOS Linux
Cockpit installation

Cockpit is a web-based app/interface that is used to administer and monitor servers and system resources. Two very fantastic things about cockpit is that: a) it has no locked-in feature, meaning you can use it alongside other similar tools b) when it is idle or not in use, it uses no memory neither does it consume any server resource. And one of my favorite features is the ability to access the Linux terminal from the cockpit console. Here’s an article on the installation and configuration of Cockpit. See the following guide on how to install Cockpit on Ubuntu.

CentOS Linux
I will be explaining the installation process with the rpm command and right off the bat, I will say you are most likely going to experience some dependency resolution failures (depending on the package you downloaded and the Linux distribution) but do not fret, techdirectarchieve got you to the end.

Installation and configuration of Cockpit

Download/Installation of the Cockpit package and its dependencies. Thus, four of the most likely dependencies you may run into are cockpit based and they are

cockpit-system:   wget URL  (see image below for more information)
rpm –Uvh cockpit-system-195.6-1.el7.centos.noarch.rpm
Cockpit configuration

cockpit-bridge:   wget URL (see image below for more information)

rpm –Uvh cockpit-bridge-195.6-1.el7.centos.x86_64.rpm
CentOS Cockpit setup

cockpit-doc:

 wget URL  (see image for more information)
rpm –Uvh cockpit-doc-195.1-1.el7.centos.0.1.x86_64.rpm
Cockpit installation

cockpit-ws

wget URL (see image for more information)
rpm –Uvh cockpit-ws-195.6-1.el7.centos.x86_64.rpm
Cockpit installation

Download and install the cockpit package:

rpm –Uvh cockpit-195.6-1.el7.centos.x86_64.rpm

When the installation is done, start the service socket for the cockpit with systemctl start cockpit.socket and then enable it across reboots using systemctl enable cockpit.socket

Finally, configure firewall access using the following commands;

firewall-cmd --ass-service=cockpit
firewall-cmd --add-service=cockpit –permanent
firewall-cmd --reload

Login to the cockpit console by going to your Linux web interface and typing http:your-i-p-address:9090 .  e.g http:xx.xxx.xxx.xx:9090

In the installation and configuration of Cockpit, you’ll need to input your Linux login details. When you successfully log in, you will see a plethora of things about your system. Scroll down, you would see %CPU usage, Memory & Swap, Network Traffic, Disk I/O et cetera.

On the left side is a Navigation pane for the different Administration tools you can put to some good administrative use.

One thing you can conveniently do here is to save public SSH Keys.

As I mentioned, it has a very easy and user-friendly interface; just move the cursor around and click buttons.

I hope you have found this tutorial on Installation and configuration of Cockpit helpful.Please feel free to leave a comment below.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Linux Tags:Monitoring

Post navigation

Previous Post: Creating an offline local repository in Linux
Next Post: Fix error 0x800f0805, run DISM executable (Failure 5627)

Related Posts

  • mailx
    [MAILX ERROR: STATUS=BOUNCED] Fixing Mailx error when sending emails from Command line Linux
  • dns
    How to setup a cache-only DNS server Linux
  • Screenshot 2022 04 13 at 21.38.35
    Check Weather Conditions via Command Line on Windows, macOS, Linux and Web Linux
  • feature image mongo
    How to Install MongoDB on a Linux System Linux
  • HAProxy
    Deploying a load balancer from scratch and adding backend servers Linux
  • Rport
    RPORT the free and open source remote management tool Linux

More Related Articles

mailx [MAILX ERROR: STATUS=BOUNCED] Fixing Mailx error when sending emails from Command line Linux
dns How to setup a cache-only DNS server Linux
Screenshot 2022 04 13 at 21.38.35 Check Weather Conditions via Command Line on Windows, macOS, Linux and Web Linux
feature image mongo How to Install MongoDB on a Linux System Linux
HAProxy Deploying a load balancer from scratch and adding backend servers Linux
Rport RPORT the free and open source remote management tool Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • WCD
    Join Bulk Devices using a Provisioning Package to Azure AWS/Azure/OpenShift
  • image 129
    Using Awx to deploy, schedule and run playbooks Linux
  • updates
    Out-of-Band Security Update for PrintNightmare: Patch released for Windows Print Spooler Remote Code Execution Vulnerability Security | Vulnerability Scans and Assessment
  • screenshot 2020 04 02 at 23.27.20
    Cloud Protection Manager: N2WS Veeam CPM Guide Backup
  • images 1
    How to Monitor Windows Hosts via Nagios Network | Monitoring
  • image 54
    How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
  • Hyper V VM creation
    How to Create a Windows Server VM on HyperV Windows Server
  • Featured image
    Domain Naming System: Enabling DNS over TLS in Windows 11 Network | Monitoring

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,836 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.