-
Notifications
You must be signed in to change notification settings - Fork 252
RegisteringClients
If you are looking to register client systems to Spacewalk Nightly, more details are available at RegisteringClientsNightly
Note: for previous versions of Spacewalk use following links
- Spacewalk 2.9 instructions are available at RegisteringClients29.
- Spacewalk 2.8 instructions are available at RegisteringClients28.
- Spacewalk 2.7 instructions are available at RegisteringClients27.
- Spacewalk 2.6 instructions are available at RegisteringClients26.
- Spacewalk 2.5 instructions are available at RegisteringClients25.
- Spacewalk 2.4 instructions are available at RegisteringClients24.
- Spacewalk 2.3 instructions are available at RegisteringClients23.
- Spacewalk 2.2 instructions are available at RegisteringClients22.
- Spacewalk 2.1 instructions are available at RegisteringClients21.
- Spacewalk 2.0 instructions are available at RegisteringClients20.
- Spacewalk 1.9 instructions are available at RegisteringClients19.
- Spacewalk 1.8 instructions are available at RegisteringClients18.
- Create a base channel within Spacewalk (Channels > Manage Software Channels > Create New Channel)
- Create an activation key (Systems > Activation Keys > Create Key) with the new base channel. When creating a registration key do not use the generate function, create a human-readable version. eg: fedora-server-channel. This makes your installation more understandable and provides greater logical consistency to the whole system. On the other hand, if you want to prevent people from getting access to your channels, letting Spacewalk to generate random activation key name is the best way to go.
Note:
rhnreg_ks
is used for registration of clients to Spacewalk. If you need to re-register a client to your Spacewalk server or change registration from one environment or server to another Spacewalk server then use the "--force" flag withrhnreg_ks
, otherwise there is no need to use "--force".
-
Install the Spacewalk client yum repository
dnf copr enable @spacewalkproject/spacewalk-2.10-client
-
Install client packages
dnf -y install rhn-client-tools rhn-check rhn-setup rhnsd dnf-plugin-spacewalk
-
Install Spacewalk's CA certificate on the server to enable SSL communication (change rpm version in this command if needed)
rpm -Uvh http://YourSpacewalk.example.com/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
-
Register your Fedora system to Spacewalk using the activation key you created earlier
rhnreg_ks --serverUrl=https://YourSpacewalk.example.org/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=<key-with-fedora-custom-channel>
Warning: If you are installing these packages on a Red Hat Enterprise Linux installation it will override some of the original base packages and you may well be invalidating your support agreement with Red Hat!
-
The latest client tools bring the upstream development to your client boxes. That means that the packages may have dependencies that are not found in core Red Hat Enterprise Linux. These dependencies can be found in EPEL. Install the Spacewalk yum repository and matching EPEL repository.
-
RHEL / SL / CentOS 6
yum install -y yum-plugin-tmprepo yum install -y spacewalk-client-repo --tmprepo=https://copr-be.cloud.fedoraproject.org/results/%40spacewalkproject/spacewalk-2.10-client/epel-6-x86_64/repodata/repomd.xml --nogpg rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
-
RHEL / SL / CentOS 7
RHEL: yum-plugin-copr is available in optional repository
yum install -y yum-plugin-tmprepo yum install -y spacewalk-client-repo --tmprepo=https://copr-be.cloud.fedoraproject.org/results/%40spacewalkproject/spacewalk-2.10-client/epel-7-x86_64/repodata/repomd.xml --nogpg rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
-
-
Install client packages
yum -y install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
-
Install Spacewalk's CA certificate on the server to enable SSL communication (change rpm version in this command if needed)
rpm -Uvh http://YourSpacewalk.example.com/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
-
Register your system to Spacewalk using the activation key you created earlier
rhnreg_ks --serverUrl=https://YourSpacewalk.example.org/XMLRPC --sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --activationkey=<key-with-rhel-custom-channel>
Do you want to contribute to this wiki? See page WikiContribute for more info.