程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle數據庫基礎 >> Linux下通過VNC安裝Oracle

Linux下通過VNC安裝Oracle

編輯:Oracle數據庫基礎

以前寫過一篇:在Solaris下安裝VNC 遠程安裝Oracle,有朋友說在Linux下安裝有問題.今天碰巧需要,在Linux上安裝了一次(某些Linux版本缺省既有安裝).

  首先從網上下載:

[Oracle@jumper]$ wget http://www.realvnc.com/dist/vnc-4.0-x86_Linux.tar.gz
--10:34:32-- http://www.realvnc.com/dist/vnc-4.0-x86_Linux.tar.gz
=> `vnc-4.0-x86_Linux.tar.gz'
Resolving www.realvnc.com... done.
Connecting to www.realvnc.com[83.170.68.194]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,625,390 [application/x-gzip]

100%[==============================>] 1,625,390 52.67K/s ETA 00:00

10:35:04 (52.67 KB/s) - `vnc-4.0-x86_Linux.tar.gz' saved [1625390/1625390]

  發現4.0版本安裝起來更加方便,解壓後按照README文檔操作即可:

[root@xcorder ]# tar -xvf vnc-4.0-x86_Linux.tar
vnc-4.0-x86_Linux/
vnc-4.0-x86_Linux/vncinstall
vnc-4.0-x86_Linux/Xvnc
vnc-4.0-x86_Linux/vncvIEwer
vnc-4.0-x86_Linux/vncserver
.....
vnc-4.0-x86_Linux/Java/vncvIEwer.jar
[root@xcorder ]# cd vnc-4.0-x86_Linux


[root@xcorder ]# ./vncinstall /usr/local/bin
Can't install manual pages to /usr/local/man/man1
Copying Xvnc to /usr/local/bin
Copying vncvIEwer to /usr/local/bin
Copying vncpasswd to /usr/local/bin
Copying vncconfig to /usr/local/bin
Copying vncserver to /usr/local/bin
Copying x0vncserver to /usr/local/bin
[root@xcorder ]# mkdir -p /usr/local/vnc/classes
[root@xcorder ]# cp Java/* /usr/local/vnc/classes

  此時即可啟動vncserver:

[root@xcorder ]# vncserver

You will require a passWord to Access your desktops.

PassWord:
Verify:
xauth: creating new authority file /root/.Xauthority

New 'xcorder.sky.cn:1 (root)' desktop is xcorder.sky.cn:1

Creating default startup script /root/.vnc/xstartup
Starting applications specifIEd in /root/.vnc/xstartup
Log file is /root/.vnc/xcorder.sky.cn:1.log

  如果存在防火牆,還需要開放防火牆,然後就可以通過浏覽器在5801端口訪問vncserver了.

  可以通過如下命令確認端口已經正常啟動:

[root@xcorder ]# netstat -an|grep 01
tcp 0 0 0.0.0.0:5801 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN
.....

  通過VNC遠程安裝Oracle是非常不錯的一個選擇.

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved