To be able to administer a Linux host through Enterprise Manager, you need to install YAST and EM Wrapper Scripts. These script can be downloaded from http://oss.oracle.com/projects/yast If our server has internet access, we can also use YUM repository to install these software.
To be able to use YUM, we need to set up the repository:
1 2 |
cd /etc/yum.repos.d wget http://public-yum.oracle.com/public-yum-el5.repo |
For more information about public YUM server please visit: http://public-yum.oracle.com
After you downloaded the repo file, open it with an editor and change enable=0 to enable=1 for the repositories which is suitable for your Oracle Linux edition. Because I use OL 5.6, I’ll enable ol5_u6_base, el5_addons, el5_oracle_addons:
1 2 3 4 5 6 |
[ol5_u6_base] name=Oracle Linux $releasever - U6 - $basearch - base baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/6/base/$basearch/ gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5 gpgcheck=1 enabled=1 |
Then we install yast2-all package:
1 |
yum install yast2-all |
After we install the packages, we will be able to administrate our Oracle Linux server through Enterprise Manager Grid Control: