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-on applications for the RHEL web console Copier lienLien copié sur presse-papiers!
Install optional add-on applications for the RHEL web console by using either the Applications page in the console or the command line. These add-ons provide tools for specific management tasks.
You can install add-on applications by using one of the following methods:
In the web console, click Applications and use the button in the list of available and already-installed applications.
In the terminal, use the
dnf installcommand:# dnf install <add-on>In the previous command, replace <add-on> by a package name from the list of available add-on applications for the RHEL web console.
| Feature name | Package name | Usage |
|---|---|---|
| File manager |
| Managing files and directories in the standard web console interface |
| HA cluster management |
|
The |
| Image builder |
| Building customized operating system images |
| Machines |
|
Managing |
| PackageKit |
| Software updates and application installation (usually installed by default) |
| PCP |
| Persistent and more fine-grained performance data (installed on-demand from the UI) |
| Podman |
| |
| Session recording |
| Recording and managing user sessions |
| Storage |
|
Managing storage through |
[a]
Additional steps such as enabling the pcsd service might be required. See the Installing cluster software section in the Configuring and managing high availability clusters document for more information.
| ||
3.2. Creating new pages in the web console Copier lienLien copié sur presse-papiers!
You can create custom pages in the RHEL web console by adding a package directory containing HTML and JavaScript files. This enables you to integrate customized functions and interfaces into the console.
For detailed information about adding custom pages, see Creating Plugins for the Cockpit User Interface on the Cockpit Project website and the Cockpit Packages section in the Cockpit Project Developer Guide.
3.3. Overriding the manifest settings in the web console Copier lienLien copié sur presse-papiers!
You can modify the RHEL web console menu structure for all users or a specific user by overriding the default manifest settings. Create an override to adjust the visibility or order of menu items.
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
You have installed the RHEL 10 web console.
For instructions, see Installing and enabling the web console.
Procedure
Override manifest settings in the
<systemd>.override.jsonfile in a text editor of your choice, for example:To edit for all users, enter:
# vi /etc/cockpit/<systemd>.override.jsonTo edit for a single user, enter:
# vi ~/.config/cockpit/<systemd>.override.json
Edit the required file with the following details:
{ "menu": { "services": null, "logs": { "order": -1 } } }-
The
nullvalue hides the services tab -
The
-1value moves the logs tab to the first place.
-
The
Restart the
cockpitservice:# systemctl restart cockpit.service