In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Environment description:
Host operating system: Win10
VMware version: 14
Virtual machine operating system: CentOS7
1. Check centos7 ip. The command and screenshot are as follows
# ip addr
two。 Modify centos7 network configuration
# vi etc/sysconfig/network-scripts/ifcfg-ens33
Set up onboot=yes,bootproto=dhcp
3.VMware-> Edit-> Virtual Network Editor-> change configuration
Confirm after adding the network
4. Enter the network and sharing center in the host and change the adapter, as follows:
Confirm after selection.
5. Restart the centos7 network service and view the ip
# service network restart
# ip addr
6. Open the Xshell5 connection to the virtual machine
7. Virtual machine configuration fixed IP
What is configured above is to automatically assign ip to virtual machines, so that the ip will be replaced over a period of time, of course, this is not what we want, so the ip that holds each virtual machine is what we need.
Then add a static IP address configuration under / etc/sysconfig/network-scripts. As shown below:
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.