Registering CentOS Linux 7 with the SUSE Customer Center
This guide explains how to register and update CentOS Linux 7 directly with the SUSE Customer Center. This registration method is only available with the SUSE Multi-Linux Support Lite subscription.
To register with SUSE Multi-Linux Manager, see Registering RHEL 7 or CentOS Linux 7 with SUSE Multi-Linux Manager.
To register with RMT, see Registering RHEL 7 or CentOS Linux 7 with RMT.
Copyright © 2022–2025 SUSE LLC and contributors. All rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled “GNU Free Documentation License”.
For SUSE trademarks, see https://www.suse.com/company/legal/. All third-party trademarks are the property of their respective owners. Trademark symbols (®, ™ etc.) denote trademarks of SUSE and its affiliates. Asterisks (*) denote third-party trademarks.
All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither SUSE LLC, its affiliates, the authors nor the translators shall be held liable for possible errors or the consequences thereof.
SUSE Multi-Linux Support 7 has reached the end of general support and is now in LTSS (Long Term Service Support).
If you have a SUSE Multi-Linux Support subscription but do not have an LTSS subscription, you can continue to use your systems. However, registering new RHEL 7 or CentOS Linux 7 systems with the general subscription is no longer supported.
To register new RHEL 7 or CentOS Linux 7 systems, and to continue receiving new updates for existing systems, you must use an LTSS subscription.
1 Introduction #
SUSE Multi-Linux Support is a technology and support solution for mixed Linux environments. With a SUSE Multi-Linux Support subscription, you can register and update Red Hat Enterprise Linux and CentOS Linux. Optional High Availability repositories are also available.
CentOS Stream is not supported.
This guide describes how to register directly with the SUSE Customer Center. This registration method is only available for CentOS Linux 7 with the SUSE Multi-Linux Support Lite subscription. To register Red Hat Enterprise Linux or CentOS Linux with a different SUSE Multi-Linux Support subscription, you must use SUSE Multi-Linux Manager or RMT.
Section 2, “Finding your registration code in the SUSE Customer Center”. You must have a valid registration code to register your system with the SUSE Customer Center.
Section 3, “Registering CentOS Linux 7 with the SUSE Customer Center”. SUSE provides a registration script to simplify the process of adding SUSE repositories to a non-SUSE system.
SUSE Multi-Linux Support was previously named SUSE Liberty Linux and SUSE Linux Enterprise Server with Expanded Support. Some components might still use one of these names.
2 Finding your registration code in the SUSE Customer Center #
Use this procedure to find the SUSE Multi-Linux Support registration code in the SUSE Customer Center. SUSE Multi-Linux Support subscriptions are listed under the product name SUSE Liberty Linux.
You have a SUSE Customer Center account. To create an account, see Creating a SUSE Account.
Your account is associated with an organization that has a SUSE Multi-Linux Support subscription. For more information, see Working with Organizations.
The SUSE Multi-Linux Support subscription has been activated in the SUSE Customer Center. If you still need to activate the subscription, see Activating and Managing Subscriptions.
Log in to the SUSE Customer Center.
In the sidebar on the left, navigate to
and select your organization.If you belong to more than one organization, make sure the organization you select has an active SUSE Multi-Linux Support subscription.
In the top menu, select
.Find the subscription named
SUSE Liberty Linux LTSS 7
.You can copy the registration code by clicking the
icon.
3 Registering CentOS Linux 7 with the SUSE Customer Center #
Use this procedure to register CentOS Linux 7 directly with the SUSE Customer Center. To automate the process, SUSE provides a registration script in a publicly available repository.
CentOS Stream is not supported.
This registration method is only available for CentOS Linux 7 with the SUSE Multi-Linux Support Lite subscription. To register Red Hat Enterprise Linux or CentOS Linux with a different SUSE Multi-Linux Support subscription, you must use SUSE Multi-Linux Manager or RMT.
You have a valid registration code for SUSE Multi-Linux Support Lite.
The system you want to register is running CentOS Linux 7. SUSE Multi-Linux Support Lite only supports CentOS Linux, not Red Hat Enterprise Linux.
The system you want to register has network access to the SUSE Customer Center and https://installer-updates.suse.com.
The system you want to register has the following packages installed: bash, ca-certificates, curl, rpm and yum.
Log in as either the
root
user or a user withsudo
privileges.Before you run the registration script, create a backup of
/etc/yum.repos.d/
:#
cp -r /etc/yum.repos.d/ /etc/yum.repos.d.bak
The registration script also creates a backup at
/etc/yum.repos.d.backup
, but we recommend the additional backup as an extra precaution. The script removes all files in/etc/yum.repos.d/
that start withCentOS
. If it removes any custom or third-party repositories that you still need, you can restore them from the backup.Download the registration script:
#
curl -O https://installer-updates.suse.com/SUSE/Updates/RES-REG/7-LTSS/installer/update/client-setup-mls-lite.sh
Add the SUSE Multi-Linux Support registration code to the
SCC_REG_CODE
environment variable:#
export SCC_REG_CODE="REGISTRATION_CODE"
Run the registration script:
#
sh ./client-setup-mls-lite.sh
The script performs the following tasks:
Creates a backup of
/etc/yum.repos.d/
at/etc/yum.repos.d.backup
.Removes the existing CentOS repositories from
/etc/yum.repos.d/
.Imports the CA certificate to the trust store.
Adds the
SUSE Installer Updates
repository, which provides the registration tools.Imports all required repository keys and GPG keys.
Replaces the CentOS release package with the SUSE Multi-Linux Support release package.
Upgrades yum to a version that supports accessing repositories directly with a security token.
Installs
SUSEConnect
and its dependencies.Uses
SUSEConnect
to register the system with the SUSE Customer Center.
You should see the following output:
Installed Products: ------------------------------------------ SUSE Liberty Linux release file (RES-LTSS/7/x86_64) Registered
Verify the available repositories:
#
yum repolist all
The
SUSE Installer Updates
repository and the defaultRES-7-LTSS-Updates
repository should beenabled
. You will also see optional repositories with the statusdisabled
.Tip: LTSS repository namesBASE
repositories are frozen and contain the packages from the non-LTSS repositories.LTSS
repositories contain new packages for SUSE Multi-Linux Support 7 LTSS.LH
repositories contain the High Availability packages.
If you need any of the High Availability,
BASE
,Source
orDebug
repositories, enable them using theirrepo id
. You can enable multiple repositories at once:#
yum-config-manager --enable REPO_ID1 REPO_ID2 REPO_ID3
In a
Minimal Install
of CentOS Linux, you must install yum-utils before you can useyum-config-manager
. This package is installed by default in most other installations.If you need to restore any custom or third-party repositories, copy them from the backup directory to the
/etc/yum.repos.d/
directory:#
cp /etc/yum.repos.d.backup/REPOFILE.repo /etc/yum.repos.d/
Run the update command to make sure there are no errors:
#
yum update
You can now keep your system up to date from repositories provided by SUSE Multi-Linux Support.