安装apt-cyg命令
wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg -P /bin;chmod.exe +x /bin/apt-cyg
如果googlecode.com无法访问,可使用链接(2015-05-07更新):
wget http://download.zjmainstay.cn/apt-cyg -P /bin;chmod.exe +x /bin/apt-cyg
切换源
apt-cyg -m http://mirrors.163.com/cygwin/
其他常用命令(whereis)
apt-cyg install util-linux
clear命令(可以不安装,使用快捷键:Ctrl+l)
apt-cyg install ncurses
ssh/ssh-keygen
setup.exe ssh
top
apt-cyg install procps
crontab
apt-cyg install cron
安装 cron 服务
cygrunsrv -I cron -p /usr/sbin/cron --args -n -u Administrator
如果配置错误,就从新安装配置 cron-config安装http_load-09Mar2016
wget http://www.acme.com/software/http_load/http_load-09Mar2016.tar.gz