{"id":2146,"date":"2026-03-19T02:01:31","date_gmt":"2026-03-18T18:01:31","guid":{"rendered":"https:\/\/99l.top\/?p=2146"},"modified":"2026-03-19T02:28:03","modified_gmt":"2026-03-18T18:28:03","slug":"termux","status":"publish","type":"post","link":"https:\/\/99l.top\/?p=2146","title":{"rendered":"Termux"},"content":{"rendered":"<p>Termux \u662f\u4e00\u6b3e\u65e0\u9700 Root\u3001\u53ef\u5728\u5b89\u5353\u624b\u673a\u4e0a\u8fd0\u884c\u5b8c\u6574 Linux \u73af\u5883\u7684\u5f00\u6e90\u7ec8\u7aef\u6a21\u62df\u5668\uff0c\u80fd\u8ba9\u624b\u673a\u79d2\u53d8\u4fbf\u643a Linux \u5de5\u4f5c\u7ad9\uff0c\u652f\u6301\u7f16\u7a0b\u3001\u8fd0\u7ef4\u3001\u8fdc\u7a0b\u7ba1\u7406\u7b49\u573a\u666f Termux \u3002<br \/>\n\u4e00\u3001\u6838\u5fc3\u7279\u6027<br \/>\n\u514d Root \u8fd0\u884c\uff1a\u57fa\u4e8e proot \u6280\u672f\u6a21\u62df Linux \u73af\u5883\uff0c\u4e0d\u5f71\u54cd\u624b\u673a\u4fdd\u4fee\u4e0e\u5b89\u5168\u3002<br \/>\n\u5b8c\u6574\u5305\u7ba1\u7406\uff1a\u7528 pkg\/apt \u5b89\u88c5 2000+ \u8f6f\u4ef6\u5305\uff08Python\u3001Node.js\u3001Git\u3001SSH\u3001GCC \u7b49\uff09\u3002<br \/>\n\u7cfb\u7edf\u517c\u5bb9\uff1a\u652f\u6301 Android 7.0+\uff0c\u8f7b\u91cf\u3001\u4f4e\u5185\u5b58\u5360\u7528\u3002 \u2022 \u786c\u4ef6\u8bbf\u95ee\uff1a\u53ef\u8c03\u7528\u5b58\u50a8\u3001\u6444\u50cf\u5934\u3001\u4f20\u611f\u5668\uff08\u9700\u6388\u6743\uff09\u3002<br \/>\n\u8fdc\u7a0b\u80fd\u529b\uff1a\u5185\u7f6e SSH \u5ba2\u6237\u7aef \/ \u670d\u52a1\u7aef\uff0c\u652f\u6301\u8fdc\u7a0b\u8fde\u63a5\u4e0e\u7ba1\u7406 Termux \u3002<br \/>\n\u4e8c\u3001\u5b89\u88c5\uff08\u5b98\u65b9\u63a8\u8350\uff09<br \/>\nGoogle Play \u7248\u5df2\u505c\u66f4<br \/>\n\u514d\u8d39\u4e0b\u8f7d\u5730\u5740<div class=\"erphpdown erphpdown-see erphpdown-see-pay erphpdown-content-vip\" id=\"erphpdown\" style=\"display:block;\">\u6b64\u5185\u5bb9\u4ec5\u9650\u6ce8\u518c\u7528\u6237\u67e5\u770b\uff0c\u8bf7\u5148<a href=\"https:\/\/99l.top\/login\" class=\"erphp-login-must\">\u767b\u5f55<\/a><\/div><br \/>\n\u4e09\u3001\u57fa\u7840\u4f7f\u7528\uff08\u65b0\u624b\u5fc5\u505a\uff09 1. \u9996\u6b21\u914d\u7f6e bash \u8fd0\u884c # \u66f4\u65b0\u6e90\u4e0e\u7cfb\u7edf\u5305<br \/>\npkg update &amp;&amp; pkg upgrade -y<br \/>\n# \u5b89\u88c5\u5e38\u7528\u5de5\u5177\uff08\u6309\u9700\uff09<br \/>\npkg install git curl vim python nodejs openssh htop -y<br \/>\n# \u6388\u6743\u8bbf\u95ee\u624b\u673a\u5b58\u50a8\uff08\u751f\u6210 ~\/storage \u94fe\u63a5\uff09<br \/>\ntermux-setup-storage<br \/>\n\u56db\u3001\u5e38\u7528\u547d\u4ee4\u901f\u67e5 \u5305\u7ba1\u7406 bash \u8fd0\u884c pkg install &lt;\u5305\u540d&gt; # \u5b89\u88c5<br \/>\npkg uninstall &lt;\u5305\u540d&gt; # \u5378\u8f7d<br \/>\npkg list-installed # \u67e5\u770b\u5df2\u88c5<br \/>\npkg search &lt;\u5173\u952e\u8bcd&gt; # \u641c\u7d22\u5305<br \/>\n\u6587\u4ef6\u4e0e\u76ee\u5f55 bash \u8fd0\u884c ls # \u5217\u51fa\u6587\u4ef6<br \/>\ncd &lt;\u8def\u5f84&gt; # \u5207\u6362\u76ee\u5f55<br \/>\ncp\/mv\/rm # \u590d\u5236\/\u79fb\u52a8\/\u5220\u9664<br \/>\nnano &lt;\u6587\u4ef6&gt; # \u7b80\u6613\u7f16\u8f91\u5668<br \/>\nvim &lt;\u6587\u4ef6&gt; # \u9ad8\u7ea7\u7f16\u8f91\u5668<br \/>\n\u7cfb\u7edf\u4e0e\u76d1\u63a7 bash \u8fd0\u884c htop # \u8fdb\u7a0b\u76d1\u63a7<br \/>\ndf -h # \u78c1\u76d8\u4f7f\u7528<br \/>\nfree -h # \u5185\u5b58\u4f7f\u7528<br \/>\nifconfig # \u7f51\u7edc\u4fe1\u606f<br \/>\nSSH \u8fdc\u7a0b bash \u8fd0\u884c # \u4f5c\u4e3a\u5ba2\u6237\u7aef\u8fde\u63a5\u670d\u52a1\u5668<br \/>\nssh user@host<br \/>\n# \u542f\u52a8 SSH \u670d\u52a1\uff08\u624b\u673a\u4f5c\u670d\u52a1\u5668\uff0c\u7aef\u53e3 8022\uff09<br \/>\nsshd<br \/>\n# \u7535\u8111\u7aef\u8fde\u63a5\uff1assh -p 8022 \u624b\u673a\u7528\u6237\u540d@\u624b\u673aIP<br \/>\n\u4e94\u3001\u8fdb\u9636\u73a9\u6cd5 \u2022 \u56fe\u5f62\u754c\u9762\uff1a\u5b89\u88c5 XFCE + VNC\uff0c\u624b\u673a\u8fd0\u884c Linux \u684c\u9762\u3002 \u2022 \u7f16\u7a0b\u5f00\u53d1\uff1aPython\/Node.js\/C++ \u5f00\u53d1\u3001\u8fd0\u884c\u811a\u672c\u3001\u642d\u5efa Web \u670d\u52a1\u3002 \u2022 \u670d\u52a1\u5668\u7ba1\u7406\uff1a\u8fdc\u7a0b\u767b\u5f55\u670d\u52a1\u5668\u3001\u6267\u884c\u8fd0\u7ef4\u547d\u4ee4\u3002 \u2022 \u81ea\u52a8\u5316\u811a\u672c\uff1a\u5b9a\u65f6\u4efb\u52a1\u3001\u6279\u91cf\u5904\u7406\u3001\u8c03\u7528\u624b\u673a API\uff08\u77ed\u4fe1\u3001\u4f20\u611f\u5668\u7b49\uff09\u3002 \u516d\u3001\u56fd\u5185\u4f18\u5316\uff08\u63d0\u901f\uff09 \u66ff\u6362\u4e3a\u6e05\u534e\u955c\u50cf\u6e90\uff1a bash \u8fd0\u884c nano $PREFIX\/etc\/apt\/sources.list<br \/>\n\u66ff\u6362\u5185\u5bb9\uff1a plaintext deb https:\/\/mirrors.tuna.tsinghua.edu.cn\/termux\/apt\/termux-main stable main<br \/>\n\u4fdd\u5b58\u540e\u91cd\u65b0\u66f4\u65b0\uff1apkg update \u9700\u8981\u6211\u7ed9\u4f60\u4e00\u4efd\u53ef\u76f4\u63a5\u590d\u5236\u7684 Termux \u4e00\u952e\u521d\u59cb\u5316\u811a\u672c\uff08\u542b\u6362\u6e90\u3001\u5b89\u88c5\u5e38\u7528\u5de5\u5177\u3001\u914d\u7f6e\u5b58\u50a8\u4e0e SSH\uff09\u5417\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Termux \u662f\u4e00\u6b3e\u65e0\u9700 Root\u3001\u53ef\u5728\u5b89\u5353\u624b\u673a\u4e0a\u8fd0\u884c\u5b8c\u6574 Linux \u73af\u5883\u7684\u5f00\u6e90\u7ec8\u7aef\u6a21\u62df\u5668\uff0c\u80fd\u8ba9\u624b\u673a\u79d2\u53d8\u4fbf\u643a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":[],"meta":{"footnotes":""},"categories":[181],"tags":[],"topic":[],"size":[],"acf":[],"_links":{"self":[{"href":"https:\/\/99l.top\/index.php?rest_route=\/wp\/v2\/posts\/2146"}],"collection":[{"href":"https:\/\/99l.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/99l.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/99l.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/99l.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2146"}],"version-history":[{"count":5,"href":"https:\/\/99l.top\/index.php?rest_route=\/wp\/v2\/posts\/2146\/revisions"}],"predecessor-version":[{"id":2151,"href":"https:\/\/99l.top\/index.php?rest_route=\/wp\/v2\/posts\/2146\/revisions\/2151"}],"wp:attachment":[{"href":"https:\/\/99l.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/99l.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/99l.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2146"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/99l.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=2146"},{"taxonomy":"format","embeddable":true,"href":"https:\/\/99l.top\/index.php?rest_route=%2Fwp%2Fv2%2Fformat&post=2146"},{"taxonomy":"size","embeddable":true,"href":"https:\/\/99l.top\/index.php?rest_route=%2Fwp%2Fv2%2Fsize&post=2146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}