Instalação automática de RPMs para o Oracle

O pacote oracle-validated é um RPM que faz a instalação de todos os pacotes necessários para o Oracle Database, facilitando o processo.

Encontrei em alguns Blogs que este pacote também corrige os parâmetros de kernel do Linux e adiciona os usuários e grupos necessários, mas isto não aconteceu em meu sistema (o usuário oracle não foi criado, e o arquivo sysctl.conf não foi alterado). Se bem que utilizei no CentOS, e não no OEL, que é para onde este pacote foi feito. Os sistemas são tecnicamente iguais, mas pode ser uma implementação intencional da Oracle.

http://oss.oracle.com/el5/oracle-validated/

[root@MySQL02 ~]# yum localinstall oracle-validated-1.0.0-22.el5.i386.rpm
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining oracle-validated-1.0.0-22.el5.i386.rpm: oracle-validated-1.0.0-22.el5.i386
Marking oracle-validated-1.0.0-22.el5.i386.rpm to be installed
Loading mirror speeds from cached hostfile
* addons: centos.pop.com.br
* base: centos-mirror.hostdime.com.br
* extras: centos-mirror.hostdime.com.br
* updates: centos-mirror.hostdime.com.br
Resolving Dependencies
--> Running transaction check
---> Package oracle-validated.i386 0:1.0.0-22.el5 set to be updated
--> Processing Dependency: compat-db for package: oracle-validated
--> Processing Dependency: compat-gcc-34 for package: oracle-validated
--> Processing Dependency: compat-gcc-34-c++ for package: oracle-validated
--> Processing Dependency: compat-libstdc++-33 for package: oracle-validated
--> Processing Dependency: libXp for package: oracle-validated
--> Processing Dependency: libaio-devel for package: oracle-validated
--> Processing Dependency: sysstat for package: oracle-validated
--> Processing Dependency: unixODBC for package: oracle-validated
--> Processing Dependency: unixODBC-devel for package: oracle-validated
--> Running transaction check
---> Package compat-db.i386 0:4.2.52-5.1 set to be updated
---> Package compat-gcc-34.i386 0:3.4.6-4 set to be updated
---> Package compat-gcc-34-c++.i386 0:3.4.6-4 set to be updated
---> Package compat-libstdc++-33.i386 0:3.2.3-61 set to be updated
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
---> Package libaio-devel.i386 0:0.3.106-5 set to be updated
---> Package sysstat.i386 0:7.0.2-3.el5_5.1 set to be updated
---> Package unixODBC.i386 0:2.2.11-7.1 set to be updated
---> Package unixODBC-devel.i386 0:2.2.11-7.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================
Package                       Arch           Version                    Repository                                     Size
=============================================================================================================================
Installing:
oracle-validated              i386           1.0.0-22.el5               /oracle-validated-1.0.0-22.el5.i386            43 k
Installing for dependencies:
compat-db                     i386           4.2.52-5.1                 base                                          1.7 M
compat-gcc-34                 i386           3.4.6-4                    base                                          4.1 M
compat-gcc-34-c++             i386           3.4.6-4                    base                                           11 M
compat-libstdc++-33           i386           3.2.3-61                   base                                          232 k
libXp                         i386           1.0.0-8.1.el5              base                                           23 k
libaio-devel                  i386           0.3.106-5                  base                                           12 k
sysstat                       i386           7.0.2-3.el5_5.1            updates                                       170 k
unixODBC                      i386           2.2.11-7.1                 base                                          832 k
unixODBC-devel                i386           2.2.11-7.1                 base                                          739 k
Transaction Summary
=============================================================================================================================
Install      10 Package(s)
Upgrade       0 Package(s)
Total size: 19 M
Total download size: 19 M
Is this ok [y/N]: Y
Downloading Packages:
(1/9): libaio-devel-0.3.106-5.i386.rpm                                                                |  12 kB     00:00
(2/9): libXp-1.0.0-8.1.el5.i386.rpm                                                                   |  23 kB     00:00
(3/9): sysstat-7.0.2-3.el5_5.1.i386.rpm                                                               | 170 kB     00:01
(4/9): compat-libstdc++-33-3.2.3-61.i386.rpm                                                          | 232 kB     00:00
(5/9): unixODBC-devel-2.2.11-7.1.i386.rpm                                                             | 739 kB     00:01
(6/9): unixODBC-2.2.11-7.1.i386.rpm                                                                   | 832 kB     00:03
(7/9): compat-db-4.2.52-5.1.i386.rpm                                                                  | 1.7 MB     00:06
(8/9): compat-gcc-34-3.4.6-4.i386.rpm                                                                 | 4.1 MB     00:25
(9/9): compat-gcc-34-c++-3.4.6-4.i386.rpm                                                             |  11 MB     00:42
-----------------------------------------------------------------------------------------------------------------------------
Total                                                                                        228 kB/s |  19 MB     01:25
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Public key for oracle-validated-1.0.0-22.el5.i386.rpm is not installed
[root@MySQL02 ~]# cat /etc/passwd | grep oracle
[root@MySQL02 ~]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
[root@MySQL02 ~]#

Leave a Reply

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Esse site utiliza o Akismet para reduzir spam. Aprenda como seus dados de comentários são processados.