# cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-el5.repoyum install dkms
Got an error:"http://uln-internal.oracle.com/yum/EnterpriseLinux/EL5/addons/i386/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: el5_addons. Please verify its path and try again
"
Fixed this error by removing the other two configuratin files under /etc/yum.repos.d directory. The other configuration files come with the pre-built VM and they contain the yum oracle internal link which does not allow people who are not working in the Oracle Enviroment to access.Then by googling, realized that oracle linux does not use dkms so stopped trying to install dkms.How to change user to root after log in?1) Change user to root after login: su -root. Or simply login as root for easy installation and viewing files.
No comments:
Post a Comment