Академический Документы
Профессиональный Документы
Культура Документы
localhost localhost.localdomain
o15-102.localdomain o15-102
first check whether package is installed or not. To check:command format which run through root login :"rpm -qa |grep <package name>"
rpm -qa |grep setarch-2*
rpm -qa |grep make-3*
rpm -qa |grep glibc-2*
rpm -qa |grep libaio-0*
rpm -qa |grep compat-libstdc++-33-3*
rpm -qa |grep compat-gcc-34-3*
rpm -qa |grep compat-gcc-34-c++-3*
rpm -qa |grep gcc-4*
rpm -qa |grep libXp-1*
rpm -qa |grep openmotif-2*
rpm -qa |grep compat-db-4*
if package is not installed then then install using below command
"rpm -Uvh <package name>"
for example
rpm -Uvh openmotif-2*
rpm -Uvh compat-db-4*
rpm -Uvh compat-gcc-34-3*
rpm -Uvh compat-gcc-34-c++-3*
Create the new groups and users.
groupadd oinstall
groupadd dba
groupadd oper
useradd -g oinstall -G dba oracle
passwd oracle
Create the directories in which the Oracle software will be installed.
mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle.oinstall /u01
Login as root and issue the following command.
xhost +
Edit the "/etc/redhat-release" file replacing the current release information (R
ed Hat Enterprise Linux AS release 4 (Nahant)) with the following.
redhat-4
restart the machine using command "init 6"
Login as the oracle user and add the following lines at the end of the ".bash_pr
ofile" file.location of the .bash_profile is /home/oracle
so vi /home/oracle/.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.1.0/db_1; export ORACLE_HOME
ORACLE_SID=alttc; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH