Chinaunix首页 | 论坛 | 博客
  • 博客访问: 666240
  • 博文数量: 168
  • 博客积分: 2928
  • 博客等级: 中校
  • 技术积分: 1904
  • 用 户 组: 普通用户
  • 注册时间: 2010-01-04 09:56
文章分类

全部博文(168)

文章存档

2010年(168)

我的朋友

分类: Oracle

2010-05-18 11:37:42

在Solaris下安装VNC 远程安装Oracle

1.下载文件
可以到官方站点下载,也可以到下载。
也可以从。

2.解压缩
# ls
vnc-3.3.4-solaris_2.5.tar.gz
# gzip -d vnc*
# ls
vnc-3.3.4-solaris_2.5.tar
# tar -xvf *.tar
x vnc-3.3.4-solaris_2.5, 0 bytes, 0 tape blocks
x vnc-3.3.4-solaris_2.5/README, 7763 bytes, 16 tape blocks
x vnc-3.3.4-solaris_2.5/vncinstall, 1991 bytes, 4 tape blocks
x vnc-3.3.4-solaris_2.5/Xvnc, 1748460 bytes, 3415 tape blocks
x vnc-3.3.4-solaris_2.5/Xvnc.man, 6114 bytes, 12 tape blocks
x vnc-3.3.4-solaris_2.5/vncviewer, 320376 bytes, 626 tape blocks
x vnc-3.3.4-solaris_2.5/vncviewer.man, 14590 bytes, 29 tape blocks
x vnc-3.3.4-solaris_2.5/vncpasswd, 14620 bytes, 29 tape blocks
x vnc-3.3.4-solaris_2.5/vncpasswd.man, 1537 bytes, 4 tape blocks
x vnc-3.3.4-solaris_2.5/vncconnect, 7848 bytes, 16 tape blocks
x vnc-3.3.4-solaris_2.5/vncconnect.man, 1815 bytes, 4 tape blocks
x vnc-3.3.4-solaris_2.5/vncserver, 13687 bytes, 27 tape blocks
x vnc-3.3.4-solaris_2.5/vncserver.man, 4237 bytes, 9 tape blocks
x vnc-3.3.4-solaris_2.5/LICENCE.TXT, 18000 bytes, 36 tape blocks
x vnc-3.3.4-solaris_2.5/classes, 0 bytes, 0 tape blocks
x vnc-3.3.4-solaris_2.5/classes/DesCipher.class, 7143 bytes, 14 tape blocks
x vnc-3.3.4-solaris_2.5/classes/animatedMemoryImageSource.class, 1329 bytes, 3 tape blocks
x vnc-3.3.4-solaris_2.5/classes/authenticationPanel.class, 2068 bytes, 5 tape blocks
x vnc-3.3.4-solaris_2.5/classes/clipboardFrame.class, 1761 bytes, 4 tape blocks
x vnc-3.3.4-solaris_2.5/classes/index.vnc, 597 bytes, 2 tape blocks
x vnc-3.3.4-solaris_2.5/classes/optionsFrame.class, 3489 bytes, 7 tape blocks
x vnc-3.3.4-solaris_2.5/classes/rfbProto.class, 8033 bytes, 16 tape blocks
x vnc-3.3.4-solaris_2.5/classes/shared.vnc, 565 bytes, 2 tape blocks
x vnc-3.3.4-solaris_2.5/classes/vncCanvas.class, 6271 bytes, 13 tape blocks
x vnc-3.3.4-solaris_2.5/classes/vncviewer.class, 7489 bytes, 15 tape blocks
x vnc-3.3.4-solaris_2.5/classes/vncviewer.jar, 20370 bytes, 40 tape blocks

# cd vnc*
# ls
LICENCE.TXT     Xvnc            classes         vncconnect.man  vncpasswd       vncserver       vncviewer
README          Xvnc.man        vncconnect      vncinstall      vncpasswd.man   vncserver.man   vncviewer.man

3.组织相应的文件到系统目录
# mkdir -p /usr/local/vnc/classes
# ls
LICENCE.TXT     Xvnc            classes         vncconnect.man  vncpasswd       vncserver       vncviewer
README          Xvnc.man        vncconnect      vncinstall      vncpasswd.man   vncserver.man   vncviewer.man
# cp classes/* /usr/local/vnc/classes
# cp *vnc* /usr/bin       
# mkdir $HOME/.vnc
# PATH=$PATH:/usr/local/bin:/usr/openwin/bin:/usr/openwin/lib:/usr/ccs/bin:/usr/ucb:/usr/dt/bin
export PATH

4.启动vncserver
此时需要输入口令,这个口令被用于登陆认证。
# vncserver

You will require a password to access your desktops.

Password: 
Verify:   
xauth:  creating new authority file //.Xauthority

New 'X' desktop is smsyw13:1

Creating default startup script. //.vnc/xstartup
Starting applications specified in //.vnc/xstartup
Log file is //.vnc/smsyw13:1.log

5.此时即可通过客户端浏览器访问

如果存在防火墙,需要开放5801和5901端口。
阅读(574) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~