由于使用oracle VM安装oracle 数据库,当需要图形显示的时候,如何操作呢?
环境介绍:
-----------------------------
VM server host
OS:VM linux
Hostname: cnexa1.cn.oracle.com
IP:10.182.208.112 (外网IP,可以通过client端连接上来)
IP:192.0.2.1 (VM内网IP,可以连接上面的虚拟机)
-----------------------------
VM node1
OS:oracle linux
Hostname:qr01db01
IP:192.0.2.14
-----------------------------
Local manage Client
OS: window 7
IP:10.182.209.16
-----------------------------
使用putty开启两个远程会话窗口,
1, 连接到
login as: root
Access denied
root@cnexa1.cn.oracle.com's password:
Last login: Wed Sep 19 21:41:27 2012 from dhcp-cn-10-182-209-16.cn.oracle.com
[root@cnexa1 ~]# hostname
cnexa1.cn.oracle.com
[root@cnexa1 ~]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 567 4 r----- 39981.9
qr01cel01 23 2240 1 -b---- 93865.2
qr01cel02 12 2240 1 -b---- 102415.7
qr01db01 29 3360 1 -b---- 16782.5
qr01db02 28 3360 1 -b---- 27337.7
[root@cnexa1 ~]# ssh qr01db01
root@qr01db01's password:
Last login: Wed Sep 19 13:41:39 2012 from 192.0.2.1
[root@qr01db01 ~]# su – oracle
启用该虚拟机的vnc server服务
[oracle@qr01db01 ~]$ vncserver :1
New 'qr01db01.example.com:1 (oracle)' desktop is qr01db01.example.com:1
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/qr01db01.example.com:1.log
查看本栏目更多精彩内容:http://www.bianceng.cnhttp://www.bianceng.cn/Servers/virtualization/