Software preparation: VirtualBox: a virtual machine software released by oracle. CentOS-6.3-i386-bin-DVD1.iso: cenos system www.2cto.com first step: Install virtualBox, this installation software and other software, according to their needs to choose the next step on it. Step 2: install the system and create a new Virtual Computer
If there are no special requirements, it will be better to continue the next step by default. Double-click the new virtual computer: in the figure below, select your system image and click Start to install it. After installing the system, you must configure the system ip Address [root @ localhost yum. repos. d] # vi/etc/sysconfig/network-scripts/ifcfg-eth0 according to the following configuration file: 1: DEVICE = "eth0" Nic name 2: BOOTPROTO = "static" set ip mode, for static IP 3: IPADDR = "192.168.0.110" set IP address 4: NETMASK = "255.255.255.0" set subnet mask address 5: GATEWAY = "192.168.0.1" set GATEWAY address 6: HWADDR = "08: 00: 27: 3E: 3E: F4 "7: NM_CONTROLLED =" yes "8: ONBOOT =" yes "set loading when starting 9: TYPE =" Ethernet "10: UUID = "3accceb9-349c-4ce2-bcaa-4a9df49cf3b 4 "after the configuration is complete, Press esc to exit the editing state, and then: wq to save and exit. Restart the network service network restart. If the ip address is configured, you cannot access the Internet normally. You also need to configure domain name resolution [root @ localhost yum. repos. d] # vi/etc/resolv. add the following DNS address nameserver 8.8.8.8 to the conf file.
Nameserver 8.8.4.4
Www.2cto.com
The addresses can be resolved normally.
[Root @ localhost yum. repos. d] # ping baidu.com
PING baidu.com (123.125.114.144) 56 (84) bytes of data.
64 bytes from 123.125.114.144: icmp_seq = 1 ttl = 54 time = 23.0 MS
64 bytes from 123.125.114.144: icmp_seq = 2 ttl = 54 time = 22.6 MS
64 bytes from 123.125.114.144: icmp_seq = 3 ttl = 54 time = 24.2 ms because the scp command is required for file transmission, all the scp packages that need to be installed run the command [root @ localhost yum. repos. d] # yum install openssh-clients after installation, you can use the scp command for file transmission.