Oracle Client Install
Oracle Client Install
Oracle Client Install
1.Downloading the Installation Archive Files
To download the installation archive files from OTN:
Use any browser to access the software download page on OTN:
http://www.oracle.com/technology/software/
2.Extracting the Installation Files
To uncompress each file, enter a command similar to the following:
$ gunzip filename.cpio.gz
To extract the installation files, enter commands similar to the following:
$ cpio -idmv < filename.cpio
3.Check the Software Requirements
cat /etc/yum.repos.d/rhel-debuginfo.repo(setting yum server configure)
Red Hat Enterprise Linux 5:
The following packages (or later versions) must be installed:
yum install gcc glibc* make openmotif* setarch compat* gnome-libs libaio*
4.Create User
groupadd oinstall
adduser oracle -g oinstall
passwd oracle
5.Install Oracle:
mkdir /u01/app/oracle
chown -R oracle:oinstall /u01
chmod -R 775 /u01/
$ ./runInstaller
6.Set oracle Envirement
[oracle@T2VLOGAP01 ~]# cat ~/.bash_profile
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:/usr/lib; export LD_LIBRARY_PATH
PATH=$PATH:$ORACLE_HOME/bin
參考文件
http://download.oracle.com/docs/html/B14400_01/inst_task.htm
http://download.oracle.com/docs/html/B14403_01/cli_qig.htm#BGBEAGAJ