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

How to set up CentOS7 network in vmware

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces "how to set up the CentOS7 network in vmware". In the daily operation, I believe many people have doubts about how to set up the CentOS7 network in vmware. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to set up the CentOS7 network in vmware". Next, please follow the editor to study!

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

At this point, the study on "how to set up the CentOS7 network in vmware" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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

Development

Wechat

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

12
Report