Create a virtual machine
Open Virtual box, click the "New" button, click "Next", enter the VM name ESHOP-CACHE01, select the operating system for Linux, choose the version of Red Hat, allocate 1024MB of memory, the following options are all used by default, in virtual Disk file location and size, be sure to choose a directory to hold the virtual machine files, and finally click the "Create" button to start creating the virtual machine. set up the virtual machine NIC
Select the created virtual machine, click the "Settings" button, in the Network column, in the connection mode, select "Bridged Adapter". Installing the CentOS 6.5 operating system in a virtual machine
Select the created virtual machine, click the "Start" button, select the installation media (that is, the local CentOS 6.5 image file), you can also copy a person has been installed. Rebooting the system
After installation, CentOS will remind you to restart, that is reboot, you will be reboot. Configure the network
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Remove Hwaddr, uuid,nm_controlled
Device=eth0
Type=ethernet
Onboot=yes
bootproto=dhcp
Service Network restart
Ifconfig
bootproto=static modified to static IP will not change
ipaddr=192.168.0.x host IP to and host IP on a network segment
netmask=255.255.255.0
gateway=192.168.0.1
Service Network Restart configuration hosts
Vi/etc/hosts
Configure the native hostname-to-IP address mapping configuration SecureCRT
In general, VM management software, virtual box, can be used to create and manage virtual machines, but generally do not directly in the VirtualBox inside to operate, because it is more troublesome, there is no way to copy and paste off the firewall
Service Iptables Stop
Service Ip6tables Stop
Chkconfig iptables off
Chkconfig Ip6tables off
Vi/etc/selinux/config
Selinux=disabled
Shut down the Windows Firewall
(10) Configuring Yum
Yum Clean All
Yum Makecache
Yum install wget resolves a problem with introducing a virtual machine report uuid
Tap the following command:
VBoxManage.exe internalcommands Sethduuid D:\centos02\centos6.4.vdi
Prompt for the following:
UUID changed to:0156199f-6e83-4cd6-97b7-c9e24d9cd26d