eygle.com   eygle.com
eygle.com  
 

« 中国移动之心-谁与争锋 | Blog首页 | DBA警世录:DBA千万不要想当然 »

在Linux下安装VNC 远程安装Oracle

作者:eygle |【转载时请以超链接形式标明文章和作者信息及本声明
链接:

以前写过一篇:在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在客户段需要JRE运行环境,如果本机未安装,可以到以下地址下载:

http://java.sun.com/javase/downloads/index.jsp

通过VNC远程安装Oracle是非常不错的一个选择.

 


历史上的今天...
      >> 2009-06-12文章:
      >> 2007-06-12文章:
             生如夏花
      >> 2005-06-12文章:
------
这篇 【在Linux下安装VNC 远程安装Oracle】来自 eygle.com | CSDN网摘| del.icio.us|Google订阅 | 鲜果订阅 | 抓虾订阅

By eygle on 2006-06-12 15:41 | Comments (1) | Posted to Unix&Linux | Edit |

相关文章 随机文章
  • OEL Linux与Oracle Validated Configurations
  • Linux下如何查看文件秒级修改及访问时间
  • Linux + Oracle 数据库系统启动能有多快?
  • 使用Linux下script工具记录Oracle输出
  • 使用kudzu命令查看网卡型号
  • Gtalk升级也疯狂
    故障总是在同一个地方出现
    生命的律动
    Oracle诊断案例-SGA与Swap之一
    婆婆妈妈与恩墨的时代
    搜索本站:

    留言 (1)

    为什么在客户端通过VNC连到一台linux服务器后,运行有菜单驱动的程序(如Setup),按“TAB”、“ALT+TAB”无效呢?谢谢!

    Posted by: wzknet at December 11, 2006 5:19 PM

    发表留言:



    Remember Me?
    (输入验证码后方可评论,谢谢支持)



    CopyRight © 2004~2010 eygle.com, All rights reserved.