RHEL6.4KVM virtual Nic bridging, PXE unattended Virtual Machine Installation

Source: Internet
Author: User
Experimental requirements: Install KVM Virtual Machine in Vmware, PXE boot unattended installation of Virtual Machine ---------------------------------------- split line recommended reading: LinuxPXE unattended installation appear PXE-E32: TFTPOPentimeout solution http://www.linuxidc.

Lab requirements: Install the KVM Virtual Machine in Vmware, and PXE guides unattended installation of virtual machines

-------------------------------------- Split line --------------------------------------

Recommended reading:

Linux PXE unattended installation of PXE-E32: TFTP OPen timeout solution http://www.linuxidc.com/Linux/2014-03/98986.htm

Use PXE with kickstart to automatically install Linux http://www.linuxidc.com/Linux/2014-03/98014.htm

RHCE-certified unattended Linux system (FTP + TFTP + DHCP + Kickstart + PXE) http://www.linuxidc.com/Linux/2013-10/91013.htm

PXE network installation (unattended and unattended installation) http://www.linuxidc.com/Linux/2013-07/87456.htm

-------------------------------------- Split line --------------------------------------

1. Install RHEL6.4 in Vmware

2. Install vmtools
Process omitted...
Disable firewall and Selinux

[Root @ server ~] # Service iptables stop

[Root @ server ~] # Chkconfig iptables off

[Root @ server ~] # Setenforce 0

[Root @ server ~] # Vim/etc/sysconfig/selinux

SELINUX = disabled

3. Set the IP address to 192.168.100.1.

4. Disabling NetworkManager // disabling NetworkManager will affect Nic settings

[Root @ server ~] # Service NetworkManager stop

[Root @ server ~] # Chkconfig NetworkManager off

[Root @ server ~] # Shutdown-h now

5. Adjust vmware settings
Shut down, click the processor. Then check the virtualization Inter VT-x/EPT or AMD-V/rvi (V) in the right window virtualization engine, OK

Find the RedHat6.4 installation directory, right-click and select notepad to open the Redhat6.4 64-bit. vmx file, and add apic. xapic. enable = "FALSE"

6. Configure YUM

7. Install KVM

[Root @ server ~] # Yum-y groupinstall "Virtualization" "Virtualization Client" "Virtualization Platform" "Virtualization Tools"
[Root @ server ~] #/Etc/init. d/lib1_d start

[Root @ server ~] # Chkconfig libmongod on

8. Configure PXE

Process omitted

9. Set the HOST to bridge the network


[Root @ server ~] # Cd/etc/sysconfig/network-scripts/

[Root @ server network-scripts] # cp ifcfg-eth0 ifcfg-br0

[Root @ server network-scripts] # vim ifcfg-br0.

DEVICE = "br0"

HWADDR = 00: 0C: 29: D7: 31: 92

NM_CONTROLLED = "yes"

ONBOOT = "yes"

TYPE = "Bridge"

IPADDR = 192.168.100.1

PREFIX = 24

[Root @ server network-scripts] # vim ifcfg-eth0.

DEVICE = "eth0"

HWADDR = 00: 0C: 29: D7: 31: 92

IPV6INIT = "yes"

NM_CONTROLLED = "yes"

ONBOOT = "yes"

TYPE = "Ethernet"

BRIDGE = br0

9. You can create kvm vm storage files.

[Root @ server ~] # Mkdir-p/data/image

[Root @ server ~] # Dd if =/dev/zero of =/data/image/vt1.img bs = 10 M count = 1000

10. Install the KVM Virtual Machine

[Root @ server network-scripts] # virt-manager

For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-05/101170.htm

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.