Initial configuration of the Centos 7.x system after installation

Source: Internet
Author: User

1, configure IP, gateway, edit/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ENP5S0

Type=EthernetBootproto =none               //default is DHCPDefroute=Yespeerdns=yespeerroutes=Yesipv4_failure_fatal=Noipv6init=yesipv6_autoconf=Yesipv6_defroute=Yesipv6_peerdns=yesipv6_peerroutes=Yesipv6_failure_fatal=NoNAME=Eno16777736uuid=b33237b8-41c4-4c89-9100-484fb20b1b67device=eno16777736onboot =yes                   //default is no, no when restart network, Nic does not startipaddr=192.168.100.2//Add your own configuration netmask=255.255.255.0//Add your own configuration gateway=192.168.100.1//Add your own configuration

2, configure DNS information, general DNS configuration in the /etc/resolv.conf file

Respect for the work of others reproduced please be sure to indicate the source: http://www.cnblogs.com/5201351/p/4646933.html

Initial configuration of the Centos 7.x system after installation

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.