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。

具体如何配置,下回分解

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值