/ ** reprint, source is unknown, sorry !! * / Published on: 2004-07-13 12:07 Posted: Redhatlinux AS3 U2 Install Oracle9204 Successful Retriever !!! Installed 5 times, basically what problems have met The younger brother puts a successful pen, 嘿 Double CPU1.6GHz memory 2G Red Hat Linux AS3 Install Oracle9.2.0.4 First, ready to install the required packages and patches: Download upgrade patch from the Internet to use Oracle9. 2.0 upgrade to 9.2.0.4: p3006854_9204_LINUX.zip follows all the patch notes:.. p3095277_9204_LINUX.zip 9.2.0.4.0 upgrade patch p3006854_9204_LINUX.zip fight before running runInstaller p3119415_9204_LINUX.zip after upgrading to 9.2.0.4.0 Play. P2617419_210_Generic.zip to play 3119415 patch required for patch. /FILE.RPM Compat-libstdc - 7.3-2.96.122 Compat-GCC-C - 7.3-2.96.122 Compat-LibSTDC - Devel-7.3-2.96.122 Compat-DB-4.0.14-5 COMPAT-GCC-7.3- 2.96.122 TCL-DEVEL-8.3.5-92.i386.ipm Other related software package (may be required when installing the above package): glibc-kemheadsers-2.4-8.34.i386.2-95.20 .i386.2-95.20.i386.rpm 2. RPM -QA │ GREP OpenMotiF View the following software package OpenMotiF21-2.1.30-8 3. RPM -QA │ GREP STARCH View: setarch-1.3- 1 Second, the user and user group needed during the installation process we use two users simultaneously in the installation process, one is the root user, the other is your newly created ORAC Le users.
1. Open a terminal, log in to the root user or: Su - root 2, establish an Oracle user and password # groupadd oinstall (in installing Oracle Name: OIX Group name: OINSTALL) # groupAdd DBA # Useradd -g oinstall -g DBA Oracle # Passwd Oracle third, installation preparation steps. 1, Prepare file directory: # mkdir -p /opt/ora9/product/9.2 # mkdir / var / opt / oracle # chown oracle.dba / var / opt / oracle # chown -r ORACLE.DBA / OPT / ORA9 Note: If the prompt parameter is too small, you can set it directly to Oracle Permissions DBA 2, set the kernel parameters, adjust the signal and shared memory: Modify /etc/sysctl.conf this file, join The following statement: kernel.shmmax = 2147483648 (2G machine memory 2G, if you don't have such a big set of small) kernel.shmmni = 2097152 kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 SEM 4 parameters are SEMMSL in turn (the maximum number of semaphors of each user); SEMMNS (maximum number of system semaphors); Semopm (number of SemOPM system call operands); SEMMNI The maximum number of hard works). SHMMAX maximum shared memory 2GB Physical memory If small, you can set it to 536870912. SHMMNI minimum shared memory 4096kb. SHMALL All memory size. Set the command More /etc/sysctl.conf | GREP KERNEL. s Check. 3, set Oracle to file requirements: Editor file: /etc/security/limits.conf Add to the following statement: Oracle Soft Nofile 65536 Oracle Soft NPROC 16384 Oracle Hard NPROC 16384 4, Set System Environment: First set the root user's terminal.
Export Oracle_Base = / OPT / ORA9 Export Oracle_Home = / OPT / ORA9 / Product / 9.2 (Oracle is installed in these locations) 5. Set up an Oracle user's environment, new open terminal, su - oracle *** Note must be new A *** opens the .bash_profile file, will join: (Command vi $ home / .bash_profile) Use the VI to use the can check the manual I enters Edit; W store; Q Exit) #oracle 9i export display = 192.9.200.24: 0.0 "(127.0.0.1:0.0) export ORACLE_BASE = / opt / ora9 export ORACLE_HOME = / opt / ora9 / product / 9.2 export PATH = $ ORACLE_HOME / bin: $ ORACLE_HOME / Apache / Apache / bin: $ PATH export ORACLE_OWNER = oracle export ORACLE_SID = ora9i (database global variable names) export ORACLE_TERM = xterm (xterm window mode vt100 terminal debug mode) export LD_ASSUME_KERNEL = 2.4.1 export THREADS_FLAG = native export LD_LIBRARY_PATH = / opt / ora9 / product / 9.2 / lib: $ LD_LIBRARY_PATH export PATH = / OPT / ORA9 / Product / 9.2 / Bin: $ PATH EXPORT NLS_LANG = American (Setup Language American English) Export ORA_NLS33 = $ Oracle_Home / OCOMMON / NLS / Admin / Data Save After Save. Execution: Source .bash_profile View SET | More then. Exit the login, then enter again, this time Oracle's environment has taken effect. 6, unzip file, patch before install, switch to the root user: (Note: Do the following statement before patching) #su - root #mv / usr / bin / gcc / usr / bin / gcc323 #ln -s / usr / bin / gcc296 / usr / bin / gcc #mv / usr / bin / g 296 / usr / bin / g #LN -S / USR / BIN / G / USR / BIN / G 296 fourth, start formal installation 1, establish Oracle installation Temporary Directory Su - root #cd / home #mkdir ora9i #CD ORA9I these directory you can define it, used to store Install the file.
2. Solution GZ file (window mode decompression does not delete the original file, automatically delete the original file after the terminal mode decompression) #gunzip gunzip lnx_920_disk1.cpio.gz #gunzip lnx_920_disk2.cpio.gz #gunzip lnx_920_disk3.cpio.gz 3. Release CPIO file #cpio -idmv (Protocol = tcp) (port = 1521)) The command completed successful notes: If you keep stopping, Oracle will prompt to overwrite the file. This time you go to stop the service, you can go. You can start to upgrade . Note the use of patch when the root user, switch to the root user console: unpack: # unzip /home/ora9i/p3095277_9204_LINUX.zip Archive: p3095277_9204_LINUX.zip inflating: 9204_lnx32_release.cpio inflating: README.html inflating: patchnote.css ( The automatic generation of 9204_lnx32_release.cpio under / home / ora9 / disk1 is automatically generated # cpio -idmv