Issue
How to activate CentOS 6 ELS with an activation key?
Environment
- CentOS 6 ELS
Solution
To enable the CentOS 6 ELS repository on a server, follow these steps:
1. Download an installer script:
wget https://repo.cloudlinux.com/centos6-els/install-centos6-els-repo.py
2. Run the installer script with an activation key:
python install-centos6-els-repo.py --license-key XXXX-XXXXXXXXXXXX
3. The script will create the/etc/yum.repos.d/centos6-els.repoyum repository config file and install the centos-els-release package containing the repository PGP key.
3.1. To ensure that installation has been completed successfully, run the following command:
rpm -q centos-els-release
It should return the installed package name and version:
centos-els-release-6-6.10.1.el6.x86_64
4. After this, you will be able to install updates from the repository using a regular yum upgrade command.
yum update sudo
Useful links
Comments
0 comments
Please sign in to leave a comment.