In the user-managed OCI compartments, the compute instances are behind a proxy. To use the proxy, set the following environment variables:
export http_proxy=www-proxy-ash7.us.oracle.com:80
export https_proxy=www-proxy-ash7.us.oracle.com:80
or
export http_proxy=www-proxy-adcq7.us.oracle.com:80
export https_proxy=www-proxy-adcq7.us.oracle.com:80
or
export http_proxy=$(curl -s http://wpad.us.oracle.com/wpad.dat | grep "proxies =" | sed 's/PROXY/\n/g' | grep "www*" | sed 's/;.*$//g' | sed 's/^ //' | awk 'NR==1')
Disable the oracle-cloud-agent and leave it off:
systemctl stop oracle-cloud-agent.service
systemctl disable oracle-cloud-agent.service
The yum repos may have been renamed in /etc/yum.repos.d/ to *.osms-backup. To rename them back to their proper names use:
rename -v repo.osms-backup repo *.osms-backup
Make sure the repo list shows up:
yum repolist
Wget may not work to install a repo, so scp it from your laptop.
SQLcl fails on GPG key check. Try:
sudo yum install -y --nogpgcheck sqlcl
Node.js
yum install nodejs
If problems occur, try NVM
Install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
exit #exit and re-enter terminal
Install node:
nvm install node