In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Environment
Hardware platform: home-made arm64 3399cpu Seaboat server
Operating system: sea boat server operating system 1.0A
When accessing the domain name www.abc.com, access the two ip addresses of 192.168.1.125192.168.1.8 in turn to achieve load sharing.
Nano / etc/bind/named.conf.default-zones / / add the following, nano is the text editor under linux
Zone "abc.com" {
Type master
File "/ etc/bind/www.abc.com"
}
Nano / etc/bind/www.abc.com / / the new file "www.abc.com" sets the following
$TTL 604800
@ IN SOA abc.com. Root.localhost. (
1; Serial
604800; Refresh
86400; Retry
2419200; Expire
604800); Negative Cache TTL
@ IN NS localhost.
Abc.com IN NS 192.168.1.125
IN NS 192.168.1.8
Www IN A 192.168.1.125
IN A 192.168.1.8
Add one line to nano named.conf.options
Rrset-order {order cyclic;}
Nano / etc/rc.local / / sets the boot to start automatically.
/ etc/init.d/bind9 start
Reboot can restart the server.
When in use, it is necessary to modify the DNS of the computer, re-enable and deactivate the network to obtain the DNS resolution address.
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.