• 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 on Oracle Linux 8.8

  • 00:45 cat /etc/os-release
  • 01:04 yum install cockpit
  • 01:31 systemctl enable cockpit.service
  • 01:52 systemctl start cockpit.service
  • 02:12 systemctl status cockpit.service
  • 02:42 firewall-cmd --add-service=cockpit --permanent
  • 03:08 firewall-cmd --reload
{{postValue.id}}

To Install Cockpit On Oracle Linux 8.8

Introduction:

Cockpit is an intuitive web-based console that lets you manage your server using an easy-to-use web interface. The Cockpit web console operates the same system APIs as a terminal, and tasks performed in a terminal are almost mirrored in the web console. Furthermore, 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.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:8:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.8

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

[root@linuxhelp ~]# yum install cockpit
Oracle Linux 8 BaseOS Latest (x86_64)            21 kB/s | 3.6 kB     00:00    
Oracle Linux 8 BaseOS Latest (x86_64)           9.8 MB/s |  59 MB     00:06    
Oracle Linux 8 Application Stream (x86_64)       37 kB/s | 3.9 kB     00:00    
Oracle Linux 8 Application Stream (x86_64)      9.9 MB/s |  47 MB     00:04    
Latest Unbreakable Enterprise Kernel Release 6   26 kB/s | 3.0 kB     00:00    
Latest Unbreakable Enterprise Kernel Release 6   10 MB/s |  72 MB     00:07    
Last metadata expiration check: 0:00:23 ago on Monday 10 July 2023 04:34:50 AM IST.
Package cockpit-286.1-1.0.1.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

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

[root@linuxhelp ~]# systemctl enable 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.

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

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

Step 5: Check the Status of 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; vendor pres>
   Active: active (running) since Mon 2023-07-10 04:36:18 IST; 18s ago
     Docs: man:cockpit-ws(8)
  Process: 128253 ExecStartPre=/usr/libexec/cockpit-certificate-ensure --for-co>
 Main PID: 128287 (cockpit-tls)
    Tasks: 1 (limit: 22942)
   Memory: 896.0K
   CGroup: /system.slice/cockpit.service
           +-128287 /usr/libexec/cockpit-tls
Jul 10 04:36:15 linuxhelp systemd[1]: Starting Cockpit Web Service...
Jul 10 04:36:18 linuxhelp systemd[1]: Started Cockpit Web Service.

Step 6: 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 7: 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.6.136:9090

Step 8: 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. Snap1

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

Snap2

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

Snap3

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.8. Your feedback is much welcome

Tags:
michael
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 a 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 David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

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.