windows下使用cygwin安装linux 环境运行运维脚本

不建议在windows 服务器安装

1、安装cygwin

1.去Cygwin官网:https://www.cygwin.com

进入上图的install链接(下图),根据自己的电脑选择32位还是64

安装了apt-cyg就能向使用Ubuntu一样使用apt-get install/remove命令安装卸载软件了,非常方便。

2.添加apt-cyg

去GitHub下载脚本:https://github.com/transcode-open/apt-cy

打开Cygwi
apt-cyg install vim

然后就可定时任务运行 bash 脚本

最后更新于