Questo contenuto non è disponibile nella lingua selezionata.

Chapter 3. Installing Discovery containers with the connected installation process


You use the connected installation process when you want to run Discovery from a system that has internet access, also commonly referred to as a connected or online environment. During the Discovery connected installation process, you complete all steps from the system that you intend to use as the Discovery server. You will enter commands to obtain, install, configure the environment for, and start the Discovery containers from the container images on the Red Hat Ecosystem Catalog website.

The connected installation process uses Podman to perform the container installation tasks for the Discovery server. You will need sudo permissions to install Podman on your system. However, you must not run the Discovery application using sudo or as the root user.

Prerequisites

  • Before you begin, ensure that all hardware, software, and environment prerequisites are installed and configured. For more information about the prerequisites, see Installing prerequisites for Discovery.

3.1. Installing the Discovery database and server container images for the connected installation

During the connected installation of the Discovery database and server container images, you obtain the Discovery containers from the container images on the Red Hat Ecosystem Catalog website, configure the containers and configure Discovery, and start the containers.

Prerequisites

  • The system on which you are downloading the Discovery container images must be connected to the internet.
  • That system must be able to connect to the Red Hat Ecosystem Catalog.

Procedure

To get the Discovery installer package, use the following steps:

  1. Run the following commands to get the Discovery installer.

    sudo subscription-manager repos --enable <repository>
    sudo dnf install -y discovery-installer
    Note

    In the preceding command, replace <repository> with the following values:

    • For Red Hat Enterprise Linux 8, replace <repository> with discovery-1-for-rhel-8-x86_64-rpms
    • For Red Hat Enterprise Linux 9, replace <repository> with discovery-1-for-rhel-9-x86_64-rpms
  2. Run the following commands to log in to Podman and to run the Discovery installer.

    podman login registry.redhat.io
    discovery-installer install
    Note

    In the previous procedure, when you run the discovery-installer install command for the first time, you will be prompted to enter a server password.

  3. Start the Discovery application.

    systemctl --user start discovery-app
    Note

    The first time you start Discovery, the initial startup procedure for the application might take a long time to complete. To obtain more verbose data during the initial startup of the Discovery application, use the following commands:

    systemctl --user status discovery-app
    podman ps -a
    journalctl -t discovery-app
    journalctl -t discovery-server
    podman logs --since 1m -f discovery-server

3.2. Changing the Discovery password

You can change the Discovery server password, and it is possible that security standards at your organization might require that you change it. At a minimum, you should change the password value to align with common security best practices.

The Discovery administrator password must meet the following requirements:

  • at least ten characters
  • cannot be a word found in the dictionary
  • cannot be the previously provided Discovery default password
  • cannot be numeric only

To reset the administrator password, run the following command and follow the prompts to enter the new password:

discovery-installer create-server-password

Follow the prompts to change and verify the password. If Discovery is running when you change the password, you must restart Discovery for the new password to take effect.

To restart Discovery, run the following command:

systemctl --user restart discovery-app
Important

Red Hat does not provide support for lost passwords for Discovery, and Discovery does not offer a method to recover passwords; however, you can use this procedure to change your password.

3.3. Setting other post-installation preferences

The following steps are optional, but can improve the efficiency and usability of your Discovery application.

  • To remain logged in to Discovery, use the following command:

    loginctl enable-linger $USER
  • If you want to access Discovery on another computer in the same network, you must allow traffic on TCP port 9443 through any firewall to or on the system that is running the Discovery server.
Red Hat logoGithubRedditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita ilBlog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

© 2024 Red Hat, Inc.