Win7 Hadoop learning Cygwin download, install, configure

Source: Internet
Author: User

First, Download:

Cygwin Official website: http://www.cygwin.com/

Depending on whether the Win7 system is 32-bit or 64-bit selectable.

Second, installation :

After the download is complete, run the Setup-x86_64.exe (64-bit) program and the installation screen appears. Directly point to "next", the Installation Mode dialog box appears as shown in:

We see three types of installation modes:

    • Install from the Internet, this mode is installed directly from the Internet, suitable for fast speed situation;
    • Download without installing, this mode only downloads the Cygwin component package from the Internet, but does not install;
    • Install from local Directory, this mode corresponds to the second mode above, and when your Cygwin component package has been downloaded locally, you can use this mode to install Cygwin locally.

From the above three modes, I choose the first installation mode, directly from the network installation, of course, while downloading, Cygwin components are also saved to the local, so that later can be installed again. When selected, click Next,

This step selects the installation directory for the Cygwin, as well as some parameter settings. The default installation location is C:\cygwin\, you can also choose your own installation directory, and then choose "Next",

This step we can select the installation process from the Internet Download Cygwin component package save location, after selecting, click "Next",

In this step, we need to note that in order to get the fastest download speed, we first look for the address of the Cygwin Chinese image in the list: http://www.cygwin.cn, if found, select this address; If you cannot find this address, enter the address of the Chinese mirror manually: http ://www.cygwin.cn/pub/, then click "Add" and then select it in the list. After selecting Done, click "Next",

This step, we choose to download the installed component package, in order to be able to use with Hadoop, we must install the following package is:

Under Base branch:

All (the default is also fully selected);

Under Devel Branch:

Subvision;

NET Branch:

Openssh,openssl

After the selection, we choose the next step, enter the installation process, as shown in,

The time of installation depends on the components you select and the network conditions. After the installation is complete, the installer will prompt you to create the Cygwin icon on the desktop and click Finish to exit Setup.

Third, the configuration

1. Configure the SSH service (run Cygwin as Administrator)

Execution: Ssh-host-config

Should strictmodes be used? (yes/no) Yes

Should privilege separation be used? Yes

Does want to install sshd as a service? Yes

Enter the value of CYGWIN for the daemon: []//Enter the password (custom, I directly define the same as the password of the Win7 account)

Does want to use a different name? No

Create new Privileged user account ' Peiyu-pc\cyg_server ' (Cygwin name: ' Cyg_server ')? (yes/no) Yes

Please enter the password://Enter the password (custom, I directly define the same as the password of the Win7 account)

Reenter:

If you see the bottom of the window in the "Have fun! "Indicates that SSH has been configured successfully.

2. Start the SSH service

Cygrunsrv-s sshd

3. Generate SSH Key, login test

SSH-KEYGEN-T RSA//password is empty, path default

CP ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys

SSH localhost

Note: This section of the article refers to the Netizen born my Jackal blog http://www.cnblogs.com/tippoint/archive/2012/10/18/2729078.html

Win7 Hadoop learning Cygwin download, install, configure

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.