Notes of Cygwin in Windows7
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Notes of Cygwin in Windows7,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1751字,纯文字阅读大概需要3分钟。
内容图文
![Notes of Cygwin in Windows7](/upload/InfoBanner/zyjiaocheng/1165/1c9bed28044f4f29a7ce12810d4b5e18.jpg)
Installation
-
download setup.exe from its official website;
-
run setup.exe, select "download without installing" option;
-
when asking for download website, select the first 163.com and three .cn sites, thus bypassing the connection restriction of company LAN;
-
cygwin app dir is: d:\apps\cygwin; cygwin packages dir is: e:\mydoc\cygwinPkgs;
-
when asking for packages, select package "Debug" & "Devel"(assure vi, git, apt-get, gcc, gdb, make, c99, pkg-config, doxygen, valgrind & Graphviz are included), select all related packages;
-
rerun setup.exe, select "install from local directory" option;
-
Root Directory($CYGWIN_ROOT): e:\mydoc\cygwinRoot;
-
install a icon at start menu;
-
run app from start menu;
Usage
-
Window size, font and fore/background color are all customized via "Options" in popup menu;
-
In cygwin, "/cygdrive" is the root of all windows logic drivers(c:, d:, e:, etc). e.g. " /cygdrive/e/mydoc" in cygwin equals to "e:\mydoc" in windows ;
-
"/" in cygwin equals to "e:\mydoc\cygwinRoot" in windows. So when you mkdir under /home/chad in cygwin, actually the directory is created in e:\mydoc\cygwinRoot\home\chad in windows;
-
customize window scroll keys: options -> Window;
install ssh server
-
install openssh for cygwin: Net -> openssh
-
run cygwin as administrator;
-
ssh-host-config -y
-
enter a password for default ssh user "cyg_server"
-
cygrunsrv --start sshd
启动后在Windows的“服务”中可以看到一个名为"CYGWIN sshd"的本地服务,"sshd"是其“服务名称”,"CYGWIN sshd"是"显示名称",用netstat可以看到有进程在22端口监听。
Cygwin: Running an sshd on Windows 7
I can login user cyg_server, but automatically quit. so weired.
Some Packages:
- telnet client: Net -> inetutils
原文:http://www.cnblogs.com/darkmatter/p/3605681.html
内容总结
以上是互联网集市为您收集整理的Notes of Cygwin in Windows7全部内容,希望文章能够帮你解决Notes of Cygwin in Windows7所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。