In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Xiaobian to share with you how to modify IP/DNS Ubuntu Server, I believe most people still do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
First let everyone know about Ubuntu Server, and then a comprehensive introduction to Ubuntu Server, I hope it is useful to everyone. The Ubuntu team has an open commitment to its users:Ubuntu is always free, and there is no extra charge for the "Enterprise Edition", on the same free team that brings the best work to everyone. A website has been set up in the laboratory, placed under Ubuntu Server in the virtual machine, and needs to be configured so that it can be accessed within the local area network.
Virtual machine changed to "bridge" mode.
(1)Ubuntu Server Change IP
Open/etc/network/interfaces
sudo vim /etc/network/interfaces
Add the following sentence:
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx #IP address
netmask xxx.xxx.xxx.xxx #subnet mask
gateway xxx.xxx.xxx.xxx #gateway
(2)Ubuntu Server modify DNS
How to modify DNS address of network card
sudo vim /etc/resolv.conf
Amend to read:
search localdomain
nameserver 172.16.3.4 DNS that you want to modify
nameserver 172.16.3.3 DNS that you want to modify
(3)Ubuntu Server*** is also the most important step.
Add this command to the rc.local:
sudo /etc/init.d/networking restart
The above is "Ubuntu Server how to modify IP/DNS" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to 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.