ORACLE 10G
INSTALLATION ON ENTERPRISE LINUX 4
STEP # 1: SET KERNEL PARAMETERS on SYSCTL.CONF file
cd /etc
ls
gedit sysctl.conf à File open on editor mode add the following parameters
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
Run the following command to change the kernel parameters
/sbin/sysctl –p
STEP # 2: SET PARAMETERS on LIMITS.CONF file
Cd /etc/security
ls
gedit limits.conf à File open on editor mode add the following parameters
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
STEP # 3: INSTALL REQUIRED RPM FROM LINUX CD’S
To see which versions of these packages are installed on your system, run the following commands:
rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common
rpm –q gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio
From CD # 2
Cd /media/cdrom/Server
rpm –Uvh gcc-3*
rpm –Uvh gcc-c++-3*
rpm –Uvh libstdc++-*
From CD # 3
Cd /media/cdrom/Server
rpm –Uvh libaio-0* à Cd 3
STEP # 4: Now Perform Following Steps on ROOT User
Create 2 groups:
groupadd oinstall
groupadd dba
Create a user and assign the above groups to user
useradd –g oinstall –G dba oracle
passwd oracle
Create directories using mkdir command
mkdir –p /u01/app/oracle
Change the ownership of above directories and allow permissions
chown –R oracle:oinstall /u01/app
chmod –R 775 /u01/app
STEP # 5: Login As Oracle User
Gedit .bash_profile
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=ORCL; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/ jlib; export CLASSPATH
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi fi
logout from Oracle user ….
STEP # 8: Login As Root User
create folder @ /u01/app named “10g”
copy all files from cdrom to /u01/app/10g
chmod –R 775 /u01/app/10g
now login as oracle user and
start setup
e.g
ls cd /u01/app/10g
./runInstaller
No comments:
Post a Comment