Pro instalaci software Oracle je potřeba doinstalovat knihovnu libXp, jinak vám nepujde spustit installer.
A to jak 32b tak 64b v případě, že máte 64b OS.
Z většiny serverů však nemáte přímý přístup do internetu a tak se musí nastavit proxy.
[root@server01 ~]# cat /etc/issue
Oracle Linux Server release 5.6
Kernel \r on an \m
Pro WGET:
[root@server01 ~]# cd /etc/yum.repos.d/
[root@server01 yum.repos.d]# wget http://public-yum.oracle.com/public-yum-el5.repo
–2011-10-06 06:42:29– 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… failed: Connection timed out.
Retrying.
–2011-10-06 06:42:51– (try: 2) http://public-yum.oracle.com/public-yum-el5.repo
Connecting to public-yum.oracle.com|141.146.44.34|:80… failed: Connection timed out.
R
etrying.
Editace souboru /root/.bash_profile
# proxy for wget
export http_proxy=http://10.x.x.x:8080
export ftp_proxy=http://10.x.x.x:8080
[root@server01 ~]# source .bash_profile
[root@server01 yum.repos.d]# wget http://public-yum.oracle.com/public-yum-el5.repo
–2011-10-06 06:51:45– http://public-yum.oracle.com/public-yum-el5.repo
Connecting to 10.x.x.x:8080… connected.
Proxy request sent, awaiting response… 200 OK
Length: 2533 (2.5K) [text/plain]
Saving to: `public-yum-el5.repo‘
100%[======================================================>] 2,533 –.-K/s in 0.1s
2011-10-06 06:51:46 (23.7 KB/s) – `public-yum-el5.repo‘ saved [2533/2533]
Pro YUM:
[root@server01 yum.repos.d]# yum update
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Update Process
No Packages marked for Update
Editace souboru /etc/yum.conf
# proxy for yum
export http_proxy=http://10.x.x.x:8080
export ftp_proxy=http://10.x.x.x:8080
[root@server01 yum.repos.d]# yum update
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
ol5_u6_base | 1.1 kB 00:00
ol5_u6_base/primary | 1.5 MB 00:07
ol5_u6_base 4551/4551
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update
[root@server01 yum.repos.d]# yum install libXp
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
—> Package libXp.x86_64 0:1.0.0-8.1.el5 set to be updated
–> Finished Dependency Resolution
Dependencies Resolved
================================================================================================
Package Arch Version Repository Size
================================================================================================
Installing:
libXp i386 1.0.0-8.1.el5 ol5_u6_base 22 k
libXp x86_64 1.0.0-8.1.el5 ol5_u6_base 23 k
Transaction Summary
================================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)
Total download size: 45 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): libXp-1.0.0-8.1.el5.i386.rpm | 22 kB 00:00
(2/2): libXp-1.0.0-8.1.el5.x86_64.rpm | 23 kB 00:00
————————————————————————————————
Total 49 kB/s | 45 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
ol5_u6_base/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
Installing : libXp 1/2
Installing : libXp 2/2
Installed:
libXp.i386 0:1.0.0-8.1.el5 libXp.x86_64 0:1.0.0-8.1.el5
Complete!