Home > Operation and Maintenance > CentOS > Steps to start the network card in Linux CentOS

Steps to start the network card in Linux CentOS

藏色散人
Release: 2021-02-22 14:18:42
forward
7765 people have browsed it

The following is the tutorial column of centos to introduce Linux CentOS startup network card to everyone. I hope it will be helpful to friends in need!

Steps to start the network card in Linux CentOS

Start the network card and check the ip address

1. Edit the network card configuration, the command is as follows
vi /etc/sysconfig/network-scripts /ifcfg-ens33

2. Press "I": switch to "Insert" state

3. Press the down key of the keyboard and move the cursor to,ONBOOT =no followed by

4. Change no to yes. The effect after the change is: ONBOOT=yes

5. Press "ESC" to exit the editing state

6. Enter :wq and press Enter

7. Restart the network service, the command is as follows
sudo service network restart

8. Check the ip address, the command is as follows
ip addr
How to check the ip address:ens33 Properties of network cardinet

The above is the detailed content of Steps to start the network card in Linux CentOS. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template