In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
I. the method of configuring static IP address without using the network manager nmcli
Go to the / etc/sysconfig/network-scripts directory and find the configuration file (ifcfg-enp0s3) for the interface
Open configuration file to modify ifcfg-enp0s3BOOTPROTO and change it to static to join IPADDR, NETMASK, GATEWAY
3. Save the changes and restart the network service using the following command:
Systemctl restart network.service
4. Now verify that the interface is configured correctly:
Ip add
Network connectivity
2. The method of configuring static IP address by using network manager nmcli
1. View all connections
Nmcli connection show
two。 Configure static ip
Nmcli c modify enp0s3 ipv4.address 192.168.68.166 ipv4.gateway 192.168.68.1 ipv4.method manual
3. Restart the network service takes effect. Check ip.
Systemctl restart network.serviceip add
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.