A Work as Root user
1. Configuring Kernel Parameters
Log in with root user
#sam access to System Administrator Manager
In which select kernel configuration, enter later in the selection configurable parameters
Modify the following parameters
Maxdsiz 1073741824
Maxdsiz_64 2147483648
Maxssiz 134217728
Maxssiz_64 1073741824
Maxusers 1000
Nproc 20+8*maxusers
Semmni 500
Semmns 1000
SEMMSL 2048
SEMVMX 32767
Semmnu 500
SHMMAX 1073741824 (the maximum allowable for this machine is this value, which should be the largest physical memory)
Shmmni 512
SHMSEG 200
Vps_ceiling 64
2. Disk space required to install Oracle9201
Create 2 file systems, one to install Oracle, not less than 4G, can be named/oracle, another to store Oracle installation files, and not less than 4G, named/oradata, while ensuring that the/TMP directory has more than 55M of free space.
3. Creating DBA groups and Oracle users
Log in with root user
#sam进入system Administrator Manager
In which you select accounts for users and groups
Select groups to select Add in the Actions option in menu
Enter group name as DBA, and then determine
Back to accounts for users and groups
Select users to select Add in the Actions option in menu
Enter login name for Oracle,home directory for/home/oracle,primary group name for DBA, OK, enter password Oracle and confirm.
Two Setting Oracle's environment variables
#su –oracle Login with Oracle Users
$vi. Profile Modify Parameter file
At the end of the file, add the following parameters
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:/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/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 line indicates that the next line continues on the previous line.
$. ./.profile Application environment variable file