How to configure the network card in linux?

藏色散人
Release: 2020-09-18 09:41:47
Original
43770 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!