![]() | Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1461818.1 : How to use a separate Linux machine as your RPM repository to download and apply RPM's on the Oracle Database Appliance (ODA)
Instruction on setting up a RPM repository on a separate Linux machine and apply RPM's on the Oracle Database Appliance (ODA) Applies to:Oracle Appliance Kit - Version 2.2.0.0 and laterOracle Database Appliance - Version Not Applicable and later Linux x86-64 GoalUse a separate Linux machine as your RPM repository to download and apply RPMs on the Oracle Database Appliance (ODA) FixWarning: To use a separate Linux machine as your RPM repository to download, copy and apply RPMs on the Oracle Database Appliance (ODA), you must have a Linux box with same kernel (2.6.32) and architecture (x86_64).On the designated separate Linux server, execute the following 4 steps to download RPMs.
1. Create a repository file in /etc/yum.repos.d/ and enable the repo. Download and copy the appropriate yum configuration file in place, by running the following commands as root:
The follow command will create the repository in the /etc/yum.repos.d directory. # cd /etc/yum.repos.d # wget http://public-yum.oracle.com/public-yum-el5.repo
--2012-05-07 23:54:26-- http://public-yum.oracle.com/public-yum-el5.repo Resolving public-yum.oracle.com... 141.146.44.34 Connecting to public-yum.oracle.com|141.146.44.34|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3974 (3.9K) [text/plain] Saving to: `public-yum-el5.repo'
100%[===================================================================================================================>] 3,974 --.-K/s in 0s
2012-05-07 23:54:26 (9.39 MB/s) - `public-yum-el5.repo' saved [3974/3974]
2. Download and install the yum-downloadonly RPM option: # yum install yum-downloadonly
3. Ensure Yum-downloadonly plug-in is enabled (i.e. enabled=1) #cat /etc/yum/pluginconf.d/downloadonly.conf [main] enabled=1
If the file is not as follows, modify the file and ensure enable=1
4. To download a new RPM use the following:
# yum install --downloadonly --downloaddir=<directory_Path> <rpm_name>
This command will download only the named RPM (<rpm_name>) to the directory path (<directory_Path>) specified.
# yum install --downloadonly --downloaddir=/tmp sendmail-doc -y
Once you have downloaded the RPM copy it to Oracle Database Appliance (ODA) and install. (i.e.) scp <RPM_NAME> root@<ODA_MACHINE>:/tmp/
To install a rpm on the Oracle Database Appliance execute rpm -ivh [/PATH/RPM_NAME] # rpm -ivh /tmp/sendmail-doc-8.13.8-8.1.el5_7.x86_64.rpm
If there is a need to Remove a RPM on the Oracle Database Appliance execute # rpm -ev sendmail-doc
To download and review a complete list of RPMs install on the Oracle Database Appliance (oak 2.2.0.0.0) base release click here.
If you want to directly download RPMs on a Oracle Database Appliance follow Note ID 1461798.1 How to download Linux RPMs directly on the Oracle Database Appliance (ODA) References<NOTE:1461798.1> - How to download Linux RPM's directly on the Oracle Database Appliance (ODA)Attachments This solution has no attachment |
||||||||||||
|