Introduction
This tutorial will guide you through setting up a RMT Server with the RGS Customer Center
Overview / PreRequisites
We will be building a new RMT server and connecting it to the RGS Customer Center. You will need your Registration Codes and Organization Credentials from the RGS delivery email
Steps
- You'll want to download the SLES 15SP6 ISO (pick a 'QU' version, it's the latest updated, 'GM' is the very first in the Service Pack lifecycle).
- Spin it up on a VM with a good amount of storage
- 200GB+ recommended, and you must ensure you have the ability to expand later if more storage is required
- Skip registration during the ISO install
- Spin it up on a VM with a good amount of storage
- After installation, register the base system, using the Registration Codes at the bottom of your RGS Delivery email.
-
Log into your system via SSH. Run the following command:
SUSEConnect --url https://rgscc.ranchergovernment.com --write-config -r <REGCODE FROM RGS>
-
Refresh zypper
zypper ref
-
Update your system
zypper up
-
- Once the base OS is registered and updated, install rmt-server on it
zypper install rmt-server yast2-rmt nginx mariadb
- Once rmt-server and it's dependencies are installed, configure rmt-server itself
yast rmt
- Note, when you input the OrgCreds, it'll fail (because it still wants to connect scc.suse.com). That's expected. Ignore those errors and continue
- Complete the rest of the setup
- Switch rmt-server over to the RGS Customer Center
-
Edit/Adjust the following section of '/etc/rmt.conf', and add the 'host:' line under the 'scc' section
scc:
username: <YOUR RGS ORG CRED USERNAME>
password: <YOUR RGS ORG CRED PASSWORD>
host: https://rgscc.ranchergovernment.com/connect -
Restart rmt-server and sync the database for updated information
systemctl restart rmt-server ; rmt-cli sync
-
- You can now enable the products that you need:
rmt-cli products list --all
rmt-cli products enable $ID $ID $ID $ID
rmt-cli mirror
Comments
0 comments
Article is closed for comments.