![KVM Virtualization Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/85/36701085/b_36701085.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
- Start a new KVM-accelerated qemu instance:
root@kvm:~# qemu-system-x86_64 -name debian -vnc 146.20.141.254:0 -cpu Nehalem -m 1024 -drive format=raw,index=2,file=debian.img -daemonize
root@kvm:~#
- Ensure that the instance is running:
root@kvm:~# pgrep -lfa qemu
4987 qemu-system-x86_64 -name debian -vnc 146.20.141.254:0 -cpu Nehalem -m 1024 -drive format=raw,index=2,file=debian.img -daemonize
root@kvm:~#
- Start the VNC client and connect to the VNC server on the IP address and display port you specified in step 1:
![](https://epubservercos.yuewen.com/786992/19470408008959506/epubprivate/OEBPS/Images/VNC-login-screen.png?sign=1739342051-KRbdLrk6sOGvIT9dvTwbxRKLj7HPtPkV-0-63ac2856bfc7fa6e3a9d415d0d758b4f)
The VNC login screen
- Log in to the instance using the root user, then check the CPU type and available memory as shown here:
![](https://epubservercos.yuewen.com/786992/19470408008959506/epubprivate/OEBPS/Images/VNC-connection.png?sign=1739342051-1q0xssYwvo7MWCOLJ9u0Kdc1fUkgDMVm-0-5598c259a28701dc25d0b6d0a23f600f)
VNC session