导航:首页 > 操作系统 > linuxoracle版本查看

linuxoracle版本查看

发布时间:2022-08-18 13:38:45

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的安装目录:

  1. 一般来说,/etc/oraInst.loc文件里会记录oracle的路径,如

  2. [oracle@ruby ~]$ cat /etc/oraInst.loc

  3. inventory_loc=/u01/app/oraInventory

  4. inst_group=oinstall

  5. 然后/u01/app/oraInventory/ContentsXML/inventory.xml里记录了你安装的所有oracle产品的目录信息

  6. oracle用户家目录中的.bash_profile中在安oracle时会设置环境变量的,里面有$ORACLE_BASE和$ORACLE_HOME

  7. [oracle@ruby ~]$ echo $ORACLE_HOME

  8. 在$ORACLE_HOME/OPatch里,执行$./opatch lsinventory能看到oracle版本、家目录等信息

Ⅸ 在linux下怎么查询oracle版本

select * from v$version 就这一条

Ⅹ 怎么在linux中查看oracle版本号

最简单的方式,用sqlplus登陆下数据就可以看到了:

阅读全文

与linuxoracle版本查看相关的资料

热点内容
myeclipselinux破解版 浏览:416
批处理命令语法不正确 浏览:888
pdf合并成一个pdf在线 浏览:383
柱加密区构造要求 浏览:514
地板木龙骨标准跟加密区别 浏览:150
解压放松的好地方河南 浏览:965
搜狗怎么移动到文件夹 浏览:617
文件自动选择到文件夹 浏览:794
赠送的app怎么在ipad下载 浏览:508
颈椎解压后神经恢复 浏览:849
怎么看app订阅扣费 浏览:314
linux系统的负载均衡 浏览:419
遇到挫折解压视频 浏览:778
什么指令看服务器运行负载 浏览:84
因硕智能门锁卡片是加密的么 浏览:336
为什么会服务器不可用 浏览:290
wow宏命令设置 浏览:264
解压神器一张纸折叠魔术球 浏览:23
怎么样可以取消加密软件oppo 浏览:580
屏幕共享源码哪家比较不错 浏览:665