Issue
How to activate Oracle Linux 6 ELS with an activation key?
Environment
- Oracle Linux 6 ELS
Solution
To enable the Oracle Linux 6 ELS repository on a server, follow these steps:
1. Download an installer script:
wget https://repo.cloudlinux.com/oraclelinux6-els/install-oraclelinux-els-repo.py
2. Run the installer script with one of the trial keys:
python install-oraclelinux-els-repo.py --license-key XXX-XXXXXXXXXXXX
3. The installation script registers the server in the CLN with the key, receives the token and adds the yum-repository with the token.
4. The script will create the /etc/yum.repos.d/oraclelinux-els.repo yum repository config file and add the PGP key.
4.1 To ensure that installation has been completed successfully, run the following command:
yum info curl | grep els
4.2 It should return the release of an available package and ELS repo.
Release : 55.el6.cloudlinux.ol.els6 Repo : oraclelinux6-els
5. After this, you will be able to install updates from the repository using a regular yum upgrade command.
Comments
0 comments
Please sign in to leave a comment.