Home  >  Article  >  Operation and Maintenance  >  How to configure the network card in linux?

How to configure the network card in linux?

藏色散人
藏色散人Original
2019-05-21 15:39:4543895browse

How to configure the network card in linux?

If the newly installed Linux server uses DHCP, you need to manually configure the network card information.

Linux configuration network card steps:

1. Ifconfig command checks you, there is no ip address information

How to configure the network card in linux?

2. Enter the /etc/sysconfig/network-scripts directory

How to configure the network card in linux?

3. ll ifcfg-*

Find the network card configuration file ifcfg-ens32

How to configure the network card in linux?

4. The configuration file before editing is as shown in the figure. The marked places need to be edited

How to configure the network card in linux?

5. Edit The following content is as follows, exit and save

How to configure the network card in linux?

6. Restart the network card

systemctl restart network

How to configure the network card in linux?

7. Test

How to configure the network card in linux?

Related learning recommendations: linux video tutorial

The above is the detailed content of How to configure the network card in linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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