{"id":225,"date":"2021-03-08T22:09:00","date_gmt":"2021-03-08T14:09:00","guid":{"rendered":"https:\/\/blog.indeex.club\/?p=225"},"modified":"2021-10-13T09:58:46","modified_gmt":"2021-10-13T01:58:46","slug":"arm%e6%9e%b6%e6%9e%84%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/blog.indeex.club\/index.php\/2021\/03\/08\/arm%e6%9e%b6%e6%9e%84%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae\/","title":{"rendered":"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e"},"content":{"rendered":"<hr \/>\n<h2>Python3.7<\/h2>\n<p>\u4e00\u822c\u81ea\u5e26\u6216\u8005\u81ea\u5df1\u5b89\u88c5\uff0c\u6211\u7684\u662f\u7cfb\u7edf\u81ea\u5e26\u76843.7.3\u3002<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm1.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h2>Python3.8<\/h2>\n<h5>1. \u5b89\u88c5python3.8\uff0c\u4f46\u662f\u4e0d\u8981\u5378\u8f7d\u7cfb\u7edf\u4ee5\u524d\u7684python3.7.3\u7248\u672c\uff0c\u76f8\u5f53\u4e8e\u65b0\u589e\u4e00\u4e2apython3.8\u7248\u672c\u5728\u7cfb\u7edf\u4e2d\u3002<\/h5>\n<pre><code class=\"language-javascript line-numbers\">#\u4e0b\u8f7dpython3.8\nwget https:\/\/www.python.org\/ftp\/python\/3.8.0\/Python-3.8.0.tgz#\u89e3\u538bpython3.8\ntar zxvf Python-3.8.0.tgz\n#cd \u5230\u89e3\u538b\u540e\u7684\u76ee\u5f55\u4e2d\ncd Python-3.8.0 \n<\/code><\/pre>\n<h5>2. &#8211;prefix \u6267\u884c\u7f16\u8bd1\u540e\u7684\u5b89\u88c5\u8def\u5f84\uff0c\u53ef\u4ee5\u8bbe\u5b9a\u81ea\u5df1\u7684\u5b89\u88c5\u76ee\u5f55\uff0c\u4e5f\u53ef\u4ee5\u4e0d\u6307\u5b9a\uff0c\u8fd9\u6837\u7684\u8bdd\uff0c\u9700\u8981root\u6743\u9650\u624d\u80fd\u6267\u884c\u540e\u7eed\u7684 install\u3002\u5efa\u8bae\u6307\u5b9a\uff0c\u53ef\u4ee5\u628a\u6240\u6709\u8d44\u6e90\u6587\u4ef6\u653e\u5165\u4e0b\u9762\u6307\u5b9a\u7684\u76ee\u5f55\u4e2d\uff0c\u4ece\u800c\u4e0d\u4f1a\u6742\u4e71\uff0c\u9632\u6b62\u66ff\u6362AidLux\u4e2d\u81ea\u5e26\u7684 Python3.7.3\u3002<\/h5>\n<pre><code class=\"language-javascript line-numbers\">#\u6307\u5b9a\u5b89\u88c5\u8def\u5f84\n.\/configure --prefix=\/home\/python3.8\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm2.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h5>3. \u6267\u884c\u7f16\u8bd1\uff0c\u7531\u4e8e\u6d4b\u8bd5\u624b\u673a\u662f\u9ad8\u901a870\uff0c\u6240\u4ee5\u9009\u7528\u76848\u7ebf\u7a0b\uff0c\u63d0\u9ad8\u7f16\u8bd1\u901f\u5ea6\uff0c\u5982\u679c\u624b\u673a\u8f83\u5dee\uff0c\u5c31\u7528-j2\u6216-j4\uff0c\u5927\u6982\u9700\u8981\u51e0\u5206\u949f\u3002<\/h5>\n<pre><code class=\"language-javascript line-numbers\">make -j8\n<\/code><\/pre>\n<p>\u5982\u679c\u8fd9\u91cc\u62a5\u9519\uff0c\u53ef\u80fd\u662f\u7b2c 2 \u6b65\u672a\u6210\u529f\uff0c\u5c1d\u8bd5\u91cd\u590d\u7b2c 2 \u6b65\u64cd\u4f5c\u3002<\/p>\n<p>\u7f16\u8bd1\u5b8c\u6210\uff1a<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm3.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h5>4. \u6267\u884c\u5b89\u88c5\u547d\u4ee4 altinstall \u4e0e install \u7684\u533a\u522b\u5728\u4e8e\uff0caltinstall \u8df3\u8fc7\u521b\u5efaPython\u94fe\u63a5\u548c\u624b\u518c\u9875\u94fe\u63a5\uff0c\u5b83\u5b89\u88c5\u540e\u53ef\u4ee5\u4e0e\u6811\u8393\u6d3e\u81ea\u5e26\u7684 Python3.7.3 \u5171\u5b58\uff0c\u4e0d\u4f1a\u51fa\u73b0\u51b2\u7a81\u548c\u66ff\u6362\uff0c\u5efa\u8bae\u4f7f\u7528 altinstall\u3002<\/h5>\n<pre><code class=\"language-javascript line-numbers\">make altinstall\n<\/code><\/pre>\n<p>\u7b49\u5f85\u6267\u884c\u540e\uff0c\u5c31\u5df2\u7ecf\u5b89\u88c5\u597d\u4e86\uff1a<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm4.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p><em>\u63d0\u793a\uff1a\u5982\u679c\u5728 .\/configure \u7684\u65f6\u5019\u6307\u5b9a\u4e86 &#8211;prefix \u9009\u9879\uff0c\u5982\u679c\u8def\u5f84\u6ca1\u6709\u8bfb\u5199\u6743\u9650\uff0c\u5219\u53ef\u80fd\u5b89\u88c5\u5931\u8d25\u3002\u4fdd\u9669\u8d77\u89c1\uff0c\u6307\u5b9a \u2013prefix \u4e14\u5b89\u88c5\u4e4b\u540e\uff0c\u8bf7\u68c0\u67e5\u4e00\u4e0b\u662f\u5426\u6709\u62a5\u9519\uff0c\u6216\u8005\u6307\u5b9a\u8def\u5f84\u4e0b\u662f\u5426\u5b89\u88c5\u6210\u529f<\/em><\/p>\n<h5>5. \u914d\u7f6epython3.8\u7684\u73af\u5883\u53d8\u91cf<\/h5>\n<p>\/home\/python3.8\/bin\/\u662f\u6d4b\u8bd5\u4e2dpython\u5b89\u88c5\u7684\u8def\u5f84\uff0c\u5982\u679c\u6709\u4fee\u6539\u8bf7\u66f4\u6539\u8be5\u8def\u5f84\u3002<\/p>\n<pre><code class=\"language-javascript line-numbers\">#\u914d\u7f6ePython3.8\u73af\u5883\u53d8\u91cf\necho 'export PATH=$PATH:\/home\/python3.8\/bin\/' &gt;&gt; \/root\/.bashrc &amp;&amp; source ~\/.bashrc\npython3.8\n<\/code><\/pre>\n<p>\u6548\u679c\u5982\u4e0b\u56fe\uff1a<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm5.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h2>C\/C++<\/h2>\n<p>\u56e0\u4e3ac++\u63d2\u4ef6\u7684\u53ea\u652f\u6301x86\uff0c\u4e0d\u652f\u6301arm64\uff0c\u4f46\u662f\u6362\u4e86clang\u7f16\u8bd1\u5668\u540e\uff0cc++\u7684\u63d2\u4ef6\u5c31\u652f\u6301arm64\u4e86\uff0c\u540c\u65f6\u652f\u6301\u667a\u80fd\u63d0\u9192\uff0c\u667a\u80fd\u8865\u9f50\uff0c\u667a\u80fd\u51fd\u6570\u548c\u53d8\u91cf\u63d0\u9192<\/p>\n<h5>1. \u5b89\u88c5gcc g++ clang gdb<\/h5>\n<pre><code class=\"language-javascript line-numbers\">apt install -y gcc g++ clang gdb\n<\/code><\/pre>\n<h5>2. \u5728vscode\u4e2d\u88c5\u4e00\u4e2a\u63d2\u4ef6clangd<\/h5>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm6.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h5>3. \u8fd0\u884c\u4e0b\u9762\u4ee3\u7801hello.cpp<\/h5>\n<pre><code class=\"language-javascript line-numbers\">#include &lt;iostream&gt;\/\/\u5934\u6587\u4ef6\n\nusing namespace std;\n\nint main()\/\/\u4e3b\u51fd\u6570\n\n{\n\n    cout &lt;&lt; \"Hello world!\\n\";\/\/cout\u662f\u8f93\u51fa\uff0c\\n\u662f\u6362\u884c\u7b26\n    return 0;\/\/\u7ed3\u675f\u7a0b\u5e8f\n\n}\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm7.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h4>compile-base<\/h4>\n<p>\u8fd9\u4e2a\u5305\u5c06\u5b89\u88c5cmake\u3001make\u3001gcc\u3001g++\u3001python3-dev\u3001cython\u6765\u7f16\u8bd1PIP3\u6216C++\u4e0d\u652f\u6301\u7684\u5305\u6e90\u5230arm64\u5e73\u53f0\u3002<\/p>\n<h4>gcc<\/h4>\n<p>gcc v8.3.0,GNU C\u7f16\u8bd1\u5668\uff0c\u53ef\u79fb\u690d\u7684C\u4f18\u5316\u7f16\u8bd1\u5668\u3002<\/p>\n<h4>g++<\/h4>\n<p>g++ v8.3.0-1, GNU C++\u7f16\u8bd1\u5668\uff0c\u9002\u5408C++\u7684\u4f18\u5316\u7f16\u8bd1\u5668\u3002<\/p>\n<h4>cmake<\/h4>\n<p>cmake v3.13.4-1,CMake\u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u3001\u5f00\u6e90\u7684\u6784\u5efa\u7cfb\u7edf\u751f\u6210\u5668\u3002<\/p>\n<h4>make<\/h4>\n<p>make v4.2.1,GNU Make\u662f\u4e00\u4e2a\u5b9e\u7528\u7a0b\u5e8f\uff0c\u5b83\u63a7\u5236\u4ece\u7a0b\u5e8f\u7684\u6e90\u6587\u4ef6\u751f\u6210\u7a0b\u5e8f\u7684\u53ef\u6267\u884c\u6587\u4ef6\u548c\u5176\u4ed6\u76ee\u6807\u6587\u4ef6\u3002<\/p>\n<h2>Rust<\/h2>\n<pre><code class=\"language-javascript line-numbers\">#\u5b89\u88c5\napt install rustc rust-src rust-gdb rust-doc rustdoc-stripper\n<\/code><\/pre>\n<p>vscode\u4e2d\u5b89\u88c5rust\u7684\u63d2\u4ef6:<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm8.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>\u6d4b\u8bd5rust\uff0chelllo world<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm9.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h2>php<\/h2>\n<p>\u7b2c\u4e00\u6b65 \u5b89\u88c5php<\/p>\n<p>\u6362\u6e90\uff0c\u6e05\u534e\u6e90\u6216\u534e\u4e3a\u6e90\u3002<\/p>\n<pre><code class=\"language-javascript line-numbers\">#\u5b89\u88c5\napt install php\n<\/code><\/pre>\n<p>\u7b2c\u4e8c\u6b65 \u67e5\u770b php\u7248\u672c<\/p>\n<pre><code class=\"language-javascript line-numbers\">php -version\n<\/code><\/pre>\n<p>\u7b2c\u4e09\u6b65 \u521b\u5efa\u76ee\u5f55<\/p>\n<pre><code class=\"language-javascript line-numbers\">mkdir phpserver\n<\/code><\/pre>\n<p>\u7b2c\u56db\u6b65 \u542f\u52a8php\u670d\u52a1<\/p>\n<pre><code class=\"language-javascript line-numbers\">php -S 0.0.0.0:9090 -t \/phpserver \n<\/code><\/pre>\n<p>\u56e0\u4e3a\u4e0a\u9762\u521b\u5efa\u7684\u76ee\u5f55\u5728\u6839\u76ee\u5f55\u6240\u4ee5\u4f7f\u7528\u7684 \/phpserver\uff0c\u4e0b\u9762\u4ee3\u7801\u9700\u8981\u4fdd\u5b58\u4e3aindex.php\uff0c\u56e0\u4e3a\u4e0a\u9762\u542f\u52a8\u672a\u6307\u5b9a\u6587\u4ef6\u540d\uff0c\u8be6\u7ec6\u53c2\u8003\u4e0b\u9762\u6ce8\u610f\u4e8b\u9879<\/p>\n<pre><code class=\"language-javascript line-numbers\">&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;body&gt;\n  &lt;?php\n  echo \"\u6211\u7684\u7b2c\u4e00\u6bb5 PHP \u811a\u672c\uff01\";\n  ?&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n<p><em>\u6ce8\u610f\u4e8b\u9879\uff1a<\/em><\/p>\n<p><em>URI\u8bf7\u6c42\u4f1a\u88ab\u53d1\u9001\u5230PHP\u6240\u5728\u7684\u7684\u5de5\u4f5c\u76ee\u5f55\uff08Working Directory\uff09\u8fdb\u884c\u5904\u7406\uff0c\u9664\u975e\u4f60\u4f7f\u7528\u4e86-t\u53c2\u6570\u6765\u81ea\u5b9a\u4e49\u4e0d\u540c\u7684\u76ee\u5f55\u3002<\/em><\/p>\n<p><em>\u5982\u679c\u8bf7\u6c42\u672a\u6307\u5b9a\u6267\u884c\u54ea\u4e2aPHP\u6587\u4ef6\uff0c\u5219\u9ed8\u8ba4\u6267\u884c\u76ee\u5f55\u5185\u7684index.php \u6216\u8005 index.html\u3002\u5982\u679c\u8fd9\u4e24\u4e2a\u6587\u4ef6\u90fd\u4e0d\u5b58\u5728\uff0c\u670d\u52a1\u5668\u4f1a\u8fd4\u56de404\u9519\u8bef\u3002<\/em><\/p>\n<p><em>\u5f53\u4f60\u5728\u547d\u4ee4\u884c\u542f\u52a8\u8fd9\u4e2aWeb Server\u65f6\uff0c\u5982\u679c\u6307\u5b9a\u4e86\u4e00\u4e2aPHP\u6587\u4ef6\uff0c\u5219\u8fd9\u4e2a\u6587\u4ef6\u4f1a\u4f5c\u4e3a\u4e00\u4e2a\u201c\u8def\u7531\u201d\u811a\u672c\uff0c\u610f\u5473\u7740\u6bcf\u6b21\u8bf7\u6c42\u90fd\u4f1a\u5148\u6267\u884c\u8fd9\u4e2a\u811a\u672c\u3002\u5982\u679c\u8fd9\u4e2a\u811a\u672c\u8fd4\u56de false \uff0c\u90a3\u4e48\u76f4\u63a5\u8fd4\u56de\u8bf7\u6c42\u7684\u6587\u4ef6\uff08\u4f8b\u5982\u8bf7\u6c42\u9759\u6001\u6587\u4ef6\u4e0d\u4f5c\u4efb\u4f55\u5904\u7406\uff09\u3002\u5426\u5219\u4f1a\u628a\u8f93\u51fa\u8fd4\u56de\u5230\u6d4f\u89c8\u5668\u3002<\/em><\/p>\n<p>\u6548\u679c\u56fe\uff1a<\/p>\n<p>\u901a\u8fc7\u7535\u8111\u5728\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\u4e2d\u8bbf\u95ee\u521a\u521a\u53d1\u5e03php\u670d\u52a1\uff0c\u524d\u63d0\u5fc5\u987b\u4e92\u76f8\u53efping\u901a\u72b6\u6001\u3002<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm10.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h2>go<\/h2>\n<p>1\u3001 \u4e0b\u8f7d<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/golang.google.cn\/dl\/\">go<\/a><\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm11.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>2\u3001\u7b2c\u4e8c\u6b65\uff0c\u5c06\u6587\u4ef6\u901a\u8fc7Finder\u4e0a\u4f20\u5230home\u76ee\u5f55\u4e0b\uff0c\u624b\u673a\u4e0b\u8f7d\u5728sdcard\u4e2d\u590d\u5236\uff0c\u7535\u8111\u4e0b\u8f7d\u76f4\u63a5\u901a\u8fc7\u6d4f\u89c8\u62d6\u62fd\u5230home\u76ee\u5f55\u91cc\u9762<\/p>\n<p>3\u3001\u89e3\u538btar -xzvf go1.16.3.linux-arm64.tar.gz\uff0c\u89e3\u538b\u540e\u518d\u6587\u4ef6\u540d\u4e3ago\u7684\u76ee\u5f55\u4e2d\uff0c\u6ce8\u610f\uff0c\u8be5\u547d\u4ee4\u8981\u5728home\u76ee\u5f55\u4e2d\u6267\u884c<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm12.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>4\u3001\u79fb\u52a8\u5230mv go \/usr\/local\u76ee\u5f55\u4e0b\uff0c\u6ce8\u610f\uff0c\u8be5\u547d\u4ee4\u8981\u5728home\u76ee\u5f55\u4e2d\u6267\u884c<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm13.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>5\u3001\u914d\u7f6ego\u73af\u5883<\/p>\n<pre><code class=\"language-javascript line-numbers\">#GOROOT\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\nexport PATH=$PATH:\/usr\/local\/go\/bin\n#GOPATH\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\uff08go\u5de5\u4f5c\u76ee\u5f55\uff09\nexport GOPATH=\/home\/goCoding\/\nexport GOPATH=\/home\/gocoding\/ \n<\/code><\/pre>\n<p>6\u3001go version\u67e5\u770bgo\u7248\u672c<\/p>\n<pre><code class=\"language-javascript line-numbers\">go version\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm14.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>7\u3001\u8fd0\u884ctest.go\u6587\u4ef6\u6d4b\u8bd5<\/p>\n<pre><code class=\"language-javascript line-numbers\">go run test.go\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm15.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>8\u3001\u914d\u7f6egoproxy<\/p>\n<pre><code class=\"language-javascript line-numbers\"># \u542f\u7528 Go Modules \u529f\u80fd\nexport GO111MODULE=on\n# \u914d\u7f6e GOPROXY \u73af\u5883\u53d8\u91cf\nexport GOPROXY=https:\/\/goproxy.cn\n#\u725b\u4e91\u4e5f\u51fa\u4e86\u4e2a\u56fd\u5185\u4ee3\u7406 goproxy.cn \u65b9\u4fbf\u56fd\u5185\u7528\u6237\u66f4\u5feb\u7684\u8bbf\u95ee\ngo env -w GO111MODULE=on\ngo env -w GOPROXY=https:\/\/goproxy.cn,direct\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm16.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>9\u3001\u6839\u636e\u5e73\u53f0\u548cCPU\u7c7b\u578b\u9009\u62e9,<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/github.com\/snail007\/goproxy\/releases\">\u4e0b\u8f7d\u5730\u5740<\/a><\/p>\n<pre><code class=\"language-javascript line-numbers\">#\u514d\u8d39\u7248\u6267\u884c\u8fd9\u4e2a\uff1a\ncd \/root\/proxy\/  \nwget https:\/\/mirrors.host900.com\/https:\/\/github.com\/snail007\/goproxy\/releases\/download\/v10.5\/proxy-linux-arm64-v8.tar.gz  \n#\u5546\u4e1a\u7248\u6267\u884c\u8fd9\u4e2a\uff1a\ncd \/root\/proxy\/  \nwget https:\/\/mirrors.host900.com\/https:\/\/github.com\/snail007\/goproxy\/releases\/download\/v10.5\/proxy-linux-arm64-v8_commercial.tar.gz\n<\/code><\/pre>\n<p>\u4e0b\u8f7d\u81ea\u52a8\u5b89\u88c5\u811a\u672c<\/p>\n<pre><code class=\"language-javascript line-numbers\">cd \/root\/proxy\/  \nwget https:\/\/mirrors.host900.com\/https:\/\/raw.githubusercontent.com\/snail007\/goproxy\/master\/install.sh\n<\/code><\/pre>\n<p>\u4e0b\u8f7d\u540e\u9700\u8981\u66f4F\u4f4d\u7f6e\uff0c\u66f4\u6539\u4e3a\uff1aF=&#8221;proxy-linux-arm64-v8.tar.gz&#8221;\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u4e0b\u9762\u811a\u672c<\/p>\n<pre><code class=\"language-javascript line-numbers\">#!\/bin\/bash\nF=\"proxy-linux-arm64-v8.tar.gz\"\nmanual=\"https:\/\/snail.gitee.io\/proxy\/manual\/\"\nset -e\nWORKDIR=\"\/tmp\/proxy\"\nrm -rf $WORKDIR\nmkdir $WORKDIR\ncp $F $WORKDIR\ncd \/tmp\/proxy\necho -e \"&gt;&gt;&gt; installing ... \\n\"\ntar zxvf $F &gt;\/dev\/null\nset +e\nkillall -9 proxy &gt;\/dev\/null 2&gt;&amp;1\nset -e\ncp -f proxy \/usr\/bin\/\nchmod +x \/usr\/bin\/proxy\nif [ ! -e \/etc\/proxy ]; then\n    mkdir \/etc\/proxy\n    cp blocked \/etc\/proxy\n    cp direct  \/etc\/proxy\nfi\nif [ ! -e \/etc\/proxy\/proxy.crt ]; then\n    cd \/etc\/proxy\/\n    proxy keygen -C proxy &gt;\/dev\/null 2&gt;&amp;1 \nfi\nrm -rf \/tmp\/proxy\nversion=`proxy --version 2&gt;&amp;1`\necho  -e \"&gt;&gt;&gt; install done, thanks for using snail007\/goproxy $version\\n\"\necho  -e \"&gt;&gt;&gt; install path \/usr\/bin\/proxy\\n\"\necho  -e \"&gt;&gt;&gt; configuration path \/etc\/proxy\\n\"\necho  -e \"&gt;&gt;&gt; uninstall just exec : rm \/usr\/bin\/proxy &amp;&amp; rm -rf \/etc\/proxy\\n\"\necho  -e \"&gt;&gt;&gt; How to using? Please visit : $manual\\n\"\n\u6267\u884c\u811a\u672c\nchmod +x install.sh  \n.\/install.sh \n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm17.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm18.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>10\u3001\u67e5\u770bproxy\u662f\u5426\u5b89\u88c5\u6210\u529f\u548cproxy &#8211;version<\/p>\n<pre><code class=\"language-javascript line-numbers\">proxy --version\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm19.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm20.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>11\u3001vscode\u5b89\u88c5go\u63d2\u4ef6,\u66f4\u591a\u63d2\u4ef6\u7528\u6cd5\u53ef\u4ee5\u767e\u5ea6<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm21.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>12\u3001\u8fd0\u884ctest.go<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm22.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h2>JAVA<\/h2>\n<p>\u7531\u4e8eJAVA\u6280\u672f\u53ef\u4ee5\u767e\u5ea6\u540eCtrl C \u548c Ctrl V\uff0c\u81ea\u884c\u767e\u5ea6\u5373\u53ef\u3002<\/p>\n<p>\u8fd9\u91cc\u5b89\u88c5OpenJDK\uff0c\u5b89\u88c5\u6210\u529f\u9a8c\u8bc1\uff1a<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm23.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<h2>jdk-8<\/h2>\n<p>\u7b2c1\u6b65\uff0c\u4e0b\u8f7djdk1.8.0_291\uff0c\u53ef\u4ee5\u5728java\u5b98\u7f51\uff0c\u4e5f\u53ef\u4ee5\u5728QQ\u7fa4\u4e2d\u4e0b\u8f7d\u3002<\/p>\n<p>\u7b2c2\u6b65\uff0c\u5728\/opt \u76ee\u5f55\u4e2d\u89e3\u538b<\/p>\n<pre><code class=\"language-javascript line-numbers\">cd \/opt\ntar -zxvf jdk-8u291-linux-aarch64.tar \n<\/code><\/pre>\n<p>\u7b2c3\u6b65\uff1a\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n<p>\u6253\u5f00\u914d\u7f6e\u6587\u4ef6\uff0c\u53ef\u4ee5\u7528vim\uff0c\u4e5f\u53ef\u4ee5\u7528document\u3002<\/p>\n<pre><code class=\"language-javascript line-numbers\">vim \/etc\/profile\n<\/code><\/pre>\n<p>vim\u7684\u4f7f\u7528\u81ea\u884c\u89e3\u51b3\uff0c\u4e5f\u53ef\u4ee5\u5728document\u91cc\u9762\u590d\u5236\u3001\u7c98\u8d34\u548c\u4fdd\u5b58\u3002<\/p>\n<p>\u5728\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0\uff1a<\/p>\n<pre><code class=\"language-javascript line-numbers\">vim \/etc\/profile\n<\/code><\/pre>\n<pre><code class=\"language-javascript line-numbers\">#set java env\nexport JAVA_HOME=\/opt\/jdk8\nexport JRE_HOME=${JAVA_HOME}\/jre\nexport CLASSPATH=.:${JAVA_HOME}\/lib:${JRE_HOME}\/lib\nexport PATH=${JAVA_HOME}\/bin:$PATH\n<\/code><\/pre>\n<p>\u7b2c4\u6b65\uff1a\u4fee\u6539\u4fdd\u5b58\u9000\u51fa\u540e,\u4f7f\u7528\u547d\u4ee4\u4f7f\u914d\u7f6e\u751f\u6548: source \/etc\/profile<\/p>\n<pre><code class=\"language-javascript line-numbers\">source \/etc\/profile\n<\/code><\/pre>\n<p>\u7b2c5\u6b65\uff1a\u6d4b\u8bd5\u662f\u5426\u914d\u7f6e\u6210\u529f,\u8f93\u5165\u547d\u4ee4: java -version<\/p>\n<pre><code class=\"language-javascript line-numbers\">java -version\n<\/code><\/pre>\n<p>\u6b63\u5e38\u663e\u793a\u4ee3\u8868\u914d\u7f6e\u6210\u529f<\/p>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/jdk8-downloads-2133151.html\">java\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740<\/a><\/p>\n<p>\u5173\u4e8eopenjfx\u7248\u672c\u4e0d\u5339\u914d\u53c2\u8003\u8fd9\u4e2a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/openjfx\/+bug\/1799946\">\u6587\u7ae0<\/a><\/p>\n<p>\u6ce8\u610f\uff1a\u6267\u884c\u5b8csource \/etc\/profile\u4f1a\u8ba9terminal\u65e0\u6cd5\u9ad8\u4eae\u663e\u793a\uff0c\u91cd\u65b0\u6267\u884c\u4e0b\u9762\u547d\u4ee4\u5373\u53ef<\/p>\n<pre><code class=\"language-javascript line-numbers\">source ~\/.bashrc\n<\/code><\/pre>\n<h2>Web &#8211; node &amp;&amp; npm &amp;&amp; yarn<\/h2>\n<p>1\u3001<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/nodejs.org\/en\/download\/\">\u5b98\u7f51<\/a>\u4e0b\u8f7dnode\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u5b89\u88c5\u3002<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u9a8c\u8bc1\uff1a<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm24.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>2\u3001\u5b89\u88c5cnmp\uff08\u7531\u4e8e\u6709\u4e9bnpm\u8d44\u6e90\u7684\u539f\u56e0\uff0c\u7ecf\u5e38\u4f1a\u5bfc\u81f4npm\u5b89\u88c5\u4f9d\u8d56\u5305\u7684\u65f6\u5019\u5931\u8d25\uff0c\u6240\u4ee5\u6211\u4eec\u8fd8\u9700\u8981npm\u7684\u56fd\u5185\u955c\u50cf&#8212;-cnpm\uff09,WARN\u8b66\u544a\u53ef\u4ee5\u5ffd\u7565\uff0c\u4e5f\u53ef\u4ee5\u5347\u7ea7cnmp\u5bf9\u5e94\u7684\u7248\u672c<\/p>\n<pre><code class=\"language-javascript line-numbers\">npm install -g cnpm --registry=http:\/\/registry.npm.taobao.org\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm25.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>3\u3001\u5b89\u88c5yarn<\/p>\n<pre><code class=\"language-javascript line-numbers\">npm install -g yarn --registry=http:\/\/registry.npm.taobao.org\n<\/code><\/pre>\n<p>\u5982\u679c\u63d0\u793a\u6743\u9650\uff0c\u5c1d\u8bd5 sudo \u7ba1\u7406\u5458\u8fd0\u884c\u3002<\/p>\n<p>\u4e4b\u540e\u5c31\u53ef\u4ee5\u6109\u5feb\u7684\u5b89\u88c5\u5176\u4ed6\u5e93\u6216\u6846\u67b6\u4e86\u3002<\/p>\n<h3>Vue.js\/React.js\/Angular.js and so on&#8230;<\/h3>\n<p>\u4ee5Vue\u4e3a\u4f8b\uff1a<\/p>\n<p>1\u3001\u5b89\u88c5vue\uff1a<\/p>\n<pre><code class=\"language-javascript line-numbers\">cnpm install vue\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm26.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>2\u3001\u5168\u5c40\u5b89\u88c5 vue-cli\uff0c\u6ce8\u610f\u4e00\u5b9a\u8981\u662f\u5168\u5c40\uff0ccnpm install &#8211;global vue-cli\uff0c\u4e0b\u9762\u62a5\u9519\u53ef\u4ee5\u5ffd\u7565\uff0c\u89e3\u51b3\u65b9\u6848\u53ef\u4ee5\u67e5\u770bgithub<\/p>\n<pre><code class=\"language-javascript line-numbers\">cnpm install --global vue-cli\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm27.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>3\u3001\u521b\u5efa\u4e00\u4e2a\u57fa\u4e8e webpack \u6a21\u677f\u7684\u65b0\u9879\u76ee\uff0cvue init webpack my-project\uff08\u6709\u7ecf\u9a8c\u548c\u9700\u6c42\u53ef\u4ee5\u81ea\u884c\u914d\u7f6e\uff0c\u5982\u679c\u6ca1\u6709\u4e00\u76f4\u6309\u56de\u8f66\u5373\u53ef\uff09\uff0c\u8fc7\u7a0b\u4e2d\u7684\u8b66\u544a\u53ef\u4ee5\u6682\u65f6\u5ffd\u7565\uff0c\u540e\u9762\u6709\u9700\u8981\u518d\u53bbgithub\u4e0a\u9762\u4e00\u4e00\u5bf9\u5e94\u89e3\u51b3<\/p>\n<pre><code class=\"language-javascript line-numbers\">vue init webpack my-project\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm28.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>4\u3001\u8fdb\u5165\u5230\u76ee\u5f55\u6587\u4ef6\u4e2d<\/p>\n<pre><code class=\"language-javascript line-numbers\">cd my-project\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm29.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>5\u3001\u5b89\u88c5cnpm install<\/p>\n<p>\u63d0\u793a\uff1a\u5fc5\u987b\u8981\u5230my-project\u76ee\u5f55\u4e0b\u53bb\u5b89\u88c5<\/p>\n<pre><code class=\"language-javascript line-numbers\">cnpm install\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm30.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>\u6587\u4ef6\u8def\u5f84\uff1a\/home\/my-project\/config\/index.js \u5fc5\u987b\u4fee\u6539\u7684\u4e24\u4e2a\u53c2\u6570\uff1a<\/p>\n<pre><code class=\"language-javascript line-numbers\">host:'0.0.0.0',\/\/\u4fee\u6539\u540e\u53ef\u4ee5\u5728\u7535\u8111\u4e0a\u8bbf\u95ee\u4f60\u7684\u624b\u673aip\u5730\u5740\nport: 9080,\/\/\u7aef\u53e3\u4fee\u6539\uff0c\u4e0d\u80fd\u548c\u5df2\u6709\u7aef\u53e3\u51b2\u7a81\n<\/code><\/pre>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm31.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>9\u3001\u542f\u52a8 my-project<\/p>\n<pre><code class=\"language-javascript line-numbers\">npm run -dev\n<\/code><\/pre>\n<p>\u8be5\u547d\u4ee4\u8981\u5728my-project\u76ee\u5f55\u4e0b\u8f93\u5165<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm32.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>\u5982\u679c\u9047\u5230\u4e0b\u9762\u60c5\u51b5\u662f\u56e0\u4e3a\u76d1\u542c\u6587\u4ef6\u8d85\u8fc7\u5b89\u5353\u7684\u6700\u5927\u9650\u5b9a65536\uff0ckill -\u8fdb\u7a0b\u503c \u6389\u5fc5\u8981\u7684\u8fdb\u7a0b<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm40.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>\u542f\u52a8\u6210\u529f\uff1a<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm41.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>10\u3001\u901a\u8fc7\u6d4f\u89c8\u5668\u6d4b\u8bd5<\/p>\n<p>\u624b\u673aip\u5730\u5740:9080<\/p>\n<p><img src=\"https:\/\/hungking.cc\/assets\/imgs\/indeex.cc\/arm42.png\" alt=\"Arm\u67b6\u6784\u73af\u5883\u914d\u7f6e\" \/><\/p>\n<p>code enjoy! \ud83d\udc3e\ud83d\udc3e\ud83d\udc3e\ud83d\udc3e\ud83d\udc3e\ud83d\udc3e\ud83d\udc3e\ud83d\udc3e\ud83d\udc0c\ud83d\udc1d<\/p>\n<p>\u4f5c\u8005\uff1aindeex<\/p>\n<p>\u94fe\u63a5\uff1a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/indeex.club\/\">https:\/\/indeex.club<\/a><\/p>\n<p>\u8457\u4f5c\u6743\u5f52\u4f5c\u8005\u6240\u6709\u3002\u5546\u4e1a\u8f6c\u8f7d\u8bf7\u8054\u7cfb\u4f5c\u8005\u83b7\u5f97\u6388\u6743\uff0c\u975e\u5546\u4e1a\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\u3002<\/p>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>Python3.7 \u4e00\u822c\u81ea\u5e26\u6216\u8005\u81ea\u5df1\u5b89\u88c5\uff0c\u6211\u7684\u662f\u7cfb\u7edf\u81ea\u5e26\u76843.7.3\u3002 Python3.8 1. \u5b89<a href=\"https:\/\/blog.indeex.club\/index.php\/2021\/03\/08\/arm%e6%9e%b6%e6%9e%84%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae\/\" class=\"read-more\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/posts\/225"}],"collection":[{"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/comments?post=225"}],"version-history":[{"count":1,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":226,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/posts\/225\/revisions\/226"}],"wp:attachment":[{"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/media?parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/categories?post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/tags?post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}