導航:首頁 > 操作系統 > linuxoracle查看資料庫

linuxoracle查看資料庫

發布時間:2024-09-04 14:04:28

linux怎麼查看oracle版本

linux查看oracle版本步驟如下:

1、首先登陸您的Linux伺服器(本伺服器已經安裝了Oracle)。

㈡ 怎麼用linux命令連接racle資料庫

可以通過SSH或者SecureCRTPortable等可以直接連接Linux操作系統的軟體,連接到Linux系統。下面具體介紹一下:

1、登錄到Linux後,就可以在命令窗口直接對Linux進行操作了。先將用戶切換到Oracle。當顯示為[oracle@db ~]$ 時,說明切換成功。命令:su - oracle;

2、切換到Oracle用戶之後,我們登錄到到sqlplus,使用dba許可權登錄到sqlplus。在sqlplus中,我們使用conn連接一下我們具體想要操作的資料庫用戶。命令:conn username/password,示connected表示連接成功;

3、在SQL>中輸入想要進行操作的sql語句,這里我們舉個簡單的例子,以一個單表查詢為例進行演示:sql語句:select * from tablename。

(2)linuxoracle查看資料庫擴展閱讀:

Linux是一套免費使用和自由傳播的類Unix操作系統,是一個基於POSIX和UNIX的多用戶、多任務、支持多線程和多CPU的操作系統。它能運行主要的UNIX工具軟體、應用程序和網路協議。它支持32位和64位硬體。Linux繼承了Unix以網路為核心的設計思想,是一個性能穩定的多用戶網路操作系統。

Linux操作系統誕生於1991 年10 月5 日(這是第一次正式向外公布時間)。Linux存在著許多不同的Linux版本,但它們都使用了Linux內核。Linux可安裝在各種計算機硬體設備中,比如手機、平板電腦、路由器、視頻游戲控制台、台式計算機、大型機和超級計算機。

參考資料:Linux-網路

㈢ linux 下怎麼查看資料庫oracle的具體的配置

1、連接上相應的linux主機,進入到等待輸入shell指令的linux命令行狀態下。

㈣ 在linux中如何進入到oracle的圖形配置資料庫界面

1、需要配置安裝VNC,然後通過VNC連接

2、安裝和配置VNC

① 安裝vnc

# yum install -y tigervnc-server tigervnc-server-mole libXfont pixman xterm xorg-x11-twm 安裝vnc及字體庫

# chkconfig vncserver on 設置開機自動啟動

②VNC配置

修改 /etc/sysconfig/vncservers 文件,添加以下內容

# The VNCSERVERS variable is a list of display:user pairs.

#

# Uncomment the lines below to start a VNC server on display :2

# as my 'myusername' (adjust this to your own). You will also

# need to set a VNC password; run 'man vncpasswd' to see how

# to do that.

#

# DO NOT RUN THIS SERVICE if your local area network is

# untrusted! For a secure way of using VNC, see this URL:

# http://kbase.redhat.com/faq/docs/DOC-7028


# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.


# Use "-localhost" to prevent remote VNC clients connecting except when

# doing so through a secure tunnel. See the "-via" option in the

# `man vncviewer' manual page.


# VNCSERVERS="2:myusername"

# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"

VNCSERVERS="1:root"

VNCSERVERARGS[1]="-geometry 1024x768 -nolisten tcp -depth 24"

# -alwaysshared代表允許多用戶同時登錄 -depth代為色深,參數有8,16,24,32

#紅色為新增內容



③ 設置VNC密碼

# vncpasswd

Password:

Verify:

連續兩次輸入同樣的密碼

設置的密碼保存在 /root/.vnc/passwd


④ 修改防火牆配置,修改/etc/sysconfig/iptables

# vi /etc/sysconfig/iptables #編輯,添加以下代碼,開啟5901、5902埠

-A INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT

-A INPUT -m state --state NEW -m tcp -p tcp --dport 5902 -j ACCEPT

:wq! 保存,退出

service iptables restart # 重啟


⑤使用VNC連接CentOS主機

直接打開VNC,輸入IP地址,冒號後面的1代表桌面號,這個要根據你的配置文件定義的桌面號


3、通過vnc登陸後,切換到oracle用戶下面,即可進入到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

閱讀全文

與linuxoracle查看資料庫相關的資料

熱點內容
單片機程序電子版 瀏覽:599
路由器加密模式只有wpa2 瀏覽:530
ug刪除加密 瀏覽:433
安卓手機如何下載最低版本的抖音 瀏覽:778
sprint演算法 瀏覽:444
數控編程學習資料 瀏覽:177
pdf語文 瀏覽:943
單片機小學比賽 瀏覽:95
條件預編譯多條件 瀏覽:394
物理學好可以當程序員嗎 瀏覽:435
jsp圖片網站源碼 瀏覽:845
美股開盤加密貨幣大跌 瀏覽:18
ubuntuphp伺服器 瀏覽:189
伺服器編輯器如何寫 瀏覽:384
我有一套源碼自帶採集 瀏覽:112
對稱加密演算法的特點 瀏覽:47
河池看房用什麼app 瀏覽:283
linuxnameserver 瀏覽:91
與數學相關的文件夾名稱 瀏覽:292
證據推理演算法實例 瀏覽:165