A fast install using an Oracle-validated or an Oracle-rdbms-server 11gR2 preinstall package
Oracle Enterprise Linux 5-6U should be installed prior to the following steps. The installation steps shown here are the same as those in rac1.
|
1 2 3 4 5 6 7 |
cd /etc/yum.repos.d wget http://public-yum.oracle.com/public-yum-el5.repo wget http://public-yum.oracle.com/public-yum-ol6.repo public-yum-el5.repo enable=0 ---> enable=1 « Activating the repository in this file |
|
1 2 3 4 5 |
yum install oracle-validated alternatively yum install oracle-rdbms-server-11gR2-preinstall |
If the public repository isnt working, we can create a local repository
|
1 2 3 4 5 6 7 |
mkdir /SetUp/repo cp rpm_packages /SetUp/repo rpm -ivh createrepo-0.4.11-3.el5.noarch.rpm #Located on this CD createrepo /SetUp/repo #New rpms should be run as soon as they have been added |
|
1 2 3 |
cd /etc/yum.repos.d/ vi local.repo |
|
1 2 3 4 5 6 7 |
[local_repo] enabled = 1 name = lokal repository baseurl = file:///SetUp/repo/gpcheck = 0 |
The following lines should be added to the /home/oracle/.bash_profile file.
|
1 2 3 4 5 6 7 8 9 |
ORACLE_BASE=/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/10G; export ORACLE_HOME ORACLE_SID=hidiv; export ORACLE_SID PATH=/usr/sbin:$PATH; export PATH PATH=$ORACLE_HOME/bin:$PATH; export PATH |
The remaining item on the to-do list:
|
1 |
sh runInstaller « running this file, after which the installation steps are the same as those shown in the link |
Kategori seçin...
