Máte Red Hat, ale nemáte přístup na Red Hat network a chybí vám nějaké package?
Tak můžete využít public repository Oracle.
Má instalace [oracle@test Disk1]$ cat /etc/issue Red Hat Enterprise Linux Server release 5.8 (Tikanga) Kernel \r on an \m
Stáhněte a ověřte si váš Oracle Linux GPG Key
[root@test yum.repos.d]# wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle --2015-02-08 07:58:27-- http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5 Resolving public-yum.oracle.com... 23.62.237.95, 23.62.237.86 Connecting to public-yum.oracle.com|23.62.237.95|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1397 (1.4K) [text/plain] Saving to: `/etc/pki/rpm-gpg/RPM-GPG-KEY-oracle' 100%[=============================================================================================================================================>] 1,397 --.-K/s in 0s
[root@test yum.repos.d]# gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle pub 1024D/1E5E0159 2007-05-18 Oracle OSS group (Open Source Software group) <build@oss.oracle.com> Key fingerprint = 99FD 2766 28EE DECB 5E5A F5F8 66CE D3DE 1E5E 0159 sub 1024g/D303656F 2007-05-18 [expires: 2015-05-16]
A pak již standardtě. cd /etc/yum.repos.d [root@test yum.repos.d]# wget http://public-yum.oracle.com/public-yum-el5.repo --2015-02-08 07:56:30-- http://public-yum.oracle.com/public-yum-el5.repo Resolving public-yum.oracle.com... 23.62.237.86, 23.62.237.95 Connecting to public-yum.oracle.com|23.62.237.86|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4790 (4.7K) [text/plain] Saving to: `public-yum-el5.repo'
100%[================================================================================================================>] 4,790 --.-K/s in 0.002s
2015-02-08 07:56:30 (2.84 MB/s) - `public-yum-el5.repo' saved [4790/4790]
[root@test yum.repos.d]# ls -ltr total 20 -rw-r--r-- 1 root root 254 Jan 24 2012 rhel-debuginfo.repo -rw-r--r-- 1 root root 4790 Aug 29 19:36 public-yum-el5.repo -rw-r--r-- 1 root root 190 Feb 8 07:48 redhat.repo [root@test yum.repos.d]# vi public-yum-el5.repo
vi public-yum-el5.repo [ol5_u8_base] name=Oracle Linux $releasever Update 8 installation media copy ($basearch) baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/8/base/x86_64/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle gpgcheck=1 enabled=1
Pak již update funguje [root@test ~]# yum install setarch Loaded plugins: katello, product-id, security, subscription-manager Updating certificate-based repositories. Unable to read consumer identity el5_latest 14178/14178 ol5_UEK_latest | 1.2 kB 00:00 ol5_UEK_latest/primary | 19 MB 00:03 ol5_UEK_latest: [############################################## ] 157/399