1) Insert OEL 6.4 cdrom
2) Mount it
#mkdir /mnt/cdrom (only for first time, if its already there its not required)
#mount -t iso9660 /dev/cdrom /mnt/cdrom
#ls /mnt/cdrom (To verify the listing )
3) #cd /etc/yum.repos.d/
4) Take the backup of existing file -> public-yum-ol6.repo
#cp -p public-yum-ol6.repo public-yum-ol6.repo_bkp
#vi public-yum-ol6.repo (and change below)
Go to the last part under and changes as below.
------------------------
[ol6_UEK_latest]
name=Unbreakable Enterprise Kernel for Oracle Linux 6
baseurl=file:///mnt/cdrom
gpgkey=file:///mnt/cdrom//RPM-GPG-KEY
gpgcheck=1
enabled=1
-------------------------
Search for string enabled and all other entries should be 0 (enabled=0)
5) #yum repolist ( To verify whether its working fine)
6) Verify the installed groups
#yum grouplist | more
And check which one you wanted to install, it will show Installed and Available Groups and also Available Language Groups.
7) Install the lets say Development tools (Here its case sensitive and should match exactly as you will get the output from #yum grouplist | more)
#yum groupinstall 'Development tools'
2) Mount it
#mkdir /mnt/cdrom (only for first time, if its already there its not required)
#mount -t iso9660 /dev/cdrom /mnt/cdrom
#ls /mnt/cdrom (To verify the listing )
3) #cd /etc/yum.repos.d/
4) Take the backup of existing file -> public-yum-ol6.repo
#cp -p public-yum-ol6.repo public-yum-ol6.repo_bkp
#vi public-yum-ol6.repo (and change below)
Go to the last part under and changes as below.
------------------------
[ol6_UEK_latest]
name=Unbreakable Enterprise Kernel for Oracle Linux 6
baseurl=file:///mnt/cdrom
gpgkey=file:///mnt/cdrom//RPM-GPG-KEY
gpgcheck=1
enabled=1
-------------------------
Search for string enabled and all other entries should be 0 (enabled=0)
5) #yum repolist ( To verify whether its working fine)
6) Verify the installed groups
#yum grouplist | more
And check which one you wanted to install, it will show Installed and Available Groups and also Available Language Groups.
7) Install the lets say Development tools (Here its case sensitive and should match exactly as you will get the output from #yum grouplist | more)
#yum groupinstall 'Development tools'
No comments:
Post a Comment