UNPKG

catproxy

Version:

a node proxy or host change tools

356 lines (149 loc) 10.7 kB
<!DOCTYPE HTML> <html lang="zh-hans" > <head> <meta charset="UTF-8"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>安装 · catproxy</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="description" content=""> <meta name="generator" content="GitBook 3.2.2"> <meta name="author" content="jianxcao"> <link rel="stylesheet" href="../gitbook/style.css"> <link rel="stylesheet" href="../gitbook/gitbook-plugin-prism/prism.css"> <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css"> <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css"> <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css"> <meta name="HandheldFriendly" content="true"/> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png"> <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon"> <link rel="next" href="cmd.html" /> <link rel="prev" href="../" /> </head> <body> <div class="book"> <div class="book-summary"> <div id="book-search-input" role="search"> <input type="text" placeholder="输入并搜索" /> </div> <nav role="navigation"> <ul class="summary"> <li class="chapter " data-level="1.1" data-path="../"> <a href="../"> Read Me </a> </li> <li class="chapter active" data-level="1.2" data-path="install.html"> <a href="install.html"> 安装 </a> </li> <li class="chapter " data-level="1.3" data-path="cmd.html"> <a href="cmd.html"> 命令说明 </a> </li> <li class="chapter " data-level="1.4" data-path="manager.html"> <a href="manager.html"> ui配置界面说明 </a> <ul class="articles"> <li class="chapter " data-level="1.4.1" data-path="rule.html"> <a href="rule.html"> 规则配置说明 </a> </li> </ul> </li> <li class="chapter " data-level="1.5" data-path="moniter.html"> <a href="moniter.html"> ui监控界面说明 </a> </li> <li class="chapter " data-level="1.6" data-path="https.html"> <a href="https.html"> https说明 </a> </li> <li class="chapter " data-level="1.7" data-path="updateInfo.html"> <a href="updateInfo.html"> 更新日志 </a> </li> <li class="divider"></li> <li> <a href="https://www.gitbook.com" target="blank" class="gitbook-link"> 本书使用 GitBook 发布 </a> </li> </ul> </nav> </div> <div class="book-body"> <div class="body-inner"> <div class="book-header" role="navigation"> <!-- Title --> <h1> <i class="fa fa-circle-o-notch fa-spin"></i> <a href=".." >安装</a> </h1> </div> <div class="page-wrapper" tabindex="-1" role="main"> <div class="page-inner"> <div id="book-search-results"> <div class="search-noresults"> <section class="normal markdown-section"> <h1 id="&#x5B89;&#x88C5;&#x8BF4;&#x660E;">&#x5B89;&#x88C5;&#x8BF4;&#x660E;</h1> <ol> <li>&#x5B89;&#x88C5;nodejs</li> <li>&#x5168;&#x5C40;&#x5B89;&#x88C5; <code>npm install catproxy -g</code></li> <li>&#x8FD0;&#x884C;&#x547D;&#x4EE4; <code>catproxy</code>, &#x9ED8;&#x8BA4;&#x7AEF;&#x53E3;80&#x3001;443,&#x5982;&#x679C;&#x542F;&#x52A8;&#x9700;&#x8981;sudo&#x6743;&#x9650;,&#x7AEF;&#x53E3;&#x53EF;&#x4EE5;&#x4FEE;&#x6539;</li> <li>&#x5C06;&#x9700;&#x8981;&#x6620;&#x5C04;&#x5230;&#x672C;&#x5730;&#x7684;<strong>host&#x6539;&#x6210;127.0.0.1</strong> &#x5982; <code>127.0.0.1 baidu.com</code></li> <li>https&#x8BF7;&#x6C42;&#x9700;&#x8981;&#x751F;&#x6210;&#x8BC1;&#x4E66;&#x5E76;&#x5B89;&#x88C5;,&#x5177;&#x4F53;&#x8BF7;&#x770B;<a href="wiki/https.md">https&#x5E2E;&#x52A9;</a></li> <li>&#x6253;&#x5F00;<a href="http://127.0.0.1:8001/c/index" target="_blank">&#x7BA1;&#x7406;&#x754C;&#x9762;</a></li> </ol> </section> </div> <div class="search-results"> <div class="has-results"> <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1> <ul class="search-results-list"></ul> </div> <div class="no-results"> <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> </div> </div> </div> </div> </div> </div> <a href="../" class="navigation navigation-prev " aria-label="Previous page: Read Me"> <i class="fa fa-angle-left"></i> </a> <a href="cmd.html" class="navigation navigation-next " aria-label="Next page: 命令说明"> <i class="fa fa-angle-right"></i> </a> </div> <script> var gitbook = gitbook || []; gitbook.push(function() { gitbook.page.hasChanged({"page":{"title":"安装","level":"1.2","depth":1,"next":{"title":"命令说明","level":"1.3","depth":1,"path":"docs/cmd.md","ref":"docs/cmd.md","articles":[]},"previous":{"title":"Read Me","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["edit-link","prism","-highlight","github","-search","search-pro","splitter","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{},"github":{"url":"https://github.com/jianxcao/catproxy"},"livereload":{},"splitter":{},"search-pro":{"cutWordLib":"nodejieba","defineWord":["Gitbook Use"]},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit This Page","base":"https://github.com/jianxcao/catproxy/tree/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"summary":"docs/README.md","theme":"default","author":"jianxcao","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"catproxy","language":"zh-hans","gitbook":"3.2.2"},"file":{"path":"docs/install.md","mtime":"2017-05-19T03:42:38.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-06-02T08:54:00.691Z"},"basePath":"..","book":{"language":""}}); }); </script> </div> <script src="../gitbook/gitbook.js"></script> <script src="../gitbook/theme.js"></script> <script src="../gitbook/gitbook-plugin-edit-link/plugin.js"></script> <script src="../gitbook/gitbook-plugin-github/plugin.js"></script> <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script> <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script> <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script> <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script> <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script> <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script> <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script> <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script> </body> </html>