We have encountered a problem in the previous article, that is, cygwin has not been completely downloaded yet, wizardProgramI just quit on strike. What should I do? Continue waiting? Again? Download another image site ?... It's not a good solution. It's not safe. The best way is to allow the Wizard program to re-start the download and continue the download in the place where the previous exception was aborted. This is similar to the resumable upload function of FTP.
Can cygwin's Installation Wizard implement this function? Yes! What's more, it's pretty, just... The corresponding settings are really too strange, so it's just a mistake! When I tried it, n times had almost reached the door handle, but I thought: How could this configuration happen? Absolutely no !.... As a result, the blind man continued to explore the dark for a long time before he found the exit. The lessons learned are far more profound than the lessons learned ~~~~ Let's talk about things and get down to the truth.
1. Once this problem occurs during the download process, you cannot waste time waiting because the Installation Wizard has actually been terminated from the site, it's just that it's still there, and it's just trying in vain. The only thing we can do is to click "cancel" to close the wizard! Do not worry about the downloaded installation files. The downloaded files will not disappear and will still be useful.
Close the Wizard program and run it again (you must use the one you used before, instead of the one you used again). Next (for detailed steps, refer to the content of the previous article, note that the local download path must be consistent with the original download path !), Until the following page is displayed:
At this time, do not select other sites! Yes. Select the one you selected during the first download! In addition, the wizard will automatically obtain and locate the image site based on your download logs. Therefore, the only thing you need to do is to click "Next ".
The familiar installation package download and selection page appears again, as shown in.
At this time, the configuration is very critical: Change install after all to reinstall! Haha, is there any idea? Yes! The reinstall method indicates re-installation during installation, but the download continues! At this time, I can't help but scold the cygwin installer maker: why is your program interface not friendly? Now that I have selected "download without installing", you can change install/reinstall to download/continue download in this setting.
Okay, don't you say "reinstall? OK. Click "Next ".
The Wizard program now knows that you want to continue the previous one load/resume, it will download the log file according to the generated, perform an MD5 checksum check (as shown in) for the downloaded files one by one. Make sure that the downloaded files are correct.
You do not need to click "Next". The wizard automatically switches to the download page.
Have you seen it? This download does not start with the-header file, but directly starts with the G-header file. Haha!
Congratulations, you can breathe a sigh of relief: It turns out so!
It should be noted that the overall download progress is slightly different at this time: it is no longer the entire download progress, but the progress of the remaining files to be downloaded. So when you see that it is still 0% at the beginning, you don't have to worry about it. All the files you downloaded are in.
If the Wizard program is on strike again during the resume, you only need to repeat the above steps. This resumable upload method is a bit earthy and weird, you can ensure that your download continues until all the cygwin installation files of over 500 mb are downloaded. Now, this download guide completes the task. As for how to install it, I will not be busy here, because it is related to the Internet.ArticleMost of them, there will be a lot of resources to search. You can see for yourself that the installation is actually quite simple.
This cygwin download trial, I further verified my own treasure letter: as long as there is a glimmer of hope, never give up! Do not give up in any case! You may say, silly B. Why don't you download the GCC package or mingw directly? In the same way, eclipse can support C ++ development. But I want to download cygwin is for a reason: because cygwin is Windows platform UNIX simulation environment, our company's current server is built on the HP-UX platform, through cygwin, I can learn Unix-related knowledge directly in the current environment without having to do anything about my current computer. Why?
======================================
By the way, please note:
(1) In the local storage path specified by the user, the installation wizard will generate a directory like this: HTTP % 3A % 2f % 2fmirrors.kernel.org % 2fsources.redhat.com % 2 fcygwin, this is the real directory of the downloaded file. Two log files will be generated: setup. log and setup. log. Full. If you are interested in the activity, you can open it and check whether the download mechanism of cygwin is helpful.
(2) If the user's line is not very good, you can choose to download cygwin from PM to am. At that time, there were few people, the connection was stable, and the speed was also guaranteed: during the download process, I achieved a high speed of kb/s, which is already quite fast for connecting to a foreign download site.