Thursday, December 20, 2012

Setting up Oracle Linux 6 with public-yum for all updates

After Install Oracle Linux from the ISO or DVD image, you will need add yum repository.

Log in as user root
Download the yum repo file from http://public-yum.oracle.com

# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo


If you want, you can edit the repo file and enable other repositories, I enabled [ol6_UEK_latest] by just setting enabled=1 in the file with a text editor.
Run yum repolist to show the registered channels and you see we are including everything including the latest published RPMs.

Now you can just run
yum update


I will add this into my ISO, make it automatic.

No comments:

Post a Comment