Home
PC Games
Linux
Windows
Database
Network
Programming
Server
Mobile
Home
\
Server
\
Enterprise Hadoop cluster architecture - DNS installation
- Find details block device with Linux blkid command
(
Linux
)
- Using IntelliJ IDEA Import Spark Spark latest source code and compile the source code
(
Linux
)
- Spring declarative transaction management
(
Programming
)
- CoreOS use register mirror to build private warehouse
(
Linux
)
- Security: set limits on password
(
Linux
)
- Editor of the popular Linux Gvim
(
Linux
)
- CentOS 5.10 installed Oracle 11G R2
(
Database
)
- Installation GitLab appears ruby_block supervise_redis_sleep action run
(
Linux
)
- Security of data to create a safe .mdb database
(
Linux
)
- TPCC-MySQL Benchmark
(
Database
)
- MongoDB Learning the notes
(
Database
)
- Why HBase need to build SQL engine layer
(
Database
)
- Spring REST Exception Handling
(
Programming
)
- User and user group management Linux Command
(
Linux
)
- Based LNMP + uWSGI deploy Django applications
(
Server
)
- You must ask yourself four questions before deploying Docker
(
Server
)
- React Getting Started Tutorial
(
Linux
)
- To install GCC development environment under SUSE11
(
Linux
)
- WebLogic 12c Configuration Node Manager Managed Server
(
Database
)
- CentOS install Java 1.8
(
Linux
)
Enterprise Hadoop cluster architecture - DNS installation
Add Date : 2018-11-21
Enterprise Hadoop cluster architecture - DNS installed
1. Configure IP
vi / etc / sysconfig / network-scripts / ifcfg-eno16777736
systemctl restart network.service
ip -4 addr
ping 192.168.1.1
vi / etc / hostname
ddd the following line:
dns.hadoop.com
Install DNS Packages
yum -y install bind bind-utils bind-chroot
rpm -qa | grep '^ bind'
Modify /etc/named.conf
listen-on port 53 {any;}; # the original 127.0.0.1 to any
allow-query {any;}; # the original localhost to any
Modify named.rfc1912.zones
Add into the next content :( can also write directly in /etc/named.conf)
zone "hadoop.com" IN {
type master;
file "named.hadoop.com";
allow-update {none;};
};
zone '1.168.192.in-addr.arpa "IN {
type master;
file "named.192.168.1.zone";
allow-update {none;};
};
Forward configuration file parsing
cp named.localhost named.hadoop.com
Then add the following to the file named.hadoop.com
$ TTL 1D
@ IN SOA dns.hadoop.com. Grid.dns.hadoop.com. (
0; serial
1D; refresh
1H; retry
1W; expire
3H); minimum
NS dns.hadoop.com.
dns.hadoop.com. IN A 192.168.1.230
h1.hadoop.com. IN A 192.168.1.231
h2.hadoop.com. IN A 192.168.1.232
h3.hadoop.com. IN A 192.168.1.233
h4.hadoop.com. IN A 192.168.1.234
h5.hadoop.com. IN A 192.168.1.235
h6.hadoop.com. IN A 192.168.1.236
h7.hadoop.com. IN A 192.168.1.237
h8.hadoop.com. IN A 192.168.1.238
Configure reverse lookup file
cp named.localhost named.192.168.1.zone
And add the following:
$ TTL 1D
@ IN SOA dns.hadoop.com. Grid.dns.hadoop.com (
0; serial
1D; refresh
1H; retry
1W; expire
3H); minimum
NS dns.hadoop.com.
231 IN PTR h1.hadoop.com.
232 IN PTR h2.hadoop.com.
233 IN PTR h3.hadoop.com.
234 IN PTR h4.hadoop.com.
235 IN PTR h5.hadoop.com.
236 IN PTR h6.hadoop.com.
237 IN PTR h7.hadoop.com.
238 IN PTR h8.hadoop.com.
View Log
tail -30 / var / log / messages | grep named
Adding DNS server IP resolve
(Machine's IP configuration file which each node is added DNS1 = 192.168.1.230)
Start DNS
# Start DNS
systemctl start named.service
# Set from the start
systemctl start named.service
# View the DNS status
systemctl status named.service
More:
- Android gets the global process information and the memory used by the process
(
Programming
)
- Nodejs complete installation instructions for Express
(
Linux
)
- VMware virtual machine to install CentOS 6.2
(
Linux
)
- systemctl Command Complete Guide
(
Linux
)
- Linux Creating a new user error Creating mailbox file: File exists
(
Linux
)
- Applications in Objective-C runtime mechanism
(
Programming
)
- Install multiple Linux distributions and Fedora 21 first experience on the same hard disk
(
Linux
)
- IOS interview questions Summary
(
Programming
)
- CentOS 6.3 compile and install LNMP environment
(
Server
)
- Android screen rotation processing and ProgressDialog the best AsyncTask
(
Programming
)
- Linux (Ubuntu) How iptables port mapping
(
Server
)
- NIC configuration parameters under Linux
(
Linux
)
- MySQL Tutorial: Building MySQL Cluster under Linux
(
Database
)
- ThinkPad X201i installation notes Debian 7.5
(
Linux
)
- Let CentOS perform PPPoE dial-up, ADSL can be used in a network environment!
(
Linux
)
- Getting Started with Linux: Learn how to upgrade Docker in Ubuntu
(
Server
)
- How to run in support UDp Docker container JBoss data virtualization GA
(
Server
)
- PULL operation mechanism parsing XML Comments
(
Programming
)
- How to publish projects to the Jcenter repository using Gradle in Android Studio
(
Programming
)
- Linux Network Programming --IP packet format Detailed
(
Programming
)
CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.