记录日常工作关于系统运维,虚拟化云计算,数据库,网络安全等各方面问题。
使用OpenXenManager管理XCP

centos6已安装桌面环境、subversion、python、gtk、gtk-vnc-*等

svn co https://openxenmanager.svn.sourceforge.net/svnroot/openxenmanager/ openxenmanager

cd openxenmanager

python window.py

windows xp下使用vnc viewer管理:

 

VNCserver设置:

yum –y install tigervnc tigervnc-server

 

vi /etc/sysconfig/vncservers

VNCSERVERS=”1:root”

 

设置密码:

vncpasswd

 

密码保存在:~/.vnc/passwd

 

/etc/init.d/vncservers start

 

ll .vnc/

total 16

-rw-------. 1 root root   8 Jul 27 10:59 passwd

-rw-r--r--. 1 root root 808 Jul 27 11:09 test:1.log

-rw-r--r--. 1 root root   6 Jul 27 11:08 test:1.pid

-rwxr-xr-x. 1 root root 575 Jul 27 11:06 xstartup

 

netstat -antulp

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address  Foreign Address    State       PID/Program name  

tcp   0      0 0.0.0.0:5901         0.0.0.0:*         LISTEN      12075/Xvnc         

tcp   0      0 0.0.0.0:6001         0.0.0.0:*         LISTEN      12075/Xvnc 

 

windows客户端连接:

使用VNC Viewer

Server: 192.168.1.114:5901

Password:(Vncpasswd 设置的密码)

参考:

http://sourceforge.net/apps/trac/openxencenter/wiki/GettingStarted#Centos




转载请标明出处【使用OpenXenManager管理XCP】。

《www.micoder.cc》 虚拟化云计算,系统运维,安全技术服务.

网站已经关闭评论