Write down my first blog here, record the learning process, and sum up experience for the sake of emergency, and also give a reference to friends who need it. After CentOS6.2 is installed, perform the following operations: www.2cto.com 1. modify virtual machine parameter vi/etc/selinux/configSELINUX = disabled to the character interface (optional) vi/etc/inittabid: 3: initdefault: 2. create an oracle user and directory # cd/mkdir u01groupadd oinstallgroupadd dbauseradd-g oinstall-G dba-d/u01/oracle oraclepasswd oracle 3. configure the oracle user environment variable oracle $ pwd/u01/oracle www.2cto.com vi. bash_profile ORACLE_BASE =/u01ORACLE_HOME = $ ORACLE_BASE/oracleORACLE_SID = poli PATH = $ ORACLE_HOME/bi N: $ PATHLD_LIBRARY_PATH = $ ORACLE_HOME/lib: $ LD_LIBRARY_PATH DISPLAY = 192.168.137.1: 0.0 export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH LD_LIBRARY_PATH DISPLAY exit and check env | grep ORAenv | grep DISPLAY4. decompress the oracle Installation Package unzip to move the installation file and modify the master group mv/root/database // u01chown- R oracle: oinstall/u01 5. check the installation package, similar to RedHat Linux5binutils-2.17.50.0.6compat-libstdc ++- Fuse ++-4.1.2glibc-2.5-fuse libgcc-4.1.2libgomp-4.1.2libstdc ++-4.1.2 libstdc ++-devel-4.1.2make-3.81sysstat-7.0.2 # rpm-qa | grep binu upload missing rpm, and then install the following package missing during installation: unixODBC-2.2.11-1.i386.rpmunixOD BC-devel-2.2.11-1.i386.rpmrpm-ivh *. rpm6. set the Kernel Parameter/etc/security/limits. conforacle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 10240/etc/sysctl. conffs. aio-max-nr = 1048576fs. file-max = 6815744kernel. shmall = 2097152kernel. shmmax = 4294967295kernel. shmmni = 4096kernel. sem = 250 32000 100. net. ipv4.ip _ local_port_range = 9000 65500net. core. rm Em_default = 262144net. core. rmem_max = 4192134net. core. wmem_default = 262144net. core. wmem_max = 1048576 make the file take effect: sysctl-p7. install and start Xmanager Passiveenv on the client | grep DISPLAY $. /runInstaller warning: vi/etc/hosts192.168.137.37 dg2 ping dg2/u01/oraInventory run the following script/u01/oraInventory/orainstRoot as the root user. sh/u01/oracle/root. sh 8. the following error occurs when dbca is called: INFO: # An unexpected error has been detected by HotSpot Virtual Machine: INFO: # SIGSEGV (0xb) at pc = 0xa446a43c, pid = 9431, tid = 3084382264 INFO: # Java VM: Java HotSpot (TM) client VM (1.5.0 _ 17-b02 mixed mode) INFO: # Problematic frame: INFO: # C [libnnz11.so + 0x3c45c] This is because the host is a 64-bit operating system, the Virtual Machine and Oracle are both 32-bit, and patch 8670579 must be installed at this time. After decompression, perform the following operations: oracle $ cd 8670579 oracle $/u01/oracle/OPatch/opatch apply Invoking OPatch 11.1.0.6.6Oracle Interim Patch Installer version 11.1.0.6.6... Is the local system ready for patching? [Y | n] y... OPatch succeeded now, Oracle installation is complete, and the database can be created through dbca.