Linux virtualization KVM (1)

Source: Internet
Author: User
Tags ide hard drive


1. The system must use 64-bit 2 to check whether the hardware can be virtualized.
View kernel version yum install libvirt installation api support yum groupinstall Virtualization alization 'virtualization alization client' yum-y install qemu-kvm * yum-y install kvmyum-y install python-kernel instyum-y install bridge- utilsyum-y install virt-vieweryum-y install virt-manageryum-y install SDL-devel. I * yum-y install kernel-* yum-y install pciutils-devel. I * yum-y install zlib-devel. I * service lib1_d start www.2cto.com
In Centos6.3, do not upgrade the Kernel. It is best to align it with the version on the kvm network. · 2.6.20 kvm-12 · 2.6.21 kvm-17 · 2.6.22 kvm-22 · your kernel has to be 2.6.29 or newer to run any version of qemu-kvm (kernel 2.6.27/2.6.28 with kvm-kmod 2.6.29 will also work) www.2cto.com
It will be used after installation. At this time, the graphical advantages will come, of course, for newcomers. Vncyum install tigervnc-server-yyum install fontforge-yyum groupinstall Desktop-y requires a password when it is started for the first time. The password is saved in/root/. vnc/passwd.
Modify the xstartup file and add gnome-session & Shift + g to the last twm & delete file. Modify the/etc/sysconfig/vncservers file vim/etc/sysconfig/vncserversVNCSERVERS = "2: root"
# Desktop number: the user listens to port 590 *
VNCSERVERARGS [2] = "-geometry 1280x800": configure the firewall and allow the port number of 5900 + 2 (desktop number) to use the vnc Remote Server www.2cto.com service iptables restarta. in linux, run the vncviewer command. The format of the server address is 192.168.3.119: 1.
B. In windows, run vncviewer of windows. Its usage is similar to that in linux.

C. Use a browser (platform-independent) as a java applet to start the program in the form of http: // 192.168.3.119: 5801 (The vnc port starts from 5800 and so on, usually 5800,5900) to start kvm www.2cto.com
 
Click Create Virtual Machine (like hyper) to transfer large iso files to ftp, smb, or ssh to transfer iso
Network Configuration for kvm Virtual Machine Network: a) Virtual Network 'default': NAT (default mode, supports Virtual Machine Internet access but does not support mutual access) B) host device vnet0 (depending on the effort): macvtap (supporting mutual access) c) host device vent0 (bridging 'br0') (bridge mode, you can use virtual machines to become hosts with independent IP addresses in the network.) www.2cto.com
Virtual Machine option settings
After clicking open, you need to replace the default IDE hard drive and NIC with virtio and add the driver to improve the performance.
(I have not installed the website) www.2cto.com
 
No machine is running now, but you can try to establish it.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.