欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Cygwin
来自开放百科 - 灰狐
(版本间的差异)
第1行: | 第1行: | ||
+ | {{SeeWikipedia}} | ||
+ | |||
Cygwin is a Linux-like environment for Windows.It consists of two parts: | Cygwin is a Linux-like environment for Windows.It consists of two parts: | ||
2010年9月17日 (五) 01:20的版本
您可以在Wikipedia上了解到此条目的英文信息 Cygwin Thanks, Wikipedia. |
Cygwin is a Linux-like environment for Windows.It consists of two parts:
Cygwin 可作为 GNU 在 Windows 上的练习平台,没事就在 Cygwin 上编写脚本: Bash,Perl,Tcl,Python,Awk ...
- A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
- A collection of tools which provide Linux look and feel.
通过 setup.exe 进行 cywin 软件包的安装,其过程非常简单。
Apache and Cygwin
Using Apache with Cygwin - http://httpd.apache.org/docs/1.3/cygwin.html
Lighttpd and Cygwin
cd /etc/lighttpd cp lighttpd.conf.default lighttpd.conf /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
配置 cgi, 请参考 Lighttpd.conf examples
touch hello.c #include <stdio.h> int main(int argc, char *argv[])
{
printf("Content-type: text/html\n\n"); printf("<head>\n"); printf("<title>Hello, World</title>\n"); printf("</head>\n"); printf("<body>\n"); printf("Hello, World\n"); printf("</body>\n"); return 0; } gcc -o hello hello.c or gcc -o hello.html hello.c cp hello.exe /var/www/cg-bin http://localhost/cgi-bin/hello.exe :) http://localhost/cgi-bin/hello.html :)
FastCGI and Cygwin
分享您的观点