{"id":1726,"date":"2017-07-06T22:18:01","date_gmt":"2017-07-06T14:18:01","guid":{"rendered":"http:\/\/4563.org\/?p=1726"},"modified":"2017-08-30T23:46:41","modified_gmt":"2017-08-30T15:46:41","slug":"debian-8%e5%ae%89%e8%a3%9dkingate%e5%af%a6%e7%8f%behttp-proxy","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=1726","title":{"rendered":"Debian 8\u5b89\u88ddkingate\u5be6\u73feproxy , \u89aa\u6e2c\u6709\u6548"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1727\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2017\/07\/Noname-9.jpg\" alt=\"\" width=\"393\" height=\"187\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u5df2\u7d93\u67095\u5e74\u6c92\u5f04proxy\u4e86~ \u627e\u5230\u820a\u6559\u7a0b , \u6a94\u6848\u8f09\u9ede\u90fd\u639b\u4e86<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u90fd\u662fcentos 5 \u5b89\u88ddkingate \u67b6\u8a2dproxy , \u7528google\u641c\u7d22\u5df2\u7d93\u627e\u5230\u6240\u6709\u6a94\u6848 , \u76ee\u524d\u4ecd\u672a\u6e2c\u8a66<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u4f46\u5728Debian \u5247\u6709\u5b8c\u6574\u6559\u5b78\u53ca\u8f09\u9ede , \u73fe\u5728\u4f86\u500b\u6559\u5b78~<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u5df2\u6e2c\u8a66\u6210\u529f\u5b89\u88dd\u74b0\u5883 : Debian 8 32\u4f4d\u5143<\/span><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-size: 14pt;\">\u5b89\u88dd\u958b\u59cb :<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">apt-get -y -q install automake make gcc g++<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">wget http:\/\/nchc.dl.sourceforge.net\/project\/kingate\/kingate\/2.0\/kingate-2.0.tar.gz<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">tar xzf kingate-2.0.tar.gz<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">cd kingate-2.0<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">.\/configure &#8211;prefix=\/etc\/kingate<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">make install<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u5173\u95edkingate<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\/etc\/kingate\/bin\/kingate -q<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u914d\u7f6e\u6587\u4ef6\u5728\/etc\/kingate\/etc\/kingate.conf<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u6709\u9700\u8981\u5c31\u6539\u5427&#8230;.\u6bd4\u5982\u66f4\u6539proxy port&#8230;.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">vi \/etc\/kingate\/etc\/kingate.conf<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u6309insert\u9375\u958b\u59cb\u4fee\u6539 , \u4fee\u6539\u597d\u6309esc , \u4e4b\u5f8c\u8f38\u5165:wq\u4fdd\u5b58~ Done<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u958b\u555fkingate<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\/etc\/kingate\/bin\/kingate<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">sed -i &#8216;2a \/etc\/kingate\/bin\/kingate&#8217; \/etc\/rc.local<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u5b8c\u6210~<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u7ba1\u7406\u5730\u5740 : http:\/\/ip:2222<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u7528\u6236\u540d : root<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u5bc6\u78bc : kingate<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u81ea\u884c\u4fee\u6539\u5bc6\u78bc~<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">========================================================<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u5176\u4ed6\u547d\u4ee4\u6536\u85cf\u5099\u7528<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">apt-get install make<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">\u5176\u4ed6kingate\u547d\u4ee4\uff1a<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\/etc\/kingate\/bin\/kingate \u542f\u52a8kingate<\/span><br \/>\n<span style=\"font-size: 14pt; color: #ff0000;\"> \/etc\/kingate\/bin\/kingate -f \u5f3a\u884c\u542f\u52a8kingate<\/span><br \/>\n<span style=\"font-size: 14pt;\"> \/etc\/kingate\/bin\/kingate -h \u67e5\u770bkingate\u7528\u6cd5<\/span><br \/>\n<span style=\"font-size: 14pt;\"> \/etc\/kingate\/bin\/kingate -q \u5173\u95edkingate<\/span><br \/>\n<span style=\"font-size: 14pt;\"> \/etc\/kingate\/bin\/kingate -v \u67e5\u770bkingate\u7248\u672c<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">\u4f86\u6e90 :<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><a href=\"http:\/\/blog.sina.com.cn\/s\/blog_5f5a3dff01011h8o.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/blog.sina.com.cn\/s\/blog_5f5a3dff01011h8o.html<\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5df2\u7d93\u67095\u5e74\u6c92\u5f04proxy\u4e86~ \u627e\u5230&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/1726"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1726"}],"version-history":[{"count":15,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/1726\/revisions"}],"predecessor-version":[{"id":2680,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/1726\/revisions\/2680"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1726"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}