首先从网上下载:
[oracle@jumper]$ wget
::
=> `vncx_linuxtargz
Resolving wwwrealvnccom done
Connecting to wwwrealvnccom[]: connected
HTTP request sent awaiting response OK
Length: [application/xgzip]
%[==============================>] K/sETA :
:: ( KB/s) `vncx_linuxtargz saved [/]
发现版本安装起来更加方便解压后按照README文档操作即可:
[root@xcorder ]# tar xvf vncx_linuxtar
vncx_linux/
vncx_linux/vncinstall
vncx_linux/Xvnc
vncx_linux/vncviewer
vncx_linux/vncserver
vncx_linux/java/vncviewerjar
[root@xcorder ]# cd vncx_linux
[root@xcorder ]# /vncinstall /usr/local/bin
Cant install manual pages to /usr/local/man/man
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 xvncserver 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 xcorderskycn: (root) desktop is xcorderskycn:
Creating default startup script /root/vnc/xstartup
Starting applications specified in /root/vnc/xstartup
Log file is /root/vnc/xcorderskycn:log
如果存在防火墙还需要开放防火墙然后就可以通过浏览器在端口访问vncserver了
可以通过如下命令确认端口已经正常启动:
[root@xcorder ]# netstat an|grep
tcp ::* LISTEN
tcp ::* LISTEN
tcp ::* LISTEN
VNC在客户段需要JRE运行环境如果本机未安装可以到以下地址下载
通过VNC远程安装Oracle是非常不错的一个选择