Chapter 2. Installing standalone Hammer
You can install Hammer on a host running RHEL that has no Satellite Server installed, and use it to connect from the host to a remote Satellite.
Prerequisites
- Ensure that you register the host to Satellite Server or Capsule Server.
If you are installing on Red Hat Enterprise Linux 9, ensure that the following repositories are enabled and synchronized on Satellite Server:
- rhel-9-for-x86_64-baseos-rpms
- rhel-9-for-x86_64-appstream-rpms
- satellite-utils-6.16-for-rhel-9-x86_64-rpms
If you are installing on Red Hat Enterprise Linux 8, ensure that the following repositories are enabled and synchronized on Satellite Server:
- rhel-8-for-x86_64-baseos-rpms
- rhel-8-for-x86_64-appstream-rpms
- satellite-utils-6.16-for-rhel-8-x86_64-rpms
Procedure
- Enable the required repositories on the host.
If you are installing on Red Hat Enterprise Linux 8, enable the following module:
# dnf module enable satellite-utils:el8
Install Hammer CLI:
# dnf install satellite-cli
Set the
:host:
entry in the/etc/hammer/cli.modules.d/foreman.yml
file to the Satellite URL::host: 'https://satellite.example.com'
Additional resources
- Enabling repositories on hosts in Managing hosts
- Registering Hosts in Managing hosts
- Synchronizing Repositories in Managing content