{"id":293309,"date":"2024-09-29T20:03:43","date_gmt":"2024-09-29T12:03:43","guid":{"rendered":"https:\/\/lrxjmw.cn\/csazsfzpzbhd.html"},"modified":"2024-09-29T20:03:43","modified_gmt":"2024-09-29T12:03:43","slug":"csazsfzpzbhd","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/csazsfzpzbhd.html","title":{"rendered":"CentOS \u4e0a\u5b89\u88c5 Squid\uff1a\u590d\u6742\u914d\u7f6e\u80cc\u540e\u7684\u9879\u76ee\u9700\u6c42\u4e0e\u591a\u529f\u80fd\u534f\u8bae\u652f\u6301\u7684\u6743\u8861"},"content":{"rendered":"
1.\u4e3a\u4ec0\u4e48\u6211\u8981\u5728CentOS\u4e0a\u5b89\u88c5Squid\uff1f<\/b><\/p>\n
\u8c08\u53ca\u6b64\u4e8b\uff0c\u60c5\u611f\u590d\u6742\u3002\u8fd1\u671f\u627f\u63a5\u9879\u76ee\uff0c\u9700\u6784\u5efa\u4ee3\u7406\u670d\u52a1\u5668\u3002\u8d77\u521d\u89c6\u4e3a\u7b80\u6613\u4efb\u52a1\uff0c\u8c03\u67e5\u540e\u53d1\u73b0Squid\u4e3a\u63a8\u8350\u5de5\u5177\u3002\u867d\u4f17\u53e3\u4e00\u81f4\uff0c\u4ecd\u51b3\u5b9a\u4e00\u8bd5\u3002\u9057\u61be\u7684\u662f\uff0c\u64cd\u4f5c\u7cfb\u7edf\u91c7\u7528CentOS\uff0c\u867d\u7a33\u5b9a\uff0c\u4f46\u914d\u7f6e\u7e41\u7410\u3002\u6bcf\u6b21\u5f00\u542f\u7ec8\u7aef\uff0c\u72b9\u5982\u521d\u5b66\u8005\uff0c\u65e0\u6240\u9002\u4ece\u3002\u7136\u800c\uff0c\u9879\u76ee\u4e3a\u91cd\uff0c\u52c9\u529b\u4e3a\u4e4b\u3002<\/p>\n
Squid\u4e4b\u6240\u4ee5\u88ab\u9009\u4e2d\uff0c\u5176\u591a\u529f\u80fd\u534f\u8bae\u652f\u6301\u53ca\u826f\u597d\u6027\u80fd\u662f\u6211\u8003\u8651\u7684\u91cd\u70b9\u3002\u7814\u7a76\u540e\u53d1\u73b0\uff0c\u5b83\u4e0d\u4ec5\u80fd\u62c5\u4efbHTTP\u4ee3\u7406\uff0c\u8fd8\u80fd\u80dc\u4efbFTP\u3001HTTPS\u7b49\u591a\u79cd\u4ee3\u7406\u4efb\u52a1\u3002\u8fd9\u5bf9\u4e8e\u6211\u800c\u8a00\u65e0\u7591\u662f\u6781\u5927\u7684\u4fbf\u5229\uff0c\u7279\u522b\u662f\u5728\u9879\u76ee\u9700\u6c42\u591a\u53d8\u7684\u80cc\u666f\u4e0b\u3002\u9274\u4e8e\u4e00\u52b3\u6c38\u9038\u89e3\u51b3\u591a\u91cd\u95ee\u9898\u7684\u53ef\u80fd\u6027\uff0c\u5373\u4fbf\u5185\u5fc3\u6709\u6240\u987e\u8651\uff0c\u6211\u8fd8\u662f\u9009\u62e9\u6311\u6218\u81ea\u6211\uff0c\u63a2\u7a76Squid\u7684\u53ef\u884c\u6027\u3002<\/p>\n
2.\u5b89\u88c5\u524d\u7684\u51c6\u5907\u5de5\u4f5c\uff0c\u8ba9\u6211\u624b\u5fd9\u811a\u4e71<\/b><\/p>\n
\u5728\u90e8\u7f72Squid\u4e4b\u524d\uff0c\u5fc5\u987b\u4fdd\u8bc1CentOS\u7cfb\u7edf\u4fdd\u6301\u6700\u65b0\u72b6\u6001\u3002\u867d\u7136\u770b\u4f3c\u7b80\u5355\uff0c\u4f46\u7cfb\u7edf\u66f4\u65b0\u5f80\u5f80\u4ee4\u6211\u7126\u8651\u4e0d\u5b89\u3002\u7ecf\u9a8c\u8868\u660e\uff0c\u66f4\u65b0\u8fc7\u7a0b\u4e2d\u7cfb\u7edf\u53ef\u80fd\u610f\u5916\u4e2d\u6b62\u6216\u5d29\u6e83linux\u79fb\u690d\uff0c\u5e26\u6765\u6781\u5927\u7684\u56f0\u6270\u3002\u4e3a\u786e\u4fdd\u4f9d\u8d56\u5e93\u6b63\u786e\u5b89\u88c5\uff0c\u6211\u9700\u6301\u7eed\u76d1\u63a7\uff0c\u4ee5\u514dSquid\u5b89\u88c5\u65f6\u51fa\u73b0\u6545\u969c\u3002<\/p>\n
\u6b64\u5916\uff0c\u5fc5\u987b\u6838\u5b9e\u9632\u706b\u5899\u914d\u7f6e\u3002Squid\u4f9d\u8d56\u7279\u5b9a\u7aef\u53e3\u7684\u5f00\u653e\uff0c\u5426\u5219\u5ba2\u6237\u7aef\u5c06\u65e0\u6cd5\u8fde\u63a5\u3002\u6211\u4ecd\u8bb0\u5f97\u4e0a\u6b21\u914d\u7f6e\u9632\u706b\u5899\u65f6\u7684\u8ff7\u832b\u3002\u8fc7\u591a\u5f00\u653e\u7aef\u53e3\u4ee4\u62c5\u5fe7\u5b89\u5168\uff0c\u8fc7\u5c11\u5219\u5fe7\u8651\u529f\u80fd\u7f3a\u5931\u3002\u867d\u9762\u4e34\u56f0\u6270\uff0c\u4e3a\u786e\u4fddSquid\u5b89\u88c5\u987a\u5229\u8fdb\u884c\uff0c\u4e0d\u53ef\u907f\u7e41\u5c31\u7b80\u3002<\/p>\n
3.\u7ec8\u4e8e\u5f00\u59cb\u5b89\u88c5Squid\uff0c\u6211\u7684\u5fc3\u8df3\u52a0\u901f<\/b><\/p>\n
<\/p>\n
\u5728Squid\u5b89\u88c5\u9636\u6bb5\u7ec8\u4e8e\u6765\u4e34\u4e4b\u9645\uff0c\u6211\u5c4f\u6c14\u51dd\u795e\uff0c\u542f\u52a8\u7ec8\u7aef\u3002\u952e\u5165`yuminstallsquid`\u5e76\u6309\u4e0b\u56de\u8f66\uff0c\u5c4f\u5e55\u968f\u5373\u6d8c\u73b0\u4f17\u591a\u4fe1\u606f\u3002\u968f\u7740\u5fc3\u8df3\u4e4b\u901f\u52a0\u5feb\uff0c\u6211\u5168\u795e\u8d2f\u6ce8\u5730\u6ce8\u89c6\u5c4f\u5e55\uff0c\u552f\u6050\u9057\u6f0f\u4efb\u4f55\u4e00\u9879\u4fe1\u606f\u3002\u5c3d\u7ba1\u8fc7\u7a0b\u6d41\u7545\uff0c\u672a\u9047\u91cd\u5927\u969c\u788d\uff0c\u5185\u5fc3\u4ecd\u65e0\u6cd5\u5b8c\u5168\u653e\u677e\uff0c\u9274\u4e8e\u8fd9\u4ec5\u4ec5\u662f\u8d77\u70b9\u3002<\/p>\n
\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u6211\u8fc5\u901f\u6838\u5bf9\u4e86Squid\u7248\u672c\uff0c\u786e\u8ba4\u5176\u4e3a\u6700\u65b0\u3002\u968f\u4e4b\uff0c\u7740\u624b\u8c03\u6574Squid\u914d\u7f6e\u6587\u4ef6\u3002\u6587\u4ef6\u7ed3\u6784\u7e41\u6742\uff0c\u53c2\u6570\u4f17\u591a\uff0c\u4ee4\u4eba\u76ee\u4e0d\u6687\u63a5\u3002\u5bf9\u7167\u5b98\u65b9\u6307\u5357\uff0c\u6211\u8c28\u614e\u5730\u9010\u884c\u4fee\u6539\uff0c\u6bcf\u53d8\u66f4\u4e00\u5904\u4fbf\u4fdd\u5b58\u5e76\u6d4b\u8bd5\uff0c\u4ee5\u9632\u610f\u5916\u9519\u8bef\u3002<\/p>\n
4.\u914d\u7f6e\u6587\u4ef6\u7684\u5751\uff0c\u8ba9\u6211\u6b32\u54ed\u65e0\u6cea<\/b><\/p>\n
\u8c08\u53ca\u914d\u7f6e\u6587\u4ef6\uff0c\u6211\u6df1\u611f\u6cae\u4e27\u3002Squid\u7684\u914d\u7f6e\u590d\u6742\uff0c\u53c2\u6570\u548c\u9009\u9879\u7e41\u591a\uff0c\u4ee4\u4eba\u5934\u75db\u3002\u66fe\u6709\u4e00\u56de\uff0c\u6211\u4fee\u6539\u4e00\u4e2a\u53c2\u6570\u540e\uff0cSquid\u542f\u52a8\u5931\u8d25\u3002\u7acb\u5373\u6062\u590d\u81f3\u65e7\u914d\u7f6ecentos\u5b89\u88c5squid<\/strong>\uff0c\u65b9\u610f\u8bc6\u5230\u9519\u8bef\u6240\u5728\u3002\u6b64\u7ecf\u5386\uff0c\u5b9e\u4e43\u4ee4\u4eba\u7edd\u671b\u3002<\/p>\n \u6b64\u5916\uff0c\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u5b58\u5728\u591a\u4e2a\u6f5c\u5728\u95ee\u9898\u3002\u5305\u62ec\u5927\u5c0f\u5199\u654f\u611f\u7684\u53c2\u6570\u548c\u683c\u5f0f\u8981\u6c42\u4e25\u683c\u7684\u5b57\u6bb5\u3002\u66fe\u6709\u4e00\u6b21adobe air linux\uff0c\u6211\u5728\u914d\u7f6e\u7f13\u5b58\u8def\u5f84\u65f6\uff0c\u5373\u4fbfSquid\u542f\u52a8\uff0c\u8be5\u8def\u5f84\u4e5f\u672a\u6295\u5165\u4f7f\u7528\u3002\u7ecf\u8fc7\u957f\u65f6\u95f4\u6392\u67e5\uff0c\u65b9\u610f\u8bc6\u5230\u9057\u6f0f\u4e86\u4e00\u4e2a\u659c\u6760\u3002\u6b64\u7c7b\u5c0f\u758f\u5ffd\u9887\u4e3a\u4ee4\u4eba\u6cae\u4e27\u3002<\/p>\n 5.\u542f\u52a8Squid\uff0c\u6211\u7684\u5fc3\u7ec8\u4e8e\u653e\u4e0b\u4e86<\/b><\/p>\n \u5386\u7ecf\u52aa\u529b\uff0c\u6211\u6210\u529f\u5b8c\u6210\u4e86Squid\u914d\u7f6e\u6587\u4ef6\u7684\u8bbe\u7f6e\u3002\u5c4f\u606f\u7247\u523b\uff0c\u6267\u884c`systemctlstartsquid`\uff0c\u56de\u8f66\u540e\uff0c\u754c\u9762\u663e\u793aSquid\u542f\u52a8\u65e0\u8bef\u3002\u6211\u5fc3\u7eea\u5e73\u590d\uff0c\u611f\u53d7\u96be\u4ee5\u8a00\u55bb\u3002\u968f\u5373\u6253\u5f00\u6d4f\u89c8\u5668\u6d4b\u8bd5\u4ee3\u7406\u8bbe\u7f6e\uff0c\u7ed3\u679c\u663e\u793a\u4e00\u5207\u5982\u9884\u671f\u3002\u8fd9\u6210\u5c31\u611f\u80fd\u4ee4\u4eba\u632f\u594b\u4e0d\u5df2\u3002<\/p>\n \u9057\u61be\u7684\u662f\uff0c\u6b63\u5f53\u6211\u559c\u60a6\u4e4b\u523b\uff0cSquid\u7684\u65e5\u5fd7\u6587\u4ef6\u663e\u73b0\u51fa\u4e00\u4e9b\u8b66\u793a\u5185\u5bb9\u3002\u5373\u523b\u68c0\u67e5\u540e\uff0c\u6211\u53d1\u73b0\u7cfb\u914d\u7f6e\u53c2\u6570\u672a\u8fdb\u884c\u6700\u4f18\u8c03\u6574\u3002\u867d\u65e0\u5b9e\u8d28\u5f71\u54cd\uff0c\u7136\u5fc3\u7ed3\u96be\u89e3\u3002\u4e8e\u662f\u6211\u7740\u624b\u4f18\u5316\u914d\u7f6e\uff0c\u8c03\u6574\u53c2\u6570\uff0c\u76f4\u81f3\u65e5\u5fd7\u544a\u8b66\u6e05\u96f6\u3002<\/p>\n 6.\u603b\u7ed3\u4e0e\u53cd\u601d\uff0c\u8ba9\u6211\u6210\u957f\u4e86\u4e0d\u5c11<\/b><\/p>\n <\/p>\n \u5728CentOS\u4e0a\u90e8\u7f72Squid\u7684\u8fc7\u7a0b\u65e2\u8ba9\u6211\u611f\u5230\u6311\u6218\u91cd\u91cd\uff0c\u53c8\u5145\u6ee1\u6210\u5c31\u611f\u3002\u5c3d\u7ba1\u906d\u9047\u4e86\u8bf8\u591a\u96be\u9898\uff0c\u6700\u7ec8\u4ecd\u6210\u529f\u5b8c\u6210\u3002\u6b64\u7ecf\u5386\u8ba9\u6211\u5728\u6280\u672f\u53ca\u5fc3\u6001\u4e0a\u5747\u6709\u663e\u8457\u6536\u83b7\uff0c\u638c\u63e1\u4e86\u5e94\u5bf9\u6311\u6218\u3001\u89e3\u51b3\u95ee\u9898\u7684\u65b9\u6cd5\uff0c\u5e76\u4ece\u5931\u8d25\u4e2d\u6c72\u53d6\u4e86\u5b9d\u8d35\u7ecf\u9a8c\u3002<\/p>\n \u6b64\u5916\uff0c\u5b89\u88c5\u4e0e\u8bbe\u7f6e\u8f6f\u4ef6\u672c\u8d28\u4e0a\u662f\u4e00\u9879\u6301\u7eed\u7684\u5b66\u4e60\u4e0e\u8fdb\u9636\u6d3b\u52a8\u3002\u9047\u96be\u9898\u5373\u5f97\u5b66\u4e60\u826f\u673a\u3002\u5c3d\u7ba1\u8fc7\u7a0b\u8270\u8f9b\uff0c\u6210\u679c\u5374\u5f80\u5f80\u4ee4\u4eba\u6ee1\u610f\u3002\u56e0\u6b64\uff0c\u6211\u9009\u5b9a\u79ef\u6781\u5e94\u5bf9\u6311\u6218\uff0c\u800c\u975e\u56de\u907f\uff0c\u4ee5\u4e3b\u52a8\u6c42\u89e3\u95ee\u9898\u3002<\/p>\n 7.\u5411\u8bfb\u8005\u63d0\u95ee\uff0c\u671f\u5f85\u4f60\u4eec\u7684\u5206\u4eab<\/b><\/p>\n \u5728\u5b89\u88c5\u4e0e\u914d\u7f6e\u8f6f\u4ef6\u671f\u95f4\uff0c\u5404\u4f4d\u8bfb\u8005\u662f\u5426\u906d\u9047\u8fc7\u4ee4\u5176\u6cae\u4e27\u7684\u72b6\u51b5\uff1f\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u5206\u4eab\u60a8\u7684\u906d\u9047\uff0c\u5171\u8bdd\u5fc3\u5f97centos\u5b89\u88c5squid<\/strong>\uff0c\u5171\u540c\u8fdb\u6b65\uff01\u671f\u5f85\u60a8\u7684\u70b9\u8d5e\u4e0e\u8f6c\u53d1\uff01<\/p>\n","protected":false},"excerpt":{"rendered":" centos\u5b89\u88c5squid\u9057\u61be\u7684\u662f\uff0c\u64cd\u4f5c\u7cfb\u7edf\u91c7\u7528CentOS\uff0c\u867d\u7a33\u5b9a\uff0c\u4f46\u914d\u7f6e\u7e41\u7410\u3002Squid\u4e4b\u6240\u4ee5\u88ab\u9009\u4e2d\uff0c\u5176\u591a\u529f\u80fd\u534f\u8bae\u652f\u6301\u53ca\u826f\u597d\u6027\u80fd\u662f\u6211\u8003\u8651\u7684\u91cd\u70b9\u3002\u6b64\u5916\uff0c\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u5b58\u5728\u591a\u4e2a\u6f5c\u5728\u95ee\u9898\u3002\u66fe\u6709\u4e00\u6b21\uff0c\u6211\u5728\u914d\u7f6e\u7f13\u5b58\u8def\u5f84\u65f6\uff0c\u5373\u4fbfSquid\u542f\u52a8\uff0c\u8be5\u8def\u5f84\u4e5f\u672a\u6295\u5165\u4f7f\u7528\u3002\u6b64\u5916\uff0c\u5b89\u88c5\u4e0e\u8bbe\u7f6e\u8f6f\u4ef6\u672c\u8d28\u4e0a\u662f\u4e00\u9879\u6301\u7eed\u7684\u5b66\u4e60\u4e0e\u8fdb\u9636\u6d3b\u52a8\u3002<\/p>\n","protected":false},"author":1,"featured_media":293310,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[1290,3285,3286,2889,2836],"class_list":["post-293309","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-c-5","tag-saz","tag-xyzc","tag-gzpc","tag-pzwj"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=293309"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293309\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/293310"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=293309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=293309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=293309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}