--Note: This article is for Oracle only and does not have a library
One: Put a readhat in the virtual machine 4systemTwo: With IP
The following IP addresses are provided:
Three: Build user groups, users
Note: Oracle users should have the same UID.
Groupadd-g Oinstall
GROUPADD-G 201 DBA
Useradd-u 200-g oinstall-g dba Oracle
passwd Oracle
Four: Build the catalogue
Modify the owner of a file
--chown-r oracle:oinstall/u01
Su-oracle
Mkdir-p/u01/app/oracle
V: Modify. Bash_profilefile
Note the instance name (Rac1 for example below)
Cd/home/oracle
VI. bash_profile
Export Editor=vi
Export Oracle_sid=sdyprod
Export Oracle_base=/u01/app/oracle
Export Oracle_home=/u01/app/oracle/product/10.2.0/db_1
Export Ora_crs_home=/u01/crs_1
Export Ld_library_path= $ORACLE _home/lib
Export path= $ORACLE _home/bin: $ORA _crs_home/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/x1186/bin
Umask 022
[[email protected] ~]$ source. bash_profile
Six: Configure the kernel
Su-
1:vi/etc/sysctl.conf
Kernel.shmall = 2097152
Kernel.shmmax = 2147483648
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 = 1048576
Net.core.rmem_max = 1048576
Net.core.wmem_default = 262144
Net.core.wmem_max = 262144
2:vi/etc/security/limits.conf Restrict Oracle Open page handles and the like
Oracle Soft Nproc 2047
Oracle Hard Nproc 16384
Oracle Soft Nofile 1024
Oracle Hard Nofile 65536
3:vi/etc/pam.d/login the information set in the above takes effect here
Session required/lib/security/pam_limits.so
4:vi/etc/profile
if [$USER = "Oracle"]; Then
if [$SHELL = "/bin/ksh"]; Then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Reboot.
Seven: InstalledOracleSoftware
./runinstaller
--uncheck ' Create starter database ' because it only wants to install Oracle software and don't want to build databases for the time being .
--checking Network Configuration Requirements This status ' not executed ', regardless of it.
-- Choose 'Yes', continue,
To execute the script as root user :
/u01/app/oracle/orainventory/orainstroot.sh
/u01/app/oracle/product/10.2.0/db_1/root.sh
After executing the script, click 'OK' and the following interface appears:
Click ' Exit' to exit.
Eight: With monitoring
Netca
......
Installing Oracle 10g under Linux (Redhat 4)