Centos 6.2 开启 VNC
[ 2012/03/28 18:48 | by selboo ]
一、查看是否安装 VNC
好像 6.0 以后VNC名字 由 vnc 改成 tigervnc
[root@xen ~]# rpm -qa|grep tigervnc
tigervnc-1.0.90-0.17.20110314svn4359.el6.x86_64
tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64
如果没有就安装下了
[root@xen ~]# yum install tigervnc tigervnc-server
添加启动项
[root@xen ~]# chkconfig --add vncserver
[root@xen ~]# chkconfig vncserver on
二、设置 VNC 密码
[root@xen ~]# vncserver
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/xen:1.log
会在当前用户主目录下 生成 .vnc 目录和配置文件
[root@xen ~]# vncpasswd
Password:
好像 6.0 以后VNC名字 由 vnc 改成 tigervnc
[root@xen ~]# rpm -qa|grep tigervnc
tigervnc-1.0.90-0.17.20110314svn4359.el6.x86_64
tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64
如果没有就安装下了
[root@xen ~]# yum install tigervnc tigervnc-server
添加启动项
[root@xen ~]# chkconfig --add vncserver
[root@xen ~]# chkconfig vncserver on
二、设置 VNC 密码
[root@xen ~]# vncserver
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/xen:1.log
会在当前用户主目录下 生成 .vnc 目录和配置文件
[root@xen ~]# vncpasswd
Password:
Xen 下安装 Linux
[ 2010/03/01 18:29 | by selboo ]
用户手册 Xen v3.0 http://selboo.com.cn/book/Xen3man/
官网手册 http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/zh-CN/Virtualization/index.html
重建一个10G 硬盘
[root@localhost ~]# dd if=/dev/zero of=/home/xenlinux/centos-xen bs=1M count=10240
开始安装
[root@localhost boot]# virt-install
What is the name of your virtual ma
官网手册 http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/zh-CN/Virtualization/index.html
重建一个10G 硬盘
[root@localhost ~]# dd if=/dev/zero of=/home/xenlinux/centos-xen bs=1M count=10240
开始安装
[root@localhost boot]# virt-install
What is the name of your virtual ma
Centos Xen 安装
[ 2010/03/01 18:15 | by selboo ]
配置 yum
[root@localhost kernels]# vi /etc/yum.repos.d/1.repo
[centos]
baseurl=file:///mnt
enabled=1
修改 /etc/yum.conf 下的 gpgcheck=1 为 gpgcheck=0
挂在镜像
mount -o loop /iso/CentOS-5.3-x86_64-bin-DVD.iso /mnt/
安装 xen
[root@localhost kernels]# y
[root@localhost kernels]# vi /etc/yum.repos.d/1.repo
[centos]
baseurl=file:///mnt
enabled=1
修改 /etc/yum.conf 下的 gpgcheck=1 为 gpgcheck=0
挂在镜像
mount -o loop /iso/CentOS-5.3-x86_64-bin-DVD.iso /mnt/
安装 xen
[root@localhost kernels]# y