Network operation after initial installation of Linux

Source: Internet
Author: User
System environment:

[Email protected] ~]# cat/etc/redhat-release
CentOS Linux release 7.2.1511 (Core)

[Email protected] ~]# rpm-q centos-release
Centos-release-7-2.1511.el7.centos.2.10.x86_64

Kernel version:

[Email protected] ~]# cat/proc/version
Linux version 3.10.0-327.18.2.el7.x86_64 ([email protected]) (GCC version 4.8.3 20140911 (Red H

[Email protected] ~]# uname-a
Linux linuxidc 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu may 11:03:55 UTC x86_64 x86_64 x86_64 gnu/linux

To edit the NIC configuration file:

vi/etc/sysconfig/network-scripts/ifcfg-eno16777736
After entering the configuration file, change Onboot=no to Yes, then Wq save and exit.
Restart Web service: Systemctl Restart Network
Use the IP Add command to see if the NIC has been assigned an IP address

Test Network is healthy: (ping command)
Ping www.baidu.com

At this point, you can remotely manipulate the machine using either the CRT or the Xshell.

Network operation after initial installation of Linux

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.