Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 3. Installing web console add-ons and creating custom pages


Depending on how you want to use your Red Hat Enterprise Linux system, you can add additional available applications to the web console or create custom pages based on your use case.

3.1. Add-ons for the RHEL web console

While the cockpit package is a part of Red Hat Enterprise Linux by default, you can install add-on applications on-demand by using the following command:

# dnf install <add-on>
Copy to Clipboard Toggle word wrap

In the previous command, replace <add-on> by a package name from the list of available add-on applications for the RHEL web console.

Expand
Feature namePackage nameUsage

Composer

cockpit-composer

Building custom OS images

File manager

cockpit-files

Managing files and directories in the standard web-console interface

Machines

cockpit-machines

Managing libvirt virtual machines

PackageKit

cockpit-packagekit

Software updates and application installation (usually installed by default)

PCP

cockpit-pcp

Persistent and more fine-grained performance data (installed on demand from the UI)

Podman

cockpit-podman

Managing containers and managing container images

Session Recording

cockpit-session-recording

Recording and managing user sessions

Storage

cockpit-storaged

Managing storage through udisks

3.2. Creating new pages in the web console

If you want to add customized functions to your Red Hat Enterprise Linux web console, you must add the package directory that contains the HTML and JavaScript files for the page that runs the required function.

For detailed information about adding custom pages, see Creating Plugins for the Cockpit User Interface on the Cockpit Project website.

3.3. Overriding the manifest settings in the web console

You can modify the menu of the web console for a particular user and all users of the system. In the cockpit project, a package name is a directory name. A package contains the manifest.json file along with other files. Default settings are present in the manifest.json file. You can override the default cockpit menu settings by creating a <package-name>.override.json file at a specific location for the specified user.

Prerequisites

Procedure

  1. Override manifest settings in the <systemd>.override.json file in a text editor of your choice, for example:

    1. To edit for all users, enter:

      # vi /etc/cockpit/<systemd>.override.json
      Copy to Clipboard Toggle word wrap
    2. To edit for a single user, enter:

      # vi ~/.config/cockpit/<systemd>.override.json
      Copy to Clipboard Toggle word wrap
  2. Edit the required file with the following details:

    {
      "menu": {
      "services": null,
      "logs": {
          "order": -1
      }
     }
    }
    Copy to Clipboard Toggle word wrap
    • The null value hides the services tab
    • The -1 value moves the logs tab to the first place.
  3. Restart the cockpit service:

    # systemctl restart cockpit.service
    Copy to Clipboard Toggle word wrap
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat