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

HDFS Lab (2) hadoop Environment configuration

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

Share

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

Jdk of sun is required, so uninstall openjdk first

[root@hadoop-1 ~] # rpm-qa | grep openjdk | xargs rpm-e-- nodeps

Okay

Release notes

Http://hadoop.apache.org/releases.html

There is a new version 3.1 on April 8th.

Wget http://mirrors.hust.edu.cn/apache/hadoop/common/hadoop-3.1.0/hadoop-3.1.0.tar.gz

Useradd hadoop

Cd / home/hadoop

Su-hadoop

Tar-zxvf hadoop-3.1.0.tar.gz

Generate key

Ssh-keygen-t rsa

Try to log in to this computer, pemission denied.

Let me fix a mistake.

Vi / etc/ssh/sshd_config

Open rsa and pubkey.

Vi / etc/selinux/config

SELINUX=disabled

And then restart.

Modify directory permissions

Chmod 700 / home/hadoop/.ssh

Chmod 644 / home/hadoop/.ssh/authorized_keys

Restart the ssh service

Systemctl restart sshd

Then ssh Native

Ssh localhost

You can log in without a password

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