Issue
How to activate CentOS 6 ELS with an activation key?
Environment
- CentOS 6 ELS
Solution
1- To enable the CentOS 6 ELS repository on a server, follow these steps:
Disable the original centos 6 repos:
yum-config-manager --disable base
yum-config-manager --disable extras
yum-config-manager --disable updates
2- Download an installer script:
wget https://repo.cloudlinux.com/centos6-els/install-centos6-els-repo.sh
3- Run the installer script with keys:
sh install-centos6-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.
4- Verify that the installation was successful.
To ensure the installation has been completed successfully, run the following command:
yum info els-define
Example:
[els@centos6 ~]# yum info els-define
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Available Packages
Name : els-define
Arch : x86_64
Version : 1
Release : 1.0.1.el6
Size : 2.6 k
Repo : centos6-els
Summary : CentOS Server simulate release file
License : GPLv2
Description : CentOS Server simulate els release files
Useful links
https://docs.tuxcare.com/endless-lifecycle-support/#centos-6-els
Comments
0 comments
Please sign in to leave a comment.