Regarding installation of Cygwin in Windows 8.1 - cygwin

How to download the cygwin, as I am not getting the list of mirror sites while running the set up file ?

As you are not obtaining the mirror list, there is likely a Proxy in the middle.
Check Proxy settings
https://cygwin.com/cygwin-ug-net/setup-net.html#setup-connection

Related

Cygwin not displaying Vi editor content over ssh

I am pretty new to Cygwin configuration and would need some help.
I have installed Cygwin successfully on a windows 2019 server and is able to ssh to a centos server.
However, while on the centos server there is nothing displayed when I issue the command “vi test.txt”. It shows a blank screen as I type and save the file with the usual vi commands. When I do a “more test.txt” , it is displaying what I have typed though.
The same happens for existing file when I do a vi, but since I can’t see the content , what I typed has corrupted the file. Would need advice on how to display the vi editor correctly.
I was able to launch vi editor locally on the Cygwin window though (without ssh into remote server, on local machine).
Make sure OpenSSH package is installed with Cygwin.
Source: I am the coworker who helped the original poster figure out the issue irl.
We used the cygwin installer to look through the list of existing packages and noticed that OpenSSH showed as "skip". After installing that package, the issue was resolved.

Q: how to deal with cygwin installing error at mirror download step ?

install cygwin on win7/32bit,run setup-x86.exe to mirror download site step,problem appear,the image below is error screenshot ,i tried many times and different sites just does not work.does setup.exe not support these sites or something wrong with site's file.please help~
error screenshot

Shared folder between Windows host and Ubuntu guest, long filenames

I'm setting up an Ubuntu guest under Windows using VirtualBox for a colleague to provide him with a Linux-based development environment for a node.js application.
This colleague of mine can't or doesn't want to SSH into the VM and work in emacs or vim; he's a Sublime Text guy. So I have set up the project tree in a VirtualBox shared folder so he can access it from Windows (to edit) and the Linux VM (to build/test).
Unfortunately, npm install fails with file system errors. The problem seems to be extremely long path names resulting from deeply nested node_modules dependencies. I'm guessing we're hitting a Windows limit on filename length. The npm install works just fine in a regular (non-shared) directory in the VM.
Does anyone have ideas about how to deal with this problem? One idea I had was to somehow alias or link $MY_PROJECT/node_modules to another, non-shared location, but I can't figure out how to do that.
Update: I'm going to try this hack: https://www.virtualbox.org/ticket/11976.
Update 2: Ended up using samba, which is probably what I should have done in the first place.
One option is to use one of the multiple ways for sublime to edit remote files over ssh, covered in some detail here
How to use Sublime over SSH
Another is try using the native windows version of node and have your colleague develop locally directly under windows.

Unable to install iis manager on windows 8.1

I get an error while trying to install IIS manager from "Turn on off windows features" on a windows 8 machine. Just before trying to install this I install Visual Studio community online and rebooted my machine. Visual Studio works fine.
I also made sure all updates are installed on my machine and also rebooted and tried installing IIS manager.
The error that I get is "The function attempted to use a name that is reserved for use by another transaction"
Thanks
Ranjith
Try to turn off your antivirus before install IIS.
I had the same problem and spent hours trying to find out the root cause. Tried to disable anti virus and other options as discussed in forums on the internet.
Here is how i resolved the problem.
Open up msconfig -> go to boot tab -> select Safe boot (Minimal) -> Apply -> Okay
Your machine should restart in safe mode and you should be able to successfully install IIS from the "Turn Windows Feature On/Off" section as described by others.
After the installation is complete, run msconfig again to unselected Safe boot so that you log in to the normal desktop environment on restart. Enjoy!
Just now i also faced that problem and this is how fixed the problem.
The reason can be another server which running on your pc, is using the same port as IIS. (e.g: 80 or 8080).
According to my solution, I started the wampserver. then click on wamp icon on the task bar. then opened the httpd.conf file from Apache.
find (ctrl+F) the "Listen 80" and replace it to "Listen 8080" or any other. save it.
restart your pc and try to install the IIS manager again.
hope it will works!! Good luck.

Legacy Cywgin Installation Using Cywgin Time Machine Failing (Unable to get setup-2.ini)

I am attempting to download an older version of Cygwin (1.7.16) in order to compile an open source project (Dummynet - windows port).
The only way i found of doing so is by using a project known as Cygwin Time Machine.
In order to use this i downloaded the cygwin 1.7 installer from 'ftp://www.fruitbat.org/pub/cygwin/setup/1.7/setup-1.7.exe', and when prompted for a download site, added 'ftp://www.fruitbat.org/pub/cygwin/circa/2012/08/20/222043'. However, the download fails with the following error :
Unable to get setup-2.ini from
ftp://www.fruitbat.org/pub/cygwin/circa/2012/08/20/222043
Im looking for help in getting past this error, or any other alternative way of installing Cywgin 1.7.16 (Aug 20, 2012).
The Admin at Cygwin Time Machine was kind enough to point me to the solution. The issue can be resolved by downloading the cygwin setup exe from cygwin.com/setup-x86.exe and starting it with the -X option. Once started, one may choose any cygwin 1.7.* snapshot url from the cygwin time machine site and add that as the mirror to download and install cygwin from.

Resources