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

How to realize the Security configuration of Hadoop Development Environment under Windows

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

Share

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

This article mainly shows you the "Hadoop development environment in the Windows security configuration how to achieve", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "Hadoop development environment in Windows security configuration how to achieve" this article.

One, prepare.

Java1.6

EclipseEuropa3.3.2

Hadoop-0.19.2

Java must be 1.6. Eclipse does not seem to be able to use more than 3.4, hadoop uses 0.19.2, the original text uses 0.19.1, now there is no next. 0.20.0 does not work, I have tried, can not start JobTracker, do not know the reason, may be bug is also uncertain.

Second, install Cygwin

First download an installation file, then run it, this is just a boot program, the real program can only be installed through it, when you want to select a download site, type: http://www.cygwin.cn and then you can choose the program to install, by default

OpenSSH is not installed, so you need to select it manually. Under the Net category, select OpenSSH and OpenSSL.

After that, set the environment variable and add c:\ cygwin\ bin;c:\ cygwin\ usr\ bin to the Path of the system environment variable. When the Eclipse-based Hadoop development environment under Windows is fully configured, SSH should be configured after the installation of Cygwin is completed.

Third, configure SSH

1. Open a cygwin and enter ssh-host-config

When asking for ifprivilegeseparationshouldbeused, enter no.

When asking for ifsshdshouldbeinstalledasaservice, enter yes.

When asking for aboutthevalueofCYGWINenvironmentvariableenter, enter ntsec.

two。 Open the Control Panel-manage-service to start the item named CYGWINsshd.

3. Open cygwin and enter ssh-keygen

When asked for filenames and passphrases, click enter and accept the default value. At the end of the command, type cd~/.ssh to go to the .ssh directory. Enter ls-l should contain two files: id_rsa.pub and id_rsa

4. Enter catid_rsa.pub > > authorized_keys in the window of step 3 (the current directory is in .ssh)

Enter sshlocalhost when you are finished.

Check that ssh is configured successfully, and when prompted for whetheryoureallywanttoconnect, enter yes. In this way, there will be no more prompts when you type sshlocalhost later.

These are all the contents of the article "how to implement the security configuration of Hadoop development environment under Windows". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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

Development

Wechat

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

12
Report