Windows下建立Linux環境——Cygwin

Cygwin is a Linux-like environment for Windows. It consists of two parts:

  • 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.

The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.

Note that the official support for Windows 95, Windows 98, and Windows Me will be discontinued with the next major version (1.7.0) of Cygwin.

安裝Cygwin比較簡單,到Cygwin的官方主頁下載setup.exe運行,

Next->選Install from Internet,

Next->填寫Root Directory,如X:/cygwin,下面兩個選擇分別選“All Users”和“DOS”;

Next->填寫Local Package Directory,如X:/cygwin/ftp;

Next->選Direct Connection;

Next->選一個較快的ftp;

Next->到了關鍵步驟,如果僅想安裝基本系統,直接Next;如果想完全安裝,點擊All旁邊的旋轉狀圖標,將Default切換至Install;如果和我一樣,僅想在命令行下寫寫程序,則只要將 gcc、make等開發工具選上,還有openssh等;選好後,

Next->開始下載,Take a coffee break。回來後,

Next->選擇需不需要創建快捷方式。->END
點擊快捷方式或X:/cygwin/cygwin.bat打開控制檯,如果是域用戶,按照提示makepasswd和makegroup即可。

這樣基本上就大功告成了,除了醜陋的命令行窗口。解決辦法就是使用putty或者SecureCRT或者Poderosa。

因爲putty功能比較簡單,而SecureCRT是收費的,所以選擇Poderosa。

具體如何配置,下回分解

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章