1. hardware configuration instructions:
The swap partition of Fedora 14 must have at least 2048 MB; otherwise, a warning is reported during Oracle installation.
2. software requirements
1) dependent software packages to be installed or upgraded.
Make-3.81-14.fc10.i386
Gcc-4.3.2-7.i386
Glibc-2.9-3.i686
Glibc-devel-2.9-3.i386
Compat-db45-4.5.20-5.fc10.i386
Compat-gcc-34-3.4.6-9.i386
Compat-gcc-34-c ++-3.4.6-9. i386
Compat-libstdc ++-33-3.2.3-64.i386
Gnome-libs-1.4.2-10.fc10.i386
Libaio-devel-0.3.107-4.fc10.i386
Libaio-0.3.107-4.fc10.i386
LibXp-1.0.0-11.fc9.i386
2) tips:
You can use rpm-q XXX to check whether a specified RPM package exists on the host.
You can also directly use the yum command to install or upgrade the software package. If the software package is already in the latest version, the installation or upgrade process will be skipped. One of the installation commands is as follows: # yum-yv install package name
------------------------------------------------------- Installation Process
1. Obtain the Oracle 10g r2installation package (10201_database_linux32.zip ).
Here.
2. Create DBA user groups and Oracle users
Log on as an administrator and run the following command:
# Groupadd dba
# Useradd-d "/home/oracle"-m-g dba oracle
# Passwd oracle
Enter the password set for oracle twice, and the oracle user will be created.
3. Configure Kernel Parameters
Use vi to edit the/etc/sysctl. conf file and add the following parameter configurations:
# Configuration for Oracle 10g
Kernel. shmall = 2097152 # total available shared memory.
Kernel. shmmax = 2147483648 # maximum size of shared memory segments.
Kernel. shmmni = 4096 # maximum number of shared memory segments of the entire system.
Kernel. sem = 250 32000 100 128 # maximum number of signal objects in each signal object set; Maximum number of signal objects in the system range; Maximum number of operations supported by each signal object; the maximum number of signal objects in the system range.
Fs. file-max = 65536 # maximum number of file handles allowed in the system.
Net. ipv4.ip _ local_port_range = 1024 65000 # IPv4 port range available for applications.
Net. core. rmem_default = 1048576 # default value of the socket receiving buffer size
Net. core. rmem_max = 1048576 # maximum size of the socket receiving buffer
Net. core. wmem_default = 262144 # default value of the socket sending buffer size
Net. core. wmem_max = 262144 # maximum size of the socket sending Buffer
Note: Modifications to kernel parameters are not required, depending on the situation. After modifying the configuration file, restart the computer or run the "/sbin/sysctl-p" command to make the configuration take effect.
4. Configure available Oracle Resources
Use vi to edit the/etc/security/limits. conf file and add the following Configuration:
# Configuration for oracle 10g R2 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
5. Configure the PAM module for the resource limits added in step 1.
Use vi to edit the/etc/pam. d/login file. Make sure the file contains the following configurations:
# Configuration for oracle 10g R2 session required/lib/security/pam_limits.so
6. Make sure SELINUX is disabled.
Use vi to edit the/etc/selinux/config file. Make sure that:
SELINUX = disabled
7. modify the system version ID
Use vi to edit the/etc/RedHat-release file and replace Fedora release 12 (Constantine) with the redhat-4
8. Create an Oracle directory
# Mkdir-p/home/oracle/u01/app/oracle
# Mkdir-p/home/oracle/u01/app/oradata
# Mkdir-p/home/oracle/u01/app/oradata
# Mkdir-p/home/oracle/u02/app/oraInventory
# Chown-R oracle: dba/home/oracle/u01/app/oracle
# Chown-R oracle: dba/home/oracle/u01/app/oradata/home/oracle/u02/app/oradata/home/oracle/u02/app/oraInventory
# Chmod-R 775/home/oracle/u01/app/oracle
# Chmod-R 775/home/oracle/u01/app/oradata/home/oracle/u02/app/oradata/home/oracle/u02/app/oraInventory