Cygwin Novice must Read

Source: Internet
Author: User

Please note: This blog is self-contained in 2011.1 copies of a blog post on my original itpub. Although it looks a bit old, it is not old, I transferred it here to facilitate my new course "based on the Cocostudio development of the cross-platform thumb FreeCell game," The students ' reference convenience. To tell the truth, I spent a considerable amount of time on my WINDOWS7 platform when I built my own cocos2d-x development environment, referring to a lot of articles on the network, because of their different hardware and software, as well as the different versions, but also due to the open source environment software bug greatly small uneven, To prepare a development environment, simply follow the web-based article operations are often unsuccessful. This article is useful for beginners to download and install Cygwin (Linux/unix simulation environment for Windows platform).



Cygwin this thing does not have to introduce, remember many years ago to learn the Linux source case download used. After so many years, today download incredibly cost so much effort, really a bit unwilling--entirely because of a very small problem caused by a very humble. Do not say.

Please read the article as follows: (Original address is: http://blog.csdn.net/Lionwoo/article/details/446964)

According to my feeling, the other articles are basically white, and the above URLs in the article in the language. If you're not careful, your time becomes a running water!!!!!!!!!!!!!

The original text reads as follows:

Cygwin full Download guide (bottom)-Breakpoint continuation

We have encountered a problem in the last chapter, that is, Cygwin has not fully downloaded completely, the wizard program on its own strike out. What to do? Keep waiting? You want to go over it again? A different download mirror site? is not a good way, not insurance ah. The best way is to allow the wizard to restart the download in the last place where the exception was aborted. This is similar to the FTP breakpoint continuation function.
Can the Cygwin Installation Wizard implement this feature? Yes! And it's pretty good, just ... The corresponding setting is too eccentric, there is fraught suspicion! When I tried it, N was almost touched by the door handle, but just because I thought: how could it be this kind of configuration? It's not going to work! As a result, like the blind continue to grope in the dark for a long time, only to find the exit. The lessons learned are far more profound than the experience gained ~ ~ ~ Gossip less, to come.

Once the user in the download process encountered this situation, can not waste time to continue to wait, because the installation wizard has actually been aborted and the site connection, but it is still there in the loop, not stop in vain to try it. The only thing we have to do is to click the "Cancel" button to close the wizard! Do not love the download of the part of the installation files, do not worry, the downloaded files will not disappear, and will still be useful.

After you close the wizard, run it again (be sure to use the one you originally used instead of being one again) and go "next" (see the previous section for detailed steps, but be aware that the local download storage path setting must be consistent with the original download settings!) ) until the displayed Site Selection window appears:
650) this.width=650; "Src=" http://blog.csdn.net/images/blog_csdn_net/lionwoo/cygwin_setup_A1. JPG "height=" 382 "width=" 505 "/>
At this time, please do not choose other sites! Yes, still choose the one you chose the first time you downloaded! Also, the wizard automatically obtains and navigates to the mirrored site based on your download log. So, the only thing you have to do at this point is click "Next".

The familiar installation package download selection interface appears again, as shown in.
650) this.width=650; "Src=" http://blog.csdn.net/images/blog_csdn_net/lionwoo/cygwin_setup_A2. JPG "height=" 382 "width=" 505 "/>
At this point, the settings to be made are critical: change the install after all to reinstall! Haha, is there some kind of idea? Right! The reinstall mode is a reinstallation at the time of installation, but when downloaded, it means to continue downloading! At this time I can not but scold Cygwin installation program of the Creator: you AH program interface how not designed to be friendly point? Since I chose to be "Download without installing", then you at least in this setting, the Install/reinstall changed to Download/continue Download is AH.
All right, don't say it, all "Reinstall"? OK, click "Next".

The wizard has now known that you want to continue the last download/continuation, it will be based on the downloaded log file has been generated, the existing downloaded files to do a MD5 check code checking (as shown), to determine the downloaded part of the problem.
650) this.width=650; "Src=" http://blog.csdn.net/images/blog_csdn_net/lionwoo/cygwin_setup_A4. JPG "height=" 382 "width=" 505 "/>
Instead of "Next", the wizard will automatically switch to the download screen.


Look, did you see that? This time the download is not from the A-word file start, but directly from the head of the G file, haha!
Congratulations, you can breathe a sigh of relief: so!
650) this.width=650; "src=" Http://blog.csdn.net/images/blog_csdn_net/lionwoo/cygwin_setup_A4%281%29.JPG "height=" 382 "width=" 505 "/>
It is necessary to note that the total download progress is slightly different at this time: it is no longer the overall download progress, but the remaining files you need to download the progress. So, when you see the beginning is still 0%, you don't have to worry about it. The files you downloaded are all in.

If in the continuation, the Installation Wizard program strikes again, only need to re-pass the above steps again, this kind of breakpoint continuation mode Although the earth a bit, weird point, can indeed ensure that your download can continue, until all 500 trillion Cygwin installation file download completed. This download guide is a complete task. As for how to install, I do not join in the fun here, because the article on the Internet is more, casually search a lot of. Let's see for ourselves, the installation is actually quite simple.

This time Cygwin download ordeal, I have more verified my own a valuable creed: As long as there is a glimmer of hope, will never give up! Don't give up anyway! You might say, silly B, why not just download the GCC package or mingw, and let Eclipse support C + + development. But I want to download Cygwin for a reason: Because Cygwin is a UNIX simulation environment under the win platform, our company now has a server based on the HP-UX platform, through the Cygwin, I can directly in the existing environment in the initial learning of Unix-related knowledge, Without having to make a fuss about your current computer. With Stone, he le?

========================
By the way, please note:

(1) Within the user-specified local storage path, the Setup Wizard generates a directory like this: Http%3a%2f%2fmirrors.kernel.org%2fsources.redhat.com%2fcygwin, This is the real directory where you download the files. Also generates two log files: Setup.log and Setup.log.full, the user is interested in the live, you can open to see, to understand the Cygwin download mechanism has a lot of help.

(2) If the user line is not very good, you can choose the night after 11:00 to 8:00 Point This period of time, to Cygwin download, when people less, the connection is more stable, the speed is also guaranteed: I in the download, had reached the 180kb/s high-speed, which for the connection of a foreign download site , it's pretty fast already.


This article is from the "Green Peak" blog, please make sure to keep this source http://zhuxianzhong.blog.51cto.com/157061/1441523

Cygwin Novice must Read

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.