VMware inside the CentOS 6.5&7.2 configuration network.

Source: Internet
Author: User

VMware ensures that virtual machines use bridging mode; 650) this.width=650; "Src=" http://s4.51cto.com/wyfs02/M02/86/F4/ Wkiom1fpotmhthvjaaezcrq9bai678.png-wh_500x0-wm_3-wmp_4-s_2233853990.png "title=" 1.png "alt=" Wkiom1fpotmhthvjaaezcrq9bai678.png-wh_50 "/>


Here first write 6.5 network configuration, ideas: 1 First modify the network card configuration file, 2 settings dns,3 and then restart the service;


Vi/etc/sysconfig/network-scripts/ifcfg-eth0

device=eth0hwaddr=00:0c:29:8c:92:66type=ethernetuuid=11534067-927e-478e-9fd7-7408afd7e04fonboot=yesgateway= 192.168.10.1ipaddr=192.168.10.65netmask=255.255.255.0nm_controlled=yesbootproto=staticpeerdns=yesdns1= 114.114.114.114dns2=61.139.2.69

Here directly to my full profile, during the episode, did not set the DNS in Ifcfg-eth0, ping outside the network old; then recheck the DNS configuration file (/etc/resolv.conf) and network card profile (Ifcfg-eth0)


Vi/etc/resolv.conf

# Generated by Networkmanagernameserver 114.114.114.114nameserver 61.139.2.69


And then restart the service, unexpectedly found that etcresolv.conf every restart is not the DNS is saved, and then directly in the network card configuration file to add DNS resolution;

Then restart Services: Service network restart

Ok

Back to Normal


============= Next Set 7.2=============

7.2 After the installation is complete , the reboot will appear after boot:

Initial setup of CentOS Linux 7 (CORE) 1) [x] creat user 2) [!] License information (no user would be created) (License not accepted) * * your choice from above [' Q ' to quit | ' C ' to continue | ' R ' to refresh]:

Workaround:

Enter "1" and press ENTER

Enter "2" and press ENTER

Enter "Q" and press ENTER

Enter "Yes" and press the ENTER key


Installation time to open the network card connection, the direct Internet is unobstructed, the individual set fixed IP, according to the actual demand;

Type= "Ethernet" bootproto= "static" defroute= "yes" peerdns= "yes" peerroutes= "yes" ipv4_failure_fatal= "no" ipv6init= " Yes "ipv6_autoconf=" yes "ipv6_defroute=" yes "ipv6_peerdns=" yes "ipv6_peerroutes=" yes "ipv6_failure_fatal=" no "NAME=" eno16777736 "uuid=" 409a4cf4-ee35-43f3-8c93-1f854445492d "device=" eno16777736 "onboot=" yes "gateway= 192.168.10.1ipaddr=192.168.10.72netmask=255.255.255.0


Take a snapshot here and change the NIC eno16777736 to Eth0

This article is from the "About Linux&python study notes" blog, please be sure to keep this source http://maxos.blog.51cto.com/12033955/1847231

VMware inside the CentOS 6.5&7.2 configuration network.

Related Article

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.