Ⅰ linux怎麼查看oracle安裝路徑
使用whereis oracle命令可以查詢oracle的安裝路徑,具體使用步驟如下:
1、首先,用XSell工具連接相應linux主機,進入到linux命令行狀態下,等待輸入shell指令。
Ⅱ 怎樣檢查oracle是否在Linux下安裝成功了
在Linux下安裝Oracle一般會創建Oracle用戶,用Oracle用戶登錄,進去sqlplus,看資料庫是否能啟動,能啟動的話就說明Oracle安裝成功了
Ⅲ linux怎麼查看oracle版本
[oracle@ceglnx01 bin]$ sqlplus -v
SQL*Plus: Release 10.2.0.4.0 - Proction
1:使用file命令查看32位還是64位客戶端。
Oracle Client 32 bit
[oracle@db-server-01 ~]$ which sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
[oracle@db-server-01 ~]$ file /u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
Oracle Client 64 bit
[oracle@db-server-02 ~]$ which sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
[oracle@db-server-02 ~]$ file /u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
或者
Oracle Client 32 bit
[oracle@db-server-01 logs]$ cd /u01/app/oracle/proct/10.2.0/db_1/bin
[oracle@db-server-01 bin]$ file oracle
oracle: setuid setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
Oracle Client 64 bit
[oracle@db-server-02 ~]$ cd /u01/app/oracle/proct/10.2.0/db_1/bin
[oracle@db-server-02 bin]$ file oracle
oracle: setuid setgid ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
2: 通過查看$ORACLE_HOME下的lib或lib32目錄,如果兩個目錄都存成,則為64位,如果只有lib目錄.則為32位客戶端。
[oracle@db-server-01 db_1]$ ls -d lib
lib
[oracle@db-server-01 db_1]$ ls -d lib*
lib lib32
Ⅳ 用什麼命令可以查到linux下安裝的oracle的版本呀謝謝
[oracle@db-server-01 ~]$ which sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
[oracle@db-server-01 ~]$ file /u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
Ⅳ linux怎麼查看oracle版本
1.查找which sqlplus
/u01/app/oracle/proct/10.2.0/db_1/bin/sqlplus
可以帶出 oracle 安裝地址
2.登錄 sqlplus
輸入sqlplus命令
可以帶出
3.登錄 sqlplus後
(1)用客戶端連接到資料庫,執行select * from v$instance
查看version項
(2)select * from proct_component_version
(3)select * from V$VERSION
Ⅵ 怎麼查看linux安裝oracle客戶端
紅帽下
卸載mysql
1、查找以前是否裝有mysql
命令:rpm
-qa|grep
-i
mysql
可以看到mysql的兩個包:
mysql-*..*.rhel**
mysqlclient*.rhel**
2、刪除mysql
刪除命令:rpm
-e
--nodeps
包名
(
rpm
-ev
mysql-*.rhel*
)
3、刪除老版本mysql的開發頭文件和庫
命令:rm
-fr
/usr/lib/mysql
rm
-fr
/usr/include/mysql
注意:卸載後/var/lib/mysql中的數據及/etc/my.cnf不會刪除,如果確定沒用後就手工刪除
rm
-f
/etc/my.cnf
rm
-fr
/var/lib/mysql
Ⅶ 如何查看oracle客戶端版本號是32位還是64位
linux活unix下的話,找到sqlplus,
file /path/to/sqlplus,
windows就更簡單了,32位系統肯定是32位的,64位系統看任務管理器就好了,sqlplus後面沒有*32就是64位了唄
Ⅷ linux 怎麼查找oracle11g的安裝目錄
linux 查找oracle11g的安裝目錄:
一般來說,/etc/oraInst.loc文件里會記錄oracle的路徑,如
[oracle@ruby ~]$ cat /etc/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=oinstall
然後/u01/app/oraInventory/ContentsXML/inventory.xml里記錄了你安裝的所有oracle產品的目錄信息
oracle用戶家目錄中的.bash_profile中在安oracle時會設置環境變數的,裡面有$ORACLE_BASE和$ORACLE_HOME
[oracle@ruby ~]$ echo $ORACLE_HOME
在$ORACLE_HOME/OPatch里,執行$./opatch lsinventory能看到oracle版本、家目錄等信息
Ⅸ 在linux下怎麼查詢oracle版本
select * from v$version 就這一條
Ⅹ 怎麼在linux中查看oracle版本號
最簡單的方式,用sqlplus登陸下數據就可以看到了: