首先從網(wǎng)上下載:
[oracle@jumper]$ wget
--10:34:32--
=> `vnc-4.0-x86_linux.tar.gz'
Resolving ... done.
Connecting to ... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,625,390 [application/x-gzip]
100%[==============================>] 1,625,390 52.67K/sETA 00:00
10:35:04 (52.67 KB/s) - `vnc-4.0-x86_linux.tar.gz' saved [1625390/1625390]
發(fā)現(xiàn)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
此時(shí)即可啟動(dòng)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了.
可以通過如下命令確認(rèn)端口已經(jīng)正常啟動(dòng):
[root@xcorder ]# netstat -an|grep 01
tcp0 0 0.0.0.0:58010.0.0.0:* LISTEN
tcp0 0 0.0.0.0:59010.0.0.0:* LISTEN
tcp0 0 0.0.0.0:60010.0.0.0:* LISTEN
.....
VNC在客戶段需要JRE運(yùn)行環(huán)境,如果本機(jī)未安裝,可以到以下地址下載:
通過VNC遠(yuǎn)程安裝Oracle是非常不錯(cuò)的一個(gè)選擇.
更多信息請(qǐng)查看IT技術(shù)專欄