• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install Cockpit on Rocky Linux 9.2

  • 00:44 cat /etc/os-release
  • 01:04 dnf install cockpit
  • 01:41 systemctl start cockpit.service
  • 02:05 systemctl status cockpit.service
  • 02:40 firewall-cmd --add-service=cockpit --permanent
  • 03:08 firewall-cmd --reload
7631

To install Cockpit on Rocky Linux 9.2

Introduction:

Cockpit is a server management dashboard that provides real-time information on the state of your machine. In addition to CPU load, filesystem statistics, processes, and other data also give access to the system. When you're not signed in to the control panel, Cockpit doesn't use any server resources. The Cockpit service only begins when you go to the control panel and use it.

Installation Steps:

Step 1: Check the OS version by using the below command

[root@Linuxhelp ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.2 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.2"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.2 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.2"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.2"

Step 2: Install Cockpit web console package by using the below command

[root@Linuxhelp ~]# dnf install cockpit
Rocky Linux 9 - BaseOS                                                                                                                                                        5.1 kB/s | 4.1 kB     00:00
Rocky Linux 9 - BaseOS                                                                                                                                                        1.7 MB/s | 1.9 MB     00:01
Rocky Linux 9 - AppStream                                                                                                                                                     5.0 kB/s | 4.5 kB     00:00
Rocky Linux 9 - AppStream                                                                                                                                                     4.3 MB/s | 7.1 MB     00:01
Rocky Linux 9 - Extras                                                                                                                                                        3.1 kB/s | 2.9 kB     00:00
Rocky Linux 9 - Extras                                                                                                                                                         12 kB/s |  11 kB     00:00
Package cockpit-286.1-1.el9.x86_64 is already installed.
Dependencies resolved.
==============================================================================================================================================================================================================
 Package                                         Architecture                                   Version                                                  Repository                                      Size
==============================================================================================================================================================================================================
Upgrading:
 cockpit                                         x86_64                                         286.2-1.el9_2                                            baseos                                          39 k

Transaction Summary
==============================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 39 k
Is this ok [y/N]: y
Downloading Packages:
cockpit-286.2-1.el9_2.x86_64.rpm                                                                                                                                              118 kB/s |  39 kB     00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                          42 kB/s |  39 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                      1/1
  Upgrading        : cockpit-286.2-1.el9_2.x86_64                                                                                                                                                         1/2
  Cleanup          : cockpit-286.1-1.el9.x86_64                                                                                                                                                           2/2
  Running scriptlet: cockpit-286.1-1.el9.x86_64                                                                                                                                                           2/2
  Verifying        : cockpit-286.2-1.el9_2.x86_64                                                                                                                                                         1/2
  Verifying        : cockpit-286.1-1.el9.x86_64                                                                                                                                                           2/2

Upgraded:
  cockpit-286.2-1.el9_2.x86_64

Complete!

Step 3: Start the Cockpit service by using the below command

[root@Linuxhelp ~]# systemctl start cockpit.service

Step 4: Now check the status of the Cockpit service by using the below command

[root@Linuxhelp ~]# systemctl status cockpit.service
○ cockpit.service - Cockpit Web Service
     Loaded: loaded (/usr/lib/systemd/system/cockpit.service; static)
     Active: inactive (dead) since Tue 2023-09-05 00:24:19 IST; 43s ago
   Duration: 1min 30.080s
TriggeredBy: ● cockpit.socket
       Docs: man:cockpit-ws(8)
    Process: 5613 ExecStartPre=/usr/libexec/cockpit-certificate-ensure --for-cockpit-tls (code=exited, status=0/SUCCESS)
    Process: 5633 ExecStart=/usr/libexec/cockpit-tls (code=exited, status=0/SUCCESS)
   Main PID: 5633 (code=exited, status=0/SUCCESS)
        CPU: 1.666s

Sep 05 00:22:48 Linuxhelp systemd[1]: Starting Cockpit Web Service...
Sep 05 00:22:49 Linuxhelp systemd[1]: Started Cockpit Web Service.
Sep 05 00:24:19 Linuxhelp systemd[1]: cockpit.service: Deactivated successfully.
Sep 05 00:24:19 Linuxhelp systemd[1]: cockpit.service: Consumed 1.666s CPU time.

Step 5: If you are running a firewalld on the system, you need to enable the cockpit port 9090 in the firewall by using the below command.

[root@linuxhelp ~]# firewall-cmd --add-service=cockpit --permanent
Warning: ALREADY_ENABLED: cockpit
success
[root@linuxhelp ~]# firewall-cmd --reload
Success

Step 6: Now open the Cockpit web console in your web browser by using the below URL’s:

https://192.168.6.130:9090/ Snap 4

Step 7: If you are using a self-signed certificate, you will get a warning on the browser, simply verify the certificate and accept the security exception to proceed further with the login as shown in the below image. Snap 1

Step 8: In the web console login screen, enter your system user name and password as shown in the below image. Snap 2

Step 9: After successful authentication, the Cockpit web console interface opens as shown in the below image. Snap 3

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install Cockpit webconsole on Rocky linux 9.2. Your feedback is much welcome

Tags:
michael
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What is Cockpit in Linux?

A

The cockpit is a web-based graphical interface for servers.

Q

How do I access the Cockpit in Linux?

A

To access Cockpit, point the web browser to your computer or server IP on port 9090 : https://Computer IP:9090

Q

How do I enable the Cockpit?

A

systemctl enable --now cockpit.socket

Q

Is 9090 a TCP or UDP?

A

9090 is UDP Port

Q

Is Cockpit open source?

A

Cockpit is free to use and available under the GNU LGPL

Related Tutorials in How to install Cockpit on Rocky Linux 9.2

Related Tutorials in How to install Cockpit on Rocky Linux 9.2

How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
Oct 17, 2022
How to install and update OpenSSL on Debian 11.3
How to install and update OpenSSL on Debian 11.3
Oct 21, 2022
How to Install and Configure Mega in Linux
How to Install and Configure Mega in Linux
Jul 19, 2016
How to use Aureport command on Linux
How to use Aureport command on Linux
Nov 28, 2017
How to install Development tools on Linux
How to install Development tools on Linux
Jun 12, 2018
How to Install mod_ssl and SSL certificate on Oracle Linux
How to Install mod_ssl and SSL certificate on Oracle Linux
Dec 30, 2021
How to install Nextcloud on Ubuntu 22.04 version
How to install Nextcloud on Ubuntu 22.04 version
Jun 23, 2023
How to install ClipGrab in Linux
How to install ClipGrab in Linux
Jul 16, 2016

Related Forums in How to install Cockpit on Rocky Linux 9.2

Related Forums in How to install Cockpit on Rocky Linux 9.2

Linux
jayce class=
shasum command not found
May 5, 2017
Linux
stephan class=
How to list all samba users
Jan 12, 2018
pv command
muhammad class=
pvcreate command not found error
May 9, 2017
Linux
henry class=
Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
Apr 25, 2017
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Linux
baseer class=
single command to apply setfacl for multiple user at a time
Jan 23, 2018
Linux
beulah class=
What does mean by 0 0 value in fstab file
Jan 2, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018

Related News in How to install Cockpit on Rocky Linux 9.2

Related News in How to install Cockpit on Rocky Linux 9.2

Anbox, the Android-to-Linux tool the developers have been waiting for
Anbox, the Android-to-Linux tool the developers have been waiting for
Apr 17, 2017
Linus Torvalds stops signing Linux kernel RC tarballs
Linus Torvalds stops signing Linux kernel RC tarballs
May 17, 2017
Capsule8 Launches Linux-Based Container Security Platform
Capsule8 Launches Linux-Based Container Security Platform
Feb 14, 2017
Symantec updates Management console product
Symantec updates Management console product
Nov 22, 2017
Latest Linux driver release feature seven AMD Vega
Latest Linux driver release feature seven AMD Vega
Mar 23, 2017
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
Apr 9, 2019
Microsoft makes its Azure App service now available on Linux Systems
Microsoft makes its Azure App service now available on Linux Systems
Sep 7, 2017
Docker friendly Alpine Linux gets hardened Node.js
Docker friendly Alpine Linux gets hardened Node.js
Apr 19, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaiah ?
What is the use of SUID & SGID commands

How to set the special permissions to the files and folders using SUID and SGID commands...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.