本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
Running Mac OS X as a QEMU/KVM GuestGabriel L. SomloLast updated: Mon. May. 04, 2015Feedback to: somlo at cmu dot edu0. I Just Want It Working, Right Now !OK, here's what you'll need (or skip to the technical details instead):Development Tools: git, gcc[-c++], [auto]make, iasl, kernel-devel, etc. On Fedora, yum install @development-tools acpica-tools kernel-devel should take care of it. But, if following the rest of the directions below, you get weird build failures and other unexplained errors, consider the possibility that you're missing something in this category, possibly something I didn't think of listing explicitly above...KVM: As of kernel version 3.15, all necessary functionality is already integrated upstream. Right now, I have 3.15.3-200.fc20.x86_64 on my Fedora 20 machine, and everything works out of the box.For older kernels, it may be possible to build KVM kernel modules using the kvm-kmod "wrapper", by following these instructions.Then, as root, while still i...
现在我们很方便就能在 Mac 上通过 VirtualBox 安装 Mac OS X 虚拟机,如果没 Mac 的话也能很容易在 Linux/Windows 下通过 VirtualBox 体验 Mac,甚至把 Mac OS X 直接装在 PC 上也是可能的。如果想在数据中心这种 KVM/Xen 虚拟环境里安装 Mac OS X 呢?通过 Apple Remote Desktop 连接 n 个 Mac 虚拟机,应该会比较好玩吧。以下操作在 CentOS 6.5 上测试通过。更详细的资料请参考 Running Mac OS X as a QEMU/KVM Guest.首先需要 Linux 3.x 以上的内核,CentOS 6.5 上默认是 2.6.x 内核,所以需要另装或升级内核,我们这里用 CentOS 官方 Xen 源(Xen4CentOS6)里面的最新 Linux 内核,注意这里用的是源里的普通内核,不是要用 Xen 内核,你也可以用其他第三方源的内核或者自己下载内核编译。注意修改 grub.conf 文件的 default=0 部分确认系统启动后启动的是普通内核(不是启动 Xen 内核):# yum install centos-release-xen # yum update # vi /etc/grub.conf ... default=0 ... # reboot 当前的主流 Linux 发行版自带的 kvm/qemu 都不支持 OS X 作为 guest 系统,所以我们需要自己编译 kvm, kvm-kmod, qemu 加上 OS X 的支持。下载 kvm 和 kvm-kmod 源代码后编...
 
0
QEMUYou can easily try out coreboot using QEMU, without having to actually flash the BIOS chip on your real hardware.Contents1 Tutorials2 Ready-made QEMU images2.1 coreboot v2 + SeaBIOS2.2 coreboot v3 + FILO2.3 coreboot + libpayload + coreinfo2.4 coreboot v3 + invaders2.5 coreboot v3 + libpayload + tint2.6 coreboot v3 + Memtest862.7 coreboot v3 + OpenBIOS3 DebuggingTutorials QEMU Build Tutorial — Starting a Debian GNU/Linux system via coreboot + a Linux kernel, or via coreboot + FILO. Booting FreeBSD using coreboot — Booting FreeBSD via coreboot + ADLO.Ready-made QEMU imagesBelow is a list of various downloadable QEMU images you can use to try out coreboot.You need a patched version of vgabios-cirrus.zip for these images to work fine, the version in QEMU's CVS repository does not yet work. The image from Debian's QEMU package (/usr/share/qemu/vgabios-cirrus.bin) is already patched and works, too.coreboot v2 + SeaBIOS SeaBIOS payload.SeaBIOS is an open-source legacy BIOS implementat...
 
0
centos中kvm网桥的设置禁用网络管理器 # chkconfig NetworkManager off# service  NetworkManager stop 新建一个ifcfg-br0文件:DEVICE=br0TYPE=BridgeBOOTPROTO=staticBROADCAST=10.1.255.255IPADDR=10.1.29.3NETMASK=255.255.0.0NETWORK=10.1.0.0ONBOOT=yes 然后修改相应网卡的配置文件,我的是eth1:# Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit EthernetDEVICE=eth1#BOOTPROTO=none#BROADCAST=10.1.255.255HWADDR=D8:5D:4C:74:EE:E8#IPADDR=10.1.29.3#NETMASK=255.255.0.0#NETWORK=10.1.0.0ONBOOT=yes#TYPE=Ethernet#USERCTL=no#IPV6INIT=no#PEERDNS=yesBRIDGE=br0可以看出,原来网卡的配置只保留device名称,硬件地址,onboot选项,以及新添加的BRIDGE=br0。 然后重启网络:/etc/init.d/network restart 或service network restart 实验中在br0中加入gateway后,/etc/sysconfig/network中的gateway就消失了。成功后,利用route -n查看路由,发现所有的包都从br0走了。
CENTOS6.0 KVM 虚拟化web管理安装 1安装KVM 略... 2安装 WEB管理系统 ConVirt yum install wget socat   cd /etc/yum.repos.d   wget --no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo  cd /root/   wget --no-cache http://www.convirture.com/downloads/convirt/2.0.1/convirt-install-2.0.1.tar.gz     wget --no-cache http://www.convirture.com/downloads/convirt/2.0.1/convirt-2.0.1.tar.gz     wget --no-cache http://www.convirture.com/downloads/convirture-tools/2.0.1/convirture-tools-2.0.1.tar.gz   tar -xzf convirt-install-2.0.1.tar.gz   cd convirt-install/install/cms/scripts/ ./install_dependencies 最好把mysql  root密码改成  convirt 到后期我们可以自己改回来 Service mysqld restart source convirt-install/install/cms/scripts/install_config   tar -xzf ./convirt-2.0.1.tar.gz -C $CONVIRT_BASE ./convirt-install/install/cms/scripts/setup_tg2 如果要把数...
XenServer 6.2中的虚拟机默认是不会自动启动的(据说是为了防止在HA环境中出现某些异常),所以如果母鸡(宿主机)异常断电恢复启动后,所有的虚拟机均为关机状态。但如果只是单台XenServer跑若干独立虚拟机,还是有必要让虚拟机开机自动启动的。下面的方法可实现虚拟机开机自动启动:一、用Citrix XenCenter登录并切换到Console —— Local Command Shell,或SSH工具(如putty、SecureCRT)登录到XenServer;二、查看所有的pool并设置pool自动启动:1、xe pool-list 查看所有的pool:[root@xenserver ~]# xe pool-list uuid ( RO) : c7d7a7e4-77ad-e6a6-c935-4cba102881a8 name-label ( RW): name-description ( RW): master ( RO): b35d1618-ad4e-4830-89da-d93788e9f082 default-SR ( RW): 85280950-f08d-9e4d-5e51-f0ec4e221a7a 2、设置pool的自动启动:[root@xenserver ~]# xe pool-param-set uuid=c7d7a7e4-77ad-e6a6-c935-4cba102881a8 other-config:auto_poweron=true 注意要把上面的c7d7a7e4-77ad-e6a6-c935-4cba102881a8换成你的pool的uuid。三、列出所有的虚拟机并设置自动启动:1、xe vm-list 列...
Citrix XenServer6.0发布了,发现citrix很傻的把原先虚拟机的自启动功能给去掉了,很不方便,难以理解。        花了不少时间终于搞定了xenserver6开机自动启动虚拟机,有几个思路:1.开机任务。2利用vApp或者HA特性。这里公布的是我认为最简单方便的一个实现方法:         Step1:  给需要开机自启动的vm做标记(Tag)         Step2:  在xenserver系统修改开机任务脚本           Step1:          XenCenter里面选中vm---Properties---General--Tags--Edit Tags,比如输入autostart作为Tag的值,给所有需要自动启动的虚拟机都做同样的打标机操作           Step 2:          用SSH工具连到XenServer,用vi编辑文件/etc/rc.d/rc.local          在文件末尾添加两行内容:  &...
XenServer 6.2 配置vGPU 报错:  xenopsd internal error一、环境描述:1、Citrix XenServer 6.2 SP12、Windows 7 64bit3、DELL R7204、NVIDIA GRID K2Citrix XenServer 6.2SP1给虚拟机配置vGPU后,虚拟机启动时报错xenopsd internal error的解决方法:二、启动带有vGPU的虚拟机是报错,无法启动:Mar 7, 2014 4:25:35 PM Error: Starting VM 'CTX-VDA' - Internal error: xenopsd internal error: Unix.Unix_error(20, "open", "/sys/bus/pci/drivers/nvidia/bind")三、关闭XenServer中的虚拟机,在Console中输入reboot回车,重启XenServer服务器。    四、在启动界面按F2进入系统配置(System BIOS)-选择Integrated Devices。五、更改Memroy Mapped I/O above 4GB为Disable(禁用)。六、保存配置并重启服务器。    七、重新配置虚拟机vGPU,启动成功。八、如果还是不行,建议在XenServer Console中卸载NVIDIA驱动,重启XenServer再安装试试。通过rpm -e 卸载。到NVIDIA驱动的目录安装驱动。
AQEMU 0.8.2 - ein grafisches Frontend (Linux, BSD) für QEMU und die Kernel-based Virtual Machine(Link zu dieser Seite als [[QEMU-KVM-Buch/ Managementtools/ AQEMU]]) AQEMU - Reiter "Display". AQEMU - Reiter "Info". AQEMU - Reiter "General". AQEMU - Reiter "HDD". AQEMU - Reiter "CD/DVD/Floppy". AQEMU - Reiter "Device-Manager". AQEMU - Fenster "New Storage Device". AQEMU - Reiter "Network" - "Cards" - "Basic". AQEMU - Reiter "Network" - "Cards" - "Nativ". AQEMU - Reiter "Network" - "Additional Settings". AQEMU - Reiter "Ports". AQEMU - Reiter "Advanced". AQEMU - Reiter "Other" - "Hardware Virtualisation". AQEMU - Reiter "Other" - "VNC". AQEMU - Reiter "Other" - "Optional Images". AQEMU - Reiter "Other" - "Boot Linux Kernel&...
xenserver本地ISO安装虚拟机系统     1.查看vg[root@xenserver~]# vgdisplay   --- Volume group ---  VG Name               VG_XenStorage-8cca1fa8-dc5d-405f-2670-31cd2ffd41632.创建lv[root@xenserver ~]# lvcreate -L 10G -n iso VG_XenStorage-8cca1fa8-dc5d-405f-2670-31cd2ffd41633.格式化[root@xenserver ~]# mkfs.ext3 /dev/VG_XenStorage-8cca1fa8-dc5d-405f-2670-31cd2ffd4163/iso 4.加入/etc/fstabmkdir /iso/dev/VG_XenStorage-8cca1fa8-dc5d-405f-2670-31cd2ffd4163/iso  /iso  ext3 defaults 0 05.拷贝ISO[root@xenserver iso]# wget http://10.10.1.11/iso/rhel-server-5.5-x86-64-dvd.iso6.创建本地iso SR[root@xenserver iso]#xe sr-create name-label=iso_image type=iso device-config:location=/iso device-config:legacy_mode=true contente-type=iso1303d529-15f1-6cac-3a19-586402347e307.重启tools[root@xenserver iso]#xe-mount-iso-sr /iso[r...
    总共50页,当前第18页 | 页数:
  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. 14
  8. 15
  9. 16
  10. 17
  11. 18
  12. 19
  13. 20
  14. 21
  15. 22
  16. 23
  17. 24
  18. 25
  19. 26
  20. 27
  21. 28