In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to solve the problem of Centos7 after installation. The content is detailed and easy to understand. The operation is simple and fast. It has certain reference value. I believe that after reading this article, Centos7 cannot be connected to the Internet. How to solve the article will be harvested. Let's take a look at it together.
After installing centos 7 in the vmware virtual machine today, I found that centos is not networked by default. The networking settings are modified as follows:
Enter directory:
cd /etc/sysconfig/network-scripts/
Find the name of the NIC configuration file. This NIC configuration file can be viewed with the ifconfig command, as shown in the figure below. The NIC name of my virtual machine is ens33.
Use ls command to view network card configuration file name:
Edit the last line of the ifcfg-ens33 file and change onboot=no to onboot=yes, as shown below:
Finally enter:wq to save and exit, and then restart the network:
service network restart
Done, at this time the virtual machine can access the Internet also has an IP.
About "Centos7 installation can not be connected to the Internet how to solve" the content of this article is introduced here, thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to solve the problem after Centos7 installation." If you still want to learn more knowledge, please pay attention to 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.