{"id":412,"date":"2025-11-18T23:15:58","date_gmt":"2025-11-18T15:15:58","guid":{"rendered":"http:\/\/www.heyd666.top\/?p=412"},"modified":"2026-01-15T14:27:34","modified_gmt":"2026-01-15T06:27:34","slug":"%e9%85%92%e9%a6%86%e4%b8%80%e9%94%ae%e5%ae%89%e8%a3%85%e8%84%9a%e6%9c%ac-2","status":"publish","type":"post","link":"https:\/\/www.heyd666.top\/index.php\/2025\/11\/18\/%e9%85%92%e9%a6%86%e4%b8%80%e9%94%ae%e5%ae%89%e8%a3%85%e8%84%9a%e6%9c%ac-2\/","title":{"rendered":"\u9152\u9986\u4e00\u952e\u5b89\u88c5\u811a\u672c"},"content":{"rendered":"\n<p>#\u5b89\u88c5 termux<\/p>\n\n\n\n<p>#\u8fdb\u5165github\u4e0b\u8f7d\u5b89\u88c5\uff1a<a href=\"https:\/\/github.com\/termux\/termux-app\/releases\">https:\/\/github.com\/termux\/termux-app\/releases<\/a><\/p>\n\n\n\n<p>#\u6ca1\u6709\u9b54\u6cd5\u7684\u8bdd\uff0c\u76f4\u63a5\u8bbf\u95ee\u8fd9\u4e2a\u94fe\u63a5\u4e0b\u8f7d\uff0c\u5185\u542btermux\u5b89\u88c5\u5305\u4ee5\u53ca\u4e00\u4e9b\u9152\u9986\u8d44\u6e90<\/p>\n\n\n\n<p>#\u94fe\u63a5: <a href=\"https:\/\/pan.quark.cn\/s\/eaa79020de97?pwd=71Tm\u63d0\u53d6\u7801\uff1a71Tm\">https:\/\/pan.quark.cn\/s\/eaa79020de97?pwd=71Tm<\/a><\/p>\n\n\n\n<p>\u590d\u5236\u4ee5\u4e0b\u5185\u5bb9\u5230termux\u6267\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/gitee.com\/HEYD66\/sillytavern001\/raw\/master\/sillytavern.sh | tr -d '\\r' | bash<\/code><\/pre>\n\n\n\n<p>#\u4ee3\u7801\u5185\u5bb9\u5982\u4e0b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-green-cyan-color has-black-background-color has-text-color has-background has-link-color wp-elements-8755221cbfadc3f0d10839e1eace9e0c\"><code>#!\/data\/data\/com.termux\/files\/usr\/bin\/bash\n\n# \u6b22\u8fce\u4fe1\u606f\necho -e \"\\033&#91;32m=== SillyTavern \u4e00\u952e\u5b89\u88c5\u811a\u672c\uff08\u5168\u81ea\u52a8\u5316+\u5f00\u673a\u81ea\u542f\u7248\uff09===\\033&#91;0m\"\necho \"\u5b89\u88c5\u5b8c\u6210\u540e\u81ea\u52a8\u542f\u52a8\uff0c\u4e14\u6bcf\u6b21\u6253\u5f00Termux\u4f1a\u81ea\u52a8\u540e\u53f0\u542f\u52a8...\"\n\n# 1. \u66f4\u65b0\u8f6f\u4ef6\u6e90\u5e76\u5347\u7ea7\uff08\u81ea\u52a8\u5904\u7406\u914d\u7f6e\u51b2\u7a81\uff09\necho -e \"\\n\\033&#91;34m1. \u6b63\u5728\u66f4\u65b0\u8f6f\u4ef6\u6e90\u7d22\u5f15...\\033&#91;0m\"\napt update -y || { echo -e \"\\033&#91;31m\u8f6f\u4ef6\u6e90\u66f4\u65b0\u5931\u8d25\uff01\u68c0\u67e5\u7f51\u7edc\u540e\u91cd\u8bd5\u3002\\033&#91;0m\"; exit 1; }\n\necho -e \"\\033&#91;34m2. \u6b63\u5728\u5347\u7ea7\u5df2\u5b89\u88c5\u8f6f\u4ef6...\\033&#91;0m\"\napt upgrade -y -o DPkg::Options::=\"--force-confnew\" || { echo -e \"\\033&#91;31m\u8f6f\u4ef6\u5347\u7ea7\u5931\u8d25\uff01\u68c0\u67e5\u7f51\u7edc\u540e\u91cd\u8bd5\u3002\\033&#91;0m\"; exit 1; }\n\n# 2. \u5b89\u88c5\u4f9d\u8d56\uff08\u5907\u7528\u7248\u672c\u515c\u5e95\uff09\necho -e \"\\n\\033&#91;34m3. \u6b63\u5728\u5b89\u88c5 Git \u5de5\u5177...\\033&#91;0m\"\npkg install git -y || { echo -e \"\\033&#91;31mGit \u5b89\u88c5\u5931\u8d25\uff01\u68c0\u67e5\u7f51\u7edc\u540e\u91cd\u8bd5\u3002\\033&#91;0m\"; exit 1; }\n\necho -e \"\\033&#91;34m4. \u6b63\u5728\u5b89\u88c5 Node.js \u73af\u5883...\\033&#91;0m\"\npkg install nodejs -y || { \n    echo -e \"\\033&#91;33m\u6807\u51c6\u7248\u5931\u8d25\uff0c\u5c1d\u8bd5\u957f\u671f\u652f\u6301\u7248...\\033&#91;0m\";\n    pkg install nodejs-lts -y || { echo -e \"\\033&#91;31mNode.js \u5b89\u88c5\u5931\u8d25\uff01\u68c0\u67e5\u7f51\u7edc\u540e\u91cd\u8bd5\u3002\\033&#91;0m\"; exit 1; }\n}\n\n# 3. \u514b\u9686\u4ee3\u7801\necho -e \"\\n\\033&#91;34m5. \u6b63\u5728\u514b\u9686 SillyTavern \u4ee3\u7801...\\033&#91;0m\"\ngit clone https:\/\/githubfast.com\/SillyTavern\/SillyTavern -b release || {\n    echo -e \"\\033&#91;33m\u7b2c\u4e00\u4e2a\u955c\u50cf\u5931\u8d25\uff0c\u5c1d\u8bd5\u7b2c\u4e8c\u4e2a...\\033&#91;0m\";\n    git clone https:\/\/kkgithub.com\/SillyTavern\/SillyTavern -b release || {\n        echo -e \"\\033&#91;33m\u7b2c\u4e8c\u4e2a\u955c\u50cf\u5931\u8d25\uff0c\u5c1d\u8bd5 GitHub \u5b98\u65b9\u6e90\uff08\u9700\u79d1\u5b66\u4e0a\u7f51\uff09...\\033&#91;0m\";\n        git clone https:\/\/github.com\/SillyTavern\/SillyTavern -b release || {\n            echo -e \"\\033&#91;31m\u6240\u6709\u955c\u50cf\u5747\u5931\u8d25\uff01\u68c0\u67e5\u7f51\u7edc\u6216\u79d1\u5b66\u4e0a\u7f51\u540e\u91cd\u8bd5\u3002\\033&#91;0m\";\n            exit 1;\n        }\n    }\n}\n\n# 4. \u5b89\u88c5\u9879\u76ee\u4f9d\u8d56\uff08\u6dd8\u5b9d\u955c\u50cf\u52a0\u901f\uff09\necho -e \"\\n\\033&#91;34m6. \u6b63\u5728\u5b89\u88c5\u9879\u76ee\u4f9d\u8d56...\\033&#91;0m\"\ncd SillyTavern || { echo -e \"\\033&#91;31m\u8fdb\u5165\u76ee\u5f55\u5931\u8d25\uff01\\033&#91;0m\"; exit 1; }\nnpm config set registry https:\/\/registry.npmmirror.com\nnpm install -y || { echo -e \"\\033&#91;31m\u4f9d\u8d56\u5b89\u88c5\u5931\u8d25\uff01\u68c0\u67e5\u7f51\u7edc\u540e\u91cd\u8bd5\u3002\\033&#91;0m\"; exit 1; }\n\n# 5. \u914d\u7f6e\u5f00\u673a\u81ea\u542f\uff08\u65b0\u589e\u6838\u5fc3\u903b\u8f91\uff09\necho -e \"\\n\\033&#91;34m7. \u6b63\u5728\u914d\u7f6e Termux \u5f00\u673a\u81ea\u542f...\\033&#91;0m\"\n# \u5b9a\u4e49\u81ea\u542f\u547d\u4ee4\uff08\u540e\u53f0\u542f\u52a8\uff0c\u4e0d\u5e72\u6270\u7ec8\u7aef\u4f7f\u7528\uff09\nAUTO_START_CMD=\"cd ~\/SillyTavern &amp;&amp; .\/start.sh &gt;\/dev\/null 2&gt;&amp;1 &amp;\"\n# \u68c0\u67e5~\/.bashrc\u4e2d\u662f\u5426\u5df2\u5b58\u5728\u81ea\u542f\u547d\u4ee4\uff0c\u4e0d\u5b58\u5728\u5219\u6dfb\u52a0\ngrep -qF \"$AUTO_START_CMD\" ~\/.bashrc || {\n    echo -e \"\\n# SillyTavern \u5f00\u673a\u81ea\u542f\u547d\u4ee4\" &gt;&gt; ~\/.bashrc\n    echo \"$AUTO_START_CMD\" &gt;&gt; ~\/.bashrc\n    echo -e \"\\033&#91;32m\u5f00\u673a\u81ea\u542f\u914d\u7f6e\u6210\u529f\uff01\\033&#91;0m\"\n} || {\n    echo -e \"\\033&#91;33m\u5df2\u5b58\u5728\u5f00\u673a\u81ea\u542f\u914d\u7f6e\uff0c\u65e0\u9700\u91cd\u590d\u6dfb\u52a0~ \\033&#91;0m\"\n}\n\n# 6. \u7acb\u5373\u81ea\u52a8\u542f\u52a8\u7a0b\u5e8f\necho -e \"\\n\\033&#91;32m=== \u5b89\u88c5\u5b8c\u6210\uff0c\u6b63\u5728\u81ea\u52a8\u542f\u52a8 SillyTavern...===\\033&#91;0m\"\necho -e \"1. \u672c\u6b21\u542f\u52a8\uff1a\u6d4f\u89c8\u5668\u8bbf\u95ee http:\/\/localhost:8080\"\necho -e \"2. \u4e0b\u6b21\u6253\u5f00Termux\uff0c\u4f1a\u81ea\u52a8\u540e\u53f0\u542f\u52a8\uff0c\u76f4\u63a5\u8bbf\u95ee\u5730\u5740\u5373\u53ef\\n\"\n# \u540e\u53f0\u542f\u52a8\uff0c\u4e0d\u963b\u585e\u7ec8\u7aef\n.\/start.sh &gt;\/dev\/null 2&gt;&amp;1 &amp;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>#\u5b89\u88c5 termux #\u8fdb\u5165github\u4e0b\u8f7d\u5b89\u88c5\uff1ahttps:\/\/github.com\/termux\/term [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":48,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-412","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn"],"_links":{"self":[{"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/posts\/412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/comments?post=412"}],"version-history":[{"count":6,"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/posts\/412\/revisions"}],"predecessor-version":[{"id":718,"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/posts\/412\/revisions\/718"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/media\/48"}],"wp:attachment":[{"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/media?parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/categories?post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.heyd666.top\/index.php\/wp-json\/wp\/v2\/tags?post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}