Note: To install the linux component, select the everything swap partition to be greater than 4 GB. Otherwise, the installation may be inexplicable.
When the installation prompts that two. sh scripts are run. Be sure to open a single window and run it as root. Then, click "OK ".
Preparations for Oracle installation:
1. Configure the system kernel parameters, log on as the root user, modify the parameters in the/etc/sysctl. conf file, and add the following parameters to the file:
Kernel. shmall = 2097152
Kernel. shmmax = 536870912 (512 standard for physical memory)
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 262144
Net. core. rmem_max = 262144
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
2.2) edit/etc/security/limits. conf and add the following content:
* Soft nproc 2047
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536
Save the disk and exit.
2.3) edit/etc/pam. d/login and add the following content:
Session required/lib/security/pam_limits.so
2.4) edit/etc/selinux/config, and confirm that the following content exists and is enabled (if not, add it at the end)
SELINUX = disabled
2. Create the user group oinstall, dba, and Oracle users required for database installation, and define oinstall and dba as the primary and secondary groups of oracle users. Command reference:
# Groupadd oinstall
# Groupadd dba
# Useradd-g oinstall-G dba oracle (set oracle users as members of the oinstall and dba user groups)
# Passwd oracle (set the password of an oracle user)
3. log on to the system as the root user to create the installation directory and database file directory of the Oracle system. For example:/oracle, and the command for changing the attributes of the preceding directory, refer to the following:
# Mkdir-p/oracle/product/10.2.0 (create a data directory)
# Chown-R oracle. oinstall/oracle (set the user group and user to which the directory belongs)
# Chmod-R 775/oracle (set the directory read and write permissions)
4. Copy and decompress the 10__database_linux32.zip file to/home/oracle using the oracle user ID Card System:
# Cp 10201_database_linux32.zip/home/oracle/(copy the file to the oracle directory)
# Unzip/home/oracle/10201_database_linux32.zip (decompress the zip file)
5. Configure the oracle user environment, log on as an oracle user, and modify the. bash_profile file under the oracle user. Add the following parameters:
Vi. bash_profile (execute the vi command to modify. bash_profile)
# Get the aliases and functions
If [-f ~ /. Bashrc]; then
.~ /. Bashrc
Fi
# User specific environment and startup programs
PATH = $ PATH: $ HOME/bin
Export PATH
Unset USERNAME
# The following content is what we need to configure
Umask 022
TMP =/tmp; export TMP
TMPDIR = $ TMP; export TMPDIR
ORACLE_BASE =/oracle; export ORACLE_BASE
ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/; export ORACLE_HOME
ORACLE_SID = fstest; export ORACLE_SID
ORACLE_TERM = xterm; export ORACLE_TERM
PATH =/usr/sbin: $ PATH; export PATH
PATH = $ ORACLE_HOME/bin: $ PATH; export PATH
Display = 172.20.16.55: 0.0 this IP address is used for remote image operations on your own computer.
LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH = $ ORACLE_HOME/JRE: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib; export CLASSPATH
# LD_ASSUME_KERNEL = 2.4.1; export LD_ASSUME_KERNEL
| [Content navigation] |
| Page 1st: oracle10G installed in RHEL4u4_64bit |
Page 2nd: oracle10G installed in RHEL4u4_64bit |