I tried to install Oracle11gR2 under CenOSs5.5 in VMware. I thought it was simple, but I found many problems.
I tried to install Oracle 11g R2 under CenOS s5.5 in VMware. I thought it was simple, but I found many problems.
I tried to install Oracle 11g R2 under CenOS s5.5 in VMware. I thought it was simple, but I found many problems.
Installation steps:
1. check the corresponding rpm package
It doesn't matter if the check is complete. It will check the installation of oracle.
According to the official package CHECK, the version can only be high or not low.
The following or later version of packages for Oracle Linux 4 and Red Hat Enterprise Linux 4 shoshould be installed:
Binutils-2.15.92.0.2
Compat-libstdc ++-33-3.2.3
Elfutils-libelf-0.97
Elfutils-libelf-devel-0.97
Gcc-3.4.6
Gcc-c ++-3.4.6
Glibc-2.3.4-2.41
Glibc-common-2.3.4
Glibc-devel-2.3.4
Glibc-headers-2.3.4
Libaio-devel-0.3.105
Libaio-0.3.105
Libgcc-3.4.6
Libstdc ++-3.4.6
Libstdc +-devel-3.4.6
Make-3.80
Numactl-0.6.4.i386
Pdksh-5.2.14
Sysstat-5.0.5unixODBC-2.2.14-11.el6.i686 or later
UnixODBC-devel-2.2.14-11.el6.i686 or later
Note that the elfutils-libelf-devel-0.97 package installation is a bit problematic, this package and its corresponding static package is dependent on each other, need to use rpm-ivh Package 1 package 2 command to install together.
2. Add users and user groups (I will not describe them in detail)
Groupadd oinstall
Groupadd dba
Useradd-g oinstall-G dba oracle
3. For details about how to modify the Kernel Parameters, see online or using ing Kernel Parameters.
4. Remote display of putty
To remotely execute oracle Installation, you must find a way to display the installation interface. Xming is used here, And Xming is installed on my local computer (WIN7), all of which are default.
Putty settings, find connection -- SSH--X11 Enable X11 forwarding this to hook up, next select MIT-Magic-Cookie-1
Then, log on as the root user. First, echo $ DISPLAY to see what the environment variable of DISPLAY is configured?
Here I directly modify export DISPLAY = Local (WIN7) IP: 0
In this way, you can.
Note that after switching to the oracle user, you need to re-export the port.