Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of CentOS7 Network setting in vmware

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "the method of setting up CentOS7 network in vmware", which is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how to set up CentOS7 network in vmware".

In order to be able to use XShell to manage our installed CentOS7 system, we first need to set up CentOS7's network so that it can be connected to the Internet.

1. Select the editor for vmware, and then click the virtual network editor

two。 Click to change settings (administrator privileges are required)

3. Select VMnet0 as the bridging mode, select automatic or network card

4. Open the "Network and sharing Center" and select the "VMware Virtual Ethernet Adapter for VMnet8" network card, right-click to select properties, check VMware Bridge Protocol, and set ip to obtain automatically.

5. Set the network settings of the virtual machine and select NAT mode

6. Enter the command cd / etc/sysconfig/network-scripts, go to the directory, and type ls to view all the files, and vi to open and edit the ifcfg-ens33 file.

7. Modify the BOOTPROTO=dhcp,ONBOOT=yes. Enter I to enter edit mode. After you modify it, click ESC, and type: wq to save and exit.

8. Enter service network restart to restart the network

9. Enter ifconfig to check whether the network is set up successfully. An ip number means that the setting is successful.

10. Use the installed XShell link CentOS

11. Link successful

The above is all the content of this article "the method of CentOS7 Network setup in vmware". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report