Ⅰ 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登陆下数据就可以看到了: