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

Steps to start the network card in Linux CentOS

藏色散人
藏色散人forward
2021-02-22 14:18:427709browse

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!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete