Tora是一個Oracle的工具包,目的是幫助DBA或數據庫應用程序的開發者。特點是PL/SQL調試器,有語法高亮的SQL工作單,DB浏覽器和一個全面的DBA工具集。TOra也包含MySQL和PostgreSQL支持。類似與windows下的toad。
Tora項目地址:http://tora.sourceforge.net/
在Fedora 8上安裝並使用tora,必須安裝oracle client,因此本文檔分為兩部分:
在Fedora 8上安裝oracle client
在Fedora 8 上安裝並配置 tora
一、在Fedora 8上安裝oracle client
oracle client的安裝在oracle官方網站有詳細的文檔,本此安裝用的是
Oracle Database 10g Client Release 2 (10.2.0.1.0) for Linux x86,下載地址http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linuxsoft.html,下載前需要先從oracle網站注冊一個帳號。
安裝過程:
1、內存及swap
最小內存要求:256 MB of physical RAM
2、檢查需要的軟件包
make-3.81-10.fc8 gcc-4.1.2-33 glibc-2.7-2 glibc-devel-2.7-2 compat-db-4.5.20-3.fc8 compat-gcc-34-3.4.6-8 compat-gcc-34-c++-3.4.6-8 compat-libstdc++-8-3.3.4.2 compat-libstdc++-devel-8-3.3.4.2 openmotif-2.3.0-0.3.fc8.ccrma gnome-libs-1.4.2-7.fc8 libaio-devel-0.3.106-3.2 libaio-0.3.106-3.2 util-linux-ng-2.13-3.1.fc8
注:util-linux-ng-2.13-3.1.fc8在以前的fedora中名字為setarch,比如在fc7中為setarch-2.0-4.fc7.i386.rpm
3、創建用戶組和用戶
#groupadd dba
#groupadd oinstall
#useradd -m -g oinstall -G dba oracle
#passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.