Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Hadoop--1. Environmental preparation

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

1. Memory requirements are greater than 2G

Less than 2G will jam the screen when analyzing the data.

two。 Modify hostname: master, slave

3. Configure hostname

All machines must be configured with hosts

192.168.0.2 master

192.168.0.3 slave

.

4. Close selinux

[root@master ~] # vim / etc/selinux/config

Modify the following:

Change SELINUX=Enforcing to: SELINUX=disabled

[root@master ~] # getenforce 0

5. Close iptables (6.x)

[root@master ~] # service iptables stop

Or

[root@master] # iptables-F

[root@master ~] # service iptables save

6. Close firewalld

Lsystemctl disable firewalld

Lsystemctl stop firewalld

Lyum install-y iptables-services

Lsystemctl enable iptables

Lsystemctl start iptables

Lservice iptables save

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report