4、设置用户环境
#su – Oracle
$vi ~/.bash_profile
export ORACLE_HOME=/home/oracle/u01/product/10.2.0/client_1/
PATH=$PATH:$HOME/bin:/home/oracle/u01/product/10.2.0/client_1/bin:/usr/local/tora/bin
export PATH
$source ~/.bash_profile
5、创建目录
$mkdir -p /home/oracle/u01/product/10.2.0/client_1/
$chown -R oracle:oinstall /home/oracle/u01/product/10.2.0/client_1/
$chmod -R 775 /home/oracle/u01/product/10.2.0/client_1/
6、安装oracle client
#xhost +
#su – oracle
$cd ~/client
$ ./runInstaller -ignoreSysPrereqs
出来安装界面以后就可以依照提示安装了,安装类型选择admin。中间系统检测出现warn的时候不用管他,继续安装就可以。
安装结束以后运行netmgr配置服务,测试数据库正常连接
至此oracle clinet安装配置完毕
二、在Fedora 8上安装tora
tora网站是http://tora.sourceforge.net/,文档中下载的包是tora-1.3.22.tar.gz
#tar zxvf tora-1.3.22.tar.gz
通过yum安装tora需要的软件:
#yum install qt-3.3.8
#yum install qscintilla*
#vi /root/bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export LD_LIBRARY_PATH=/home/oracle/u01/product/10.2.0/client_1/lib
export PATH
unset USERNAME
#source /root/.bash_profile
#cd tora-1.3.22
# ./configure --without-kde --with-qt-dir=/usr/lib/qt3.3 --with-qt-libraries=/usr/lib/qt-3.3/lib --with-oracle=/home/oracle/u01/product/10.2.0/client_1 --with-oci-version=10G_R2 –with-oracle-libraries=/home/oracle/u01/product/10.2.0/client_1/lib
#make
#make install
在执行./configure的过程中如果提示有没有安装或者找不到路径的lib,可以通过yum进行安装...不过在我的机器上安装了上面所说的包并指定路径以后,就完全可以正常编译了...
安装完成后,切换到oracle帐号运行tora
#su – oracle
$cd /usr/local/tora/bin
$./tora
至此,安装结束
