Here are our installation environment and steps:
Hardware:
CPU: 1Unit Intel(R) Pentium(R) 4 CPU 2.80GHz
Memory: 2G recommend, 1G at least
Disk: two disks recommend, total volume 150G – 200G
Oracle installation path: /opt/oracle10g
Sofeware:
OS: Red Hat Enterprise Linux ES release 3 (Taroon Update 5)
Linux 2.4.21-32.ELsmp (kernal version)
Oracle: Oracle Database 10g Release 10.2.0.1.0 – Production
Step1. Download oracle package
Download Oracle10.2.0.1 for Linux X86 from http://download.oracle.com/otn/linux/oracle10g/10201/10201_database_linux32.zip
Step2.set environment
–set system environment
su – root
add contents below to /etc/sysctl.conf
#####################################################################
#for oracle start
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
#for oracle end
#####################################################################
run the cmd below to use the configuration
/sbin/sysctl -p
groupadd dba
useradd -c “Oracle software owner” -g dba -d /opt/oracle10g oracle
passwd oracle
yourpassword (input twice)
mkdir -p /opt/oracle10g/product/10.2.0
chown -R oracle.dba /opt/oracle10g
add content to ~oracle/.bash_profile
#####################################################################
# Oracle10g Environment
export HOME=/opt/oracle10g
export ORACLE_BASE=/opt/oracle10g
export ORACLE_HOME=/opt/oracle10g/product/10.2.0
export ORACLE_SID=t10g
export ORACLE_TERM=xterm
# export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
export NLS_LANG=AMERICAN;
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
# Set shell search paths
export PATH=$ORACLE_HOME/bin:$PATH
#####################################################################
Step3. Install oracle
–install oracle
3.1.Startup GUI
If you startup GUI(such as gnome or kde) by root, run the cmd below,
su – root
xhost +
If you startup GUI by oracle, run the following cmds directly
3.2.install
su – oracle
unzip 10201_database_linux32.zip
cd database
./runInstaller
Installation Method: Basic Installation
Oracle Home Location: /opt/oracle10g/product/10.2.0
Installation Type: Standard Edition (1.1G)
UNIX DBA Group: dba
Check: Create Starter Database (additional 720M)
Global Database Name: t10g
Database password: (input whatever you want)
Click next, oracle will check the system enviroments.
….
Done!
Filed under: Binary Management