Install Oracle10g1 in RedHat5.2. System Requirements: Memory: At least 512 mb, 1 GB recommended; Hard Disk: at least 60 GB server; (generally, the hardware can meet the requirements) Software
Install Oracle 10g1 in RedHat 5.2. System Requirements: Memory: At least 512 mb, 1 GB recommended; Hard Disk: at least 60 GB server; (generally, the hardware can meet the requirements) Software
Install Oracle 10g in RedHat 5.2
1. system requirements:
Memory: At least 512 mb. 1 GB is recommended;
Hard Disk: the server must be at least 60 GB;
(Generally, the hardware meets the requirements)
Software packages: glibc-2.3.2, libaio-0.3.96
Swap space:
RAM: 0 ~ 256 MB, SWAP: 3 times RAM size
RAM: 256 ~ 512 MB, SWAP: 2 times RAM size
RAM:> = 512 MB, SWAP: 1024 MB
Install dependent software packages
Rpm-ivh libaio-0.3.96.i386.rpm
Rpm-ivh glibc-2.3.2.i386.rpm
In fact, to install these two software packages, you need to install other software. I have recorded the specific software in the installed brain;
Create an Oracle group and User Account
#/Usr/sbin/groupadd oinstall
#/Usr/sbin/groupadd dba
#/Usr/sbin/useradd-m-g oinstall-G dba oracle
# Id oracle
Uid = 501 (oracle) gid = 501 (oinstall) groups = 501 (oinstall), 502 (dba)
Set the password for the oracle account:
Passwd oracle
Create directory
Run the following command as the root user:
Mkdir-p/u01/app/oracle
Mkdir-p/u02/oradata
Chown-R oracle: oinstall/u01/app/oracle/u02/oradata
Chmod-R 775/u01/app/oracle/u02/oradata
Configure Linux Kernel Parameters
Log on as the root user and run the following command.
Cat>/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
EOF
/Sbin/sysctl-p
Run the following command as the root user to verify the settings:
/Sbin/sysctl-a | grep shm
/Sbin/sysctl-a | grep sem
/Sbin/sysctl-a | grep file-max
/Sbin/sysctl-a | grep ip_local_port_range
Shown as follows:
#/Sbin/sysctl-a | grep shm
Kernel. shmmni = 4096
Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
Kernel. shm-use-bigpages = 0
#/Sbin/sysctl-a | grep sem
Kernel. sem = 250 32000 100 128
#/Sbin/sysctl-a | grep file-max
Fs. file-max = 65536
#/Sbin/sysctl-a | grep ip_local_port_range
Net. ipv4.ip _ local_port_range = 1024 65000