You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OSMS: How to Add a 3rd Party Repository When OSMS Is used

edited May 29, 2024 1:33PM in Linux

APPLIES TO:

Linux OS – Version Oracle Linux 7.0 to Oracle Linux 9.0 [Release OL8 to OL9]

Linux x86_64 on Oracle Public Cloud


GOAL:

This document describes how to add a 3er party repository to install packages not provided by Oracle.


SOLUTION:

Tell OSMS to ignore repositories within ignored_repos.conf file

root ~] echo "google_repo.repo" > /etc/oracle-cloud-agent/plugins/osms/ignored_repos.confroot ~] systemctl restart oracle-cloud-agent.serviceroot ~] systemctl status oracle-cloud-agent.serviceroot ~] vim /etc/yum.repos.d/google_repo.reporoot ~] cat /etc/yum.repos.d/google_repo.repo[google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpgcheck=0gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pubroot ~] sleep 300 root ~] yum repolistThis system is receiving updates from OSMS server.repo id                                            repo namegoogle-chrome                                      google-chromeol8_addons-x86_64                                  Oracle Linux 8 Addons (x86_64)ol8_appstream-x86_64                               Oracle Linux 8 Application Stream (x86_64)ol8_baseos_latest-x86_64                           Oracle Linux 8 BaseOS Latest (x86_64)ol8_developer-x86_64                               Oracle Linux 8 Development Packages (x86_64)ol8_developer_epel-x86_64                          Oracle Linux 8 EPEL Packages for Development (x86_64)ol8_developer_epel_modular-x86_64                  Oracle Linux 8 EPEL Modular (x86_64)ol8_ksplice-x86_64                                 Ksplice for Oracle Linux 8 (x86_64)ol8_mysql80_community-x86_64                       MySQL 8.0 for Oracle Linux 8 (x86_64)ol8_mysql80_connectors_community-x86_64            MySQL 8.0 Connectors Community for Oracle Linux 8 (x86_64)ol8_mysql80_tools_community-x86_64                 MySQL 8.0 Tools Community for Oracle Linux 8 (x86_64)ol8_oci-x86_64                                     Oracle Linux 8 OCI Packages (x86_64)ol8_oci_included-x86_64                            Oracle Software for OCI users on Oracle Linux 8 (x86_64)ol8_uekr6-x86_64                                   Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!