Friday, June 29, 2012

Creating the Public Yum repositiry for Oracle Linux 5

   


To Create the Public yum please we need to use the wget option to get the .repo file from internet .. so please check the net connection before running the command

[root@fahtestdb ~]# cd /etc/yum.repos.d
[root@fahtestdb yum.repos.d]# ls
[root@fahtestdb yum.repos.d]# wget http://public-yum.oracle.com/public-yum-el5.repo
--2012-06-30 01:01:03--  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 0.001s

2012-06-30 01:01:06 (4.58 MB/s) - `public-yum-el5.repo' saved [3974/3974]



By using the Public Yum we can install the necessry packages through the internet from the Oracle repository Servers

[root@fahtestdb yum.repos.d]# yum install vnc*
Loaded plugins: security
el5_latest                                                                                                                                       | 1.1 kB     00:00
el5_latest/primary                                                                                                                               | 9.4 MB     00:37
el5_latest                                                                                                                                                    9130/9130
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vnc.x86_64 0:4.1.2-14.el5_6.6 set to be updated
---> Package vnc-server.x86_64 0:4.1.2-14.el5_6.6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                                Arch                               Version                                         Repository                              Size
========================================================================================================================================================================
Updating:
 vnc                                    x86_64                             4.1.2-14.el5_6.6                                el5_latest                             159 k
 vnc-server                             x86_64                             4.1.2-14.el5_6.6                                el5_latest                             2.0 M

Transaction Summary
========================================================================================================================================================================
Install       0 Package(s)
Upgrade       2 Package(s)

Total download size: 2.2 M
Is this ok [y/N]: Y
Downloading Packages:
(1/2): vnc-4.1.2-14.el5_6.6.x86_64.rpm                                                                                                           | 159 kB     00:00
(2/2): vnc-server-4.1.2-14.el5_6.6.x86_64.rpm                                                                                                    | 2.0 MB     00:32
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                    64 kB/s | 2.2 MB     00:34
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
el5_latest/gpgkey                                                                                                                                | 1.4 kB     00:00
Importing GPG key 0x1E5E0159 "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>" from http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
Is this ok [y/N]: Y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : vnc-server                                                                                                                                       1/4
  Updating       : vnc                                                                                                                                              2/4
  Cleanup        : vnc-server                                                                                                                                       3/4
  Cleanup        : vnc                                                                                                                                              4/4

Updated:
  vnc.x86_64 0:4.1.2-14.el5_6.6                                                   vnc-server.x86_64 0:4.1.2-14.el5_6.6

Complete!
[root@fahtestdb yum.repos.d]#

No comments:

Post a Comment