• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Cockpit Web Console on Oracle Linux 8.5

  • 00:47 cat /etc/os-release
  • 01:07 yum install epel-release
  • 01:44 yum install cockpit
  • 01:45 systemctl enable --now cockpit.socket
  • 02:00 systemctl start cockpit.socket
  • 02:11 systemctl status cockpit.socket
  • 02:28 ps auxf|grep cockpit
  • 02:48 firewall-cmd --add-service=cockpit --permanent
  • 03:08 firewall-cmd --reload
{{postValue.id}}

To Install Cockpit Web Console on Oracle Linux 8.5

Introduction:

The Cockpit is a web console with an easy-to-use web-based interface that allows you to carry out administrative tasks on your servers.

The Cockpit web console operates the same system APIs as you would in a terminal, and tasks performed in a terminal are fast reflected in the web console. In addition, you can configure the settings instantly in the web console or through the terminal.

Installation Steps:

Step 1: Check the Oracle Linux Version by using the below command

[root@linuxhelp ~]#  cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.5"
ID="ol"

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

 [root@linuxhelp ~]# yum install cockpit
Last metadata expiration check: 0:01:53 ago on Sun 02 Oct 2022 02:39:38 AM IST.
Package cockpit-251.1-1.0.1.el8.x86_64 is already installed.
Dependencies resolved.
==================================================================================================
 Package           Architecture     Version                     Repository                   Size
==================================================================================================
Upgrading:
 cockpit           x86_64           264.1-1.0.1.el8             ol8_baseos_latest            79 k
Transaction Summary
cockpit-264.1-1.0.1.el8.x86_64.rpm                                402 kB/s |  79 kB     00:00    
--------------------------------------------------------------------------------------------------
Total                                                             397 kB/s |  79 kB     00:00     
Oracle Linux 8 BaseOS Latest (x86_64)                             353 kB/s | 3.1 kB     00:00    
Importing GPG key 0xAD986DA3:
 Userid     : "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>"

 Fingerprint: 76FD 3DB1 3AB6 7410 B89D B10E 8256 2EA9 AD98 6DA3
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                          1/1 
  Upgrading        : cockpit-264.1-1.0.1.el8.x86_64                                           1/2 
  Cleanup          : cockpit-251.1-1.0.1.el8.x86_64                                           2/2 
  Running scriptlet: cockpit-251.1-1.0.1.el8.x86_64                                           2/2 
  Verifying        : cockpit-264.1-1.0.1.el8.x86_64                                           1/2 
  Verifying        : cockpit-251.1-1.0.1.el8.x86_64                                           2/2 
Upgraded:
  
cockpit-264.1-1.0.1.el8.x86_64                                                                  
Complete!

Step 3: Next, enable and start the cockpit.socket service to connect to the system through the web console by using the below command

 [root@linuxhelp ~]# systemctl enable --now cockpit.service
The unit files have no installation config (WantedBy, RequiredBy, Also, Alias
settings in the [Install] section, and DefaultInstance for template units).
This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
   .wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
   a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
   D-Bus, udev, scripted systemctl call, ...).
4) In case of template units, the unit is meant to be enabled with some
   instance name specified.

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

Step 4: Verify the service and running the cockpit process using the below command

 [root@linuxhelp ~]# systemctl status cockpit.socket 
● cockpit.socket - Cockpit Web Service Socket
   Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; disabled; vendor preset: disabled)
   Active: active (running) since Sun 2022-10-02 02:42:17 IST; 53s ago
     Docs: man:cockpit-ws(8)
   Listen: [::]:9090 (Stream)
    Tasks: 0 (limit: 10474)
   Memory: 996.0K
   CGroup: /system.slice/cockpit.socket
Oct 02 02:42:17 linuxhelp systemd[1]: Starting Cockpit Web Service Socket.
Oct 02 02:42:17 linuxhelp systemd[1]: Listening on Cockpit Web Service Socket.
 [root@linuxhelp ~]# ps auxf|grep cockpit
root        9249  0.2  3.2 385840 55728 pts/0    T    02:41   0:00                      \_ /usr/libexec/platform-python /usr/bin/yum install cockpit
root       39419  0.0  0.0  12132  1136 pts/0    S+   02:44   0:00                      \_ grep --color=auto cockpit

Step 5: If you are running a firewalld on the system, you need to open 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: Open the Cockpit web console in your web browser by using the below URL’s:

Locally: https://localhost:9090
Remotely with the server’s hostname: https://example.com:9090
Remotely with the server’s IP address: https://192.168.0.10:9090

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 Oracle linux 8.5. Your feedback is much welcome

Tags:
connor
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

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

What is Cockpit Linux?

A

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

Q

Is 9090 a TCP or UDP?

A

9090 is UDP Port

Q

Is cockpit open source?

A

The cockpit is a free and open-source software project

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 Sebastian ?
How to change non required to required field in SuiteCRM Custom/Default Modules

How to change not required to the required field in SuiteCRM Custom/Default Modules?

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.