Search

4.3.7. Running the Installation Script

download PDF
The following procedure starts the installation procedure for Red Hat Satellite using an External Database. Ensure to run this procedure as the root user.

Warning

The installation program updates all required packages, possibly including the kernel.

Procedure 4.22. Running the Installation Program

  1. Run the installation program from the /media/cdrom/ directory. To install to an external PostgreSQL database:
    # ./install.pl --external-postgresql --disconnected
    
    Or to install to an external Oracle database:
    # ./install.pl --external-oracle --disconnected
    

    Note

    The --disconnected option is required to prevent the installation program attempting to connect to Red Hat Network.
  2. The script first verifies the prerequisites Chapter 2, Requirements are met before proceeding with the installation.
    * Starting the Red Hat Satellite installer.
    * Performing pre-install checks.
    * Pre-install checks complete.  Beginning installation.
    
  3. The script performs host registration with Red Hat Subscription Manager (if not already done), installs and updates all required packages, and populates the database on the external database host.
    If the installer prompts with the question, "Do you want the installer to resolve dependencies [y/N]?", reply y.
    * RHN Registration.
    ** Registration: Disconnected mode.  Not registering with RHN.
    * Checking for uninstalled prerequisites.
    ** Checking if yum is available ...
    There are some packages from Red Hat Enterprise Linux that are not part
    of the @base group that Satellite will require to be installed on this
    system. The installer will try resolve the dependencies automatically.
    However, you may want to install these prerequisites manually.
    Do you want the installer to resolve dependencies [y/N]? y
    * Installing RHN packages.
    Warning: yum did not install the following packages:
    	OpenIPMI
    	OpenIPMI-libs
    	lm_sensors-libs
    	net-snmp-libs
    * Now running spacewalk-setup.
    * Setting up SELinux..
    ** Database: Setting up database connection for PostgreSQL backend.
    Database "rhnschema" does not exist
    ** Database: Installing the database:
    ** Database: This is a long process that is logged in:
    ** Database:   /var/log/rhn/install_db.log
    Database name: mydb
    Database user: mydbuser
    Database password:  mydbpassword
    Local addresses to listen on (comma-separated, RETURN for all): 127.0.0.1
    Remote addresses to allow connection from (address/netmask format, comma-separated): 192.168.1.10/32
    Initializing database:                                     [  OK  ]
    Starting postgresql service:                               [  OK  ]
    *** Progress: ###########################
    
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.