Configure YUM repository on OCI DBCS
YUM repository is not configured on Oracle Linux Database cloud service. To enable the YUM repository on DBCS follow the steps below shown below.
Step 1 : Check if yum repo is installed.
Step 2 : Navigate to /etc/yum.repos.d/ folder and check if there are any files listed
Step 3 : If repos are not listed curl to find out the OCI instance region
Step 4: Once you know the region then execute the following commands to download oracle repo and versionlock files from the Object Store
# wget https://swiftobjectstorage.<region_name>.oraclecloud.com/v1/dbaaspatchstore/DBaaSOSPatches/oci_dbaas_ol7repo -O /tmp/oci_dbaas_ol7repo# wget https://swiftobjectstorage.<region_name>.oraclecloud.com/v1/dbaaspatchstore/DBaaSOSPatches/versionlock_ol7.list -O /tmp/versionlock.list
Step 5: Move the oracle repo and versionlock files to the below locations (if the files exist, please make a backup in the /tmp directory)
Step 6: Verify the repo list
Step 7: Update yum repo and install JDK and GIT to test YUM install of softwares
For further reference please follow Doc ID # (2444552.1) That’s all folks!!
About Author:
Phani Turlapati is a Cloud Engineer at Oracle Inc. He’s been with Oracle for over 3 years. He started out at Solution engineering hub at Oracle focusing on various design solutions to help customer to value-add to their businesses. He’s a part of Database Team focusing on all things database. Prior to Oracle he had worked as Software Engineer developing application on Java Platform.
The blog is my view and is no way related to Oracle.
Feel free to comment on the above post. Your feedback is valuable!