Cygwin installation

  

Cygwin can be used to simulate Linux environment under window

1. First download Cygwin installation wizard

Click setup-x86.exe to download according to windows operating system version. 32-bit installation wizard or click setup-x86_64.exe to download 64-bit installation wizard

2, run the installation wizard

Select “Next”

Choose here Install from the network (if Cygwin is installed, the installation package downloaded from the previous installation will be saved locally, you can choose to install from the local directory)

This step is very important, "Root Directory" is simulated for Cygwin Home directory for linux environment

admin@ThinkPad ~

$ cd /home

admin@ThinkPad /home

$ ls

Hadoop-1.2.1 hadoop-1.2.1.tar.gz input output test.sh

“Local Package Directory”Save the path for the downloaded installation package

Network settings, this step is nothing Well said, after a short time After connecting, you need to select a download point

Of course, the URL of .cn will be much faster. After a short network connection, the toolkits that can be installed are listed.

Keep is Installed (the first installation should have no status of Keep), Skip is ignored, click Skip to switch to the version you want to install (vim, ssh, gcc, etc. are not installed by default, you need to manually select)

Then select "Next", the installation wizard will automatically download and install the installation

Then add the Cygwin bin path in the system environment variables, you can use the Linux command in the window environment, Tool

Copyright © Windows knowledge All Rights Reserved