cygwin_autoinstall.bat ¤ÎÄ´À°¤ò¤·¤Æ¤¿¤ó¤À¤¬¡¢ÉԲIJò¤Ê¤³¤È¤Ë¡¢cygwin_autoinstall.bat ¤«¤é¤Ï apt-cyg ¤ò git clone ½ÐÍè¤Æ¤¤¤ë¤Î¤Ë¡¢
mintty ¤«¤é¤À¤È¡¢
gistlist.rb ¤Ç¤â
wget ¤À¤È
¤Ç¡¢¤³¤ì¡¢¸«¤Æ¤ÎÄ̤ê proxy ¤«¤Þ¤·¤Æ¤¤¤ë¤ó¤À¤±¤É¡¢
¤Ï¤Ã¤Èµ¤¤¬ÉÕ¤¤¤Æ¡¢¼«Ê¬¤Î¤¢¤Û¤µ¤ËÊò¤ì¤Æ¤·¤Þ¤Ã¤¿¡£
ËÜÍè¤Ç¤¢¤ì¤Ð¡¢
ÀÔ¿ñÈ¿¼ÍŪ¤Ë²¿¤â¹Í¤¨¤º¼ê¤¬¾¡¼ê¤Ë¤¿¤À¤¿¤Àµ¡³£Åª¤Ë https ¤Î s ¤ÎÉôʬ¤òÉÕ¤±²Ã¤¨¤Æ¤¿¤è¤¦¤Ç¡¢¤½¤Î¤ª¤«¤²¤ÇÃÏÌ£¤Ë»þ´Ö¤òϲÈñ¤·¤Æ¤·¤Þ¤Ã¤¿¡£
¤·¤«¤·¡¢¤³¤ì¤Ï git ¤ä ruby ¤ÏΧµ·¤Ë¥¹¥¡¼¥Þ¡¼Ä̤ê¤Ë https ¤Ç proxy ¤ÈÄÌ¿®¤·¤Æ¤ë¤ó¤À¤±¤É¡¢wget ¤Ïʿʸ¤Ç¤ä¤Ã¤Æ¤ë¤Ã¤Æ¤³¤È¤À¤í¤¦¤«¡©¡©¡©
¤¨¤¨¤ó¤«¡©¤³¤ì¡©
mintty ¤«¤é¤À¤È¡¢
$ git clone https://github.com/kou1okada/apt-cyg Cloning into 'apt-cyg'... fatal: unable to access 'https://github.com/kou1okada/apt-cyg/': error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol¤Î¤è¤¦¤Ë¥¨¥é¡¼¤È¤Ê¤Ã¤¿¤ê¡¢
gistlist.rb ¤Ç¤â
$ gistlist.rb kou1okada /usr/share/ruby/2.3.0/open-uri.rb:258:in `open_http': Non-HTTP proxy URI: https://proxy.example.com:8080/ (RuntimeError) from /usr/share/ruby/2.3.0/open-uri.rb:737:in `buffer_open' from /usr/share/ruby/2.3.0/open-uri.rb:212:in `block in open_loop' from /usr/share/ruby/2.3.0/open-uri.rb:210:in `catch' from /usr/share/ruby/2.3.0/open-uri.rb:210:in `open_loop' from /usr/share/ruby/2.3.0/open-uri.rb:151:in `open_uri' from /usr/share/ruby/2.3.0/open-uri.rb:717:in `open' from /usr/share/ruby/2.3.0/open-uri.rb:35:in `open' from /home/kou/local/bin/gistlist.rb:78:in `block in <main>' from /home/kou/local/bin/gistlist.rb:66:in `each' from /home/kou/local/bin/gistlist.rb:66:in `<main>'¤Î¤è¤¦¤Ë¥¨¥é¡¼¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ë¡¢
wget ¤À¤È
$ wget -O/dev/null https://github.com/kou1okada/apt-cyg --2018-04-06 18:48:59-- https://github.com/kou1okada/apt-cyg proxy.example.com (proxy.example.com) ¤òDNS¤ËÌ䤤¤¢¤ï¤»¤Æ¤¤¤Þ¤¹... xxx.xx.xxx.xxx, xxx.xx.xxx.xxx, xxx.xx.xxx.xxx, ... proxy.example.com (proxy.example.com)|xxx.xx.xxx.xxx|:8080 ¤ËÀܳ¤·¤Æ¤¤¤Þ¤¹... Àܳ¤·¤Þ¤·¤¿¡£ Proxy ¤Ë¤è¤ëÀܳÍ×µá¤òÁ÷¿®¤·¤Þ¤·¤¿¡¢±þÅú¤òÂԤäƤ¤¤Þ¤¹... 200 OK Ťµ: ÆÃÄê¤Ç¤¤Þ¤»¤ó [text/html] `/dev/null' ¤ËÊݸÃæ /dev/null [ <=> ] 79.17K 334KB/s »þ´Ö 0.2s 2018-04-06 18:49:00 (334 KB/s) - `/dev/null' ¤ØÊݸ½ªÎ» [81074]¤Î¤è¤¦¤ËÀµ¾ï¤Ë¼èÆÀ¤Ç¤¤ë¤Î¤Ç¡¢ÅÓÊý¤ËÊë¤ì¤Æ¤·¤Þ¤Ã¤¿¡£
¤Ç¡¢¤³¤ì¡¢¸«¤Æ¤ÎÄ̤ê proxy ¤«¤Þ¤·¤Æ¤¤¤ë¤ó¤À¤±¤É¡¢
¤Ï¤Ã¤Èµ¤¤¬ÉÕ¤¤¤Æ¡¢¼«Ê¬¤Î¤¢¤Û¤µ¤ËÊò¤ì¤Æ¤·¤Þ¤Ã¤¿¡£
ËÜÍè¤Ç¤¢¤ì¤Ð¡¢
export http_proxy=http://proxy.example.com:8080/ export https_proxy=http://proxy.example.com:8080/¤È½ñ¤¯¤È¤³¤í¤ò
export http_proxy=http://proxy.example.com:8080/ export https_proxy=https://proxy.example.com:8080/¤Î¤è¤¦¤Ë¡¢´Ä¶ÊÑ¿ô̾¤À¤±¤¸¤ã¤Ê¤¯¥¹¥¡¼¥Þ¡¼¤ÎÊý¤Ë¤Þ¤ÇÑÜÄ¢ÌÌ¤Ë https ¤Ë¹ç¤ï¤»¤Æ¤·¤Þ¤Ã¤Æ¤¤¤¿¤È¤¤¤¦Íî¤Á orz
ÀÔ¿ñÈ¿¼ÍŪ¤Ë²¿¤â¹Í¤¨¤º¼ê¤¬¾¡¼ê¤Ë¤¿¤À¤¿¤Àµ¡³£Åª¤Ë https ¤Î s ¤ÎÉôʬ¤òÉÕ¤±²Ã¤¨¤Æ¤¿¤è¤¦¤Ç¡¢¤½¤Î¤ª¤«¤²¤ÇÃÏÌ£¤Ë»þ´Ö¤òϲÈñ¤·¤Æ¤·¤Þ¤Ã¤¿¡£
¤·¤«¤·¡¢¤³¤ì¤Ï git ¤ä ruby ¤ÏΧµ·¤Ë¥¹¥¡¼¥Þ¡¼Ä̤ê¤Ë https ¤Ç proxy ¤ÈÄÌ¿®¤·¤Æ¤ë¤ó¤À¤±¤É¡¢wget ¤Ïʿʸ¤Ç¤ä¤Ã¤Æ¤ë¤Ã¤Æ¤³¤È¤À¤í¤¦¤«¡©¡©¡©
¤¨¤¨¤ó¤«¡©¤³¤ì¡©
- ¥«¥Æ¥´¥ê¡§
- ¥Ñ¥½¥³¥ó
- ¥×¥í¥°¥é¥ß¥ó¥°
¥¿¥°
¥³¥á¥ó¥È¤ò¤«¤¯