Issue
How to activate CentOS 7 ELS with an activation key?
Environment
- CentOS 7 ELS
Solution
To enable the CentOS 7 ELS repository on a server, follow these steps:
1- Download an installer script:
wget https://repo.tuxcare.com/centos7-els/install-centos7-els-repo.sh
2- Run the installer script with keys:
sh install-centos7-els-repo.sh --license-key XXXX-XXXXXXXXX
The installation script registers a server in CLN with the key and adds a PGP key to the server.
3- Verify that the installation was successful.
To ensure the installation has been completed successfully, run the following command:
yum info els-define
Example:
[els@centos7 ~]# yum info els-define
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
Name : els-define
Arch : x86_64
Version : 1
Release : 1.0.4.el7
Size : 52
Repo : installed
From repo : centos7-els
Summary : CentOS Server els-release file
License : GPLv2
Description : CentOS Server els-release file
#CentOS 8 ELS
Useful links
https://docs.tuxcare.com/extended-lifecycle-support/#centos-7-els
Comments
0 comments
Please sign in to leave a comment.