Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Hadoop--1. Environmental preparation

Shulou Source: shulou.com Published: 2022-06-03 04:53:37 11月25日 Update

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

Tags: Configuration host memory content data machine analysis environment preparation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Linux NVidia Redmi Docker