(upper half)
I have only made a project recently, and I used Linux and tortured me. In order no longer let other people encounter the same torture, I decided to write all my configuration, for everyone, huh, if there is a mistake Please forgive me! ! !
First, system configuration
The following is the hardware configuration of my machine, just do a reference.
CPU: Intel (r) Celeron (TM) CPU 1000MHz
Memory: 512MBYTES
Hard drive: 40GBYTES
The above configuration, I think it can meet a Linux system, Oracle9i's operation, if there are other stuff, then. . . . . Ha ha
What is it? Need an OS (redhat Linux8.0 kernel 2.4.18-14 on AN i686),
Also, Oracle9i (Oracle9i R9.2.01 Enterprise Edition) is.
What about the above? It is all the stuffs that configure Oracle9i under Linux.
Second, Oracle9i preparation before installation
Let's say that when you install Linux8.0, pay attention to the root directory (/) partition to 10G, the SWAP partition is about 1G (above is based on my hardware configuration)
1. Before installation, create a temporary folder for Oracle9i, copy the contents of your Oracle9i on the Linux machine, so that it is easy to install, not because the light is stopped, of course, if you are download Oracle9i is not available, as shown below
2, after the copy is completed, create user groups and username, as shown below
3. Establish an installation directory as follows:
MKDIR / OPT / ORACLE
MKDIR / OPT / ORACLE / PRODUCT
Mkdir /opt/oracle/product/9.2.0
4, the authority is as follows:
Chown -r oracle.dba / opt / oracle
Specifically see the figure below
5, from the new window, turn to Oracle permissions. And edit the .bash_profile file.
6. Insert the .bash_profile file into the following.
# .Bash_profile # Oracle Enexport ORACLE_BASE = / opt / oracleexport ORACLE_HOME = / opt / oracle / product / 9.2.0export ORACLE_SID = ORCLexport ORACLE_TEAM = xteamexport NLS_LANG = Japanese_Japan.JA16EUC # export NLS_LANG = Japanese_Japan.UTF-8export ORA_NLS33 = $ ORACLE_HOME / ocommon / NLS / Admin / DataExport LD_Library_Path = $ ORACLE_HOME / LIB: / LIB: / USR / LIB: / USR / LOCAL / LIB
#Set shell search pathspath = $ path: $ oracle_home / bin
# CLASSPATHCLASSPATH = $ ORACLE_HOME / JRE: $ ORACLE_HOME / jlib: $ ORACLE_HOME / rdbms / jlib: $ ORACLE_HOME / network / jlib: $ CLASSPATH # User specific environment and startup programsPATH = $ PATH: $ HOME / bin
Export lang = c
Export Pathunset UserName
(Where NLS_LANG, lang is because I did the Japanese system, so doing this, if it is Chinese, I don't have to write like me), please see the figure below.
7, then set the maximum value of shared memory,
Echo 419000000> / proc / sys / kernel / shmmax
CAT / Proc / Sys / Kernel / Shmmax
Charts