Installation of oracle9i in unix:
1. Work as a root user
1. Configure Kernel Parameters
Log on as a root user
# Sam enters system administrator manager
Select the kernel configuration. after entering the information, select retriable parameters.
Modify the following parameters
MAXDSIZ 1073741824
Max dsiz_64 2147483648
Maxssimz 134217728
MAXSSIZ_64, 1073741824
MAXUSERS 1000
NPROC 20 + 8 * MAXUSERS
SEMMNI 500
SEMMNS 1000
SEMMSL 2048
Semvm x 32767
SEMMNU 500
SHMMAX 1073741824 the maximum allowed physical memory for the machine I configured is this value)
SHMMNI 512
Shmsegb 200
VPS_CEILING 64
2. disk space required to install Oracle9201
Create two file systems, one for oracle Installation, no less than 4 GB, you can name it/oracle, the other for storing the oracle Installation File, no less than 4 GB, named/oradata, at the same time, ensure that the/tmp directory has more than 55 MB of free space.
3. Create a dba group and an oracle user
Log on as a root user
# Sam enters system administrator manager
Select accounts for users and groups
Select groups, and select add in the actions Option in menu.
Enter group name as dba, and then confirm
Return to accounts for users and groups
Select users and select add in the actions Option in menu.
Enter login name as oracle, home directory as/home/oracle, primary group name as dba, OK, enter the password oracle, and confirm.
2. Set Oracle environment variables
# Su-oracle login with oracle users
$ Vi. profile modify parameter file
Add the following parameters at the end of the file:
ORACLE_BASE =/oracle
ORACLE_HOME =/oracle/product/9.2.0.1
ORACLE_SID = test
ORACLE_TERM = xterm
Export ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM
NLS_LANG = american_america.ZHS16GBK
Export NLS_LANG
ORA_NLS33 = $ ORACLE_HOME/ocommon/nls/admin/data
Export ORA_NLS33
LD_LIBRARY_PATH = $ ORACLE_HOME/lib: $ ORACLE_HOME/ctx/lib:/usr/lib: $ \ ORACLE_HOME/RDBMS/lib: $ ORACLE_HOME/lib32
SHLIB_PATH = $ ORACLE_HOME/lib32: $ ORACLE_HOME/rdbms/lib32
ORACLE_DOC = $ ORACLE_BASE/product/9.2.0.1
Export SHLIB_PATH LD_LIBRARY_PATH ORACLE_DOC
PATH =/bin:/usr/sbin:/opt/bin:/usr/local/bin: $ ORACLE_HOME/bin:/usr/contrib/\ bin: $ PATH
Export PATH
CLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/\ rdbms/jlib
CLASSPATH = $ CLASSPATH: $ ORACLE_HOME/network/jlib
Export CLASSPATH
EDITOR = vi
Export EDITOR
Note: The "\" symbol at the end of the row indicates that the next row continues with the previous row.
$ ../. Profile application environment variable File
Through the steps mentioned above, we have completed the installation of oracle9i in the unix environment. I believe that you have mastered the installation method of oracle9i in the unix environment through the above learning, in this way, you can easily solve similar problems in your future work.