{"id":1,"date":"2025-05-13T10:56:56","date_gmt":"2025-05-13T02:56:56","guid":{"rendered":"https:\/\/blog.zjfahhdsh.top\/?p=1"},"modified":"2026-02-21T19:49:29","modified_gmt":"2026-02-21T11:49:29","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/blog.zjfahhdsh.top\/?p=1","title":{"rendered":"singbox\u4ee3\u7406\u670d\u52a1\u5668+wordpress\u5efa\u7ad9\u8bb0\u5f55"},"content":{"rendered":"\n<p><strong>singbox\u4ee3\u7406\u670d\u52a1\u642d\u5efa<\/strong><br>singbox\u4ee3\u7406\u670d\u52a1\u4f7f\u7528233boy\u7684\u811a\u672c\u81ea\u52a8\u642d\u5efa<br>Github \u5730\u5740:<a href=\"https:\/\/github.com\/233boy\/sing-box\">https:\/\/github.com\/233boy\/sing-box<\/a><br>\u4e0b\u8f7d\u811a\u672c\u5e76\u6267\u884c<br><code>bash &lt;(wget -qO- -o- https:\/\/github.com\/233boy\/sing-box\/raw\/main\/install.sh)<\/code><\/p>\n\n\n\n<p><strong>wordpress\u642d\u5efa<\/strong><br>\u9996\u5148\u5b89\u88c5web\u670d\u52a1\u5668\uff0c\u7531\u4e8esingbox\u811a\u672c\u81ea\u52a8\u5b89\u88c5\u4e86caddy\uff0c\u6240\u4ee5\u4f7f\u7528caddy\u4f5c\u4e3a\u7f51\u9875\u670d\u52a1\u5668\u3002<br>\u5728 \/etc\/caddy\/sites\u4e0b\u521b\u5efa\u6587\u4ef6\uff0c\u5199\u5165<br><code>blog.zjfahhdsh.top {<br>root * \/root\/wordpress<br>php_fastcgi * 127.0.0.1:9000<br>file_server<br>}<\/code><\/p>\n\n\n\n<p><strong>\u5b89\u88c5php<\/strong><br><code>sudo apt-get update<br>sudo apt-get install php<\/code><\/p>\n\n\n\n<p><strong>\u5b89\u88c5php-cgi<\/strong><br><code>sudo apt-get install php<\/code><br><code>sudo apt install php-cgi<\/code><\/p>\n\n\n\n<p><strong>\u5b89\u88c5phpmyadmin<\/strong><br><code>wget <a href=\"https:\/\/files.phpmyadmin.net\/phpMyAdmin\/5.2.1\/phpMyAdmin-5.2.1-all-languages.zip\">https:\/\/files.phpmyadmin.net\/phpMyAdmin\/5.2.1\/phpMyAdmin-5.2.1-all-languages.zip<\/a><br>unzip phpMyAdmin-5.2.1-all-languages.zip<br>mv phpMyAdmin-5.2.1-all-languages \/root\/phpmyadmin<\/code><br>\u4e4b\u540e\u5728\u6587\u4ef6\u4e2d\u5199\u5165<br><code>phpmyadmin.zjfahhdsh.top {<br>root * \/root\/phpmyadmin<br>php_fastcgi * 127.0.0.1:9000<br>file_server<br>}<\/code><\/p>\n\n\n\n<p><strong>\u5b89\u88c5mysql<\/strong><br>\u521b\u5efa\u76ee\u5f55\u5e76\u8fdb\u5165<br><code>mkdir mysql<br>cd mysql<\/code><br>\u4e0b\u8f7dMySQL<br><code>wget<a href=\" https:\/\/downloads.mysql.com\/archives\/get\/p\/23\/file\/mysql-5.7.37-win32.zip\"> https:\/\/downloads.mysql.com\/archives\/get\/p\/23\/file\/mysql-5.7.37-win32.zip<\/a><\/code><br>\u89e3\u538b\u7f29<br><code>tar -xvf mysql-server_5.7.37-1debian10_amd64.deb-bundle.tar<\/code><br>\u5b89\u88c5libaio<br><code>sudo apt-get install libaio<\/code>1<br><code>\u914d\u7f6emysql\u670d\u52a1\u5668\u5305<\/code><br><code>sudo dpkg-preconfigure mysql-community-server_<em>.deb <\/em><\/code><br>\u5b89\u88c5\u670d\u52a1\u5668\u5305 <br><code>sudo dpkg -i mysql-{common,community-client,client,community-server,server}_.deb<\/code><br>\u5982\u679cdpkg \u8b66\u544a\u672a\u6ee1\u8db3\u4f9d\u8d56\u5173\u7cfb \uff0c\u5219\u53ef\u4ee5\u4f7f\u7528 apt-get\u4fee\u590d\u5b83\u4eec\uff1a<br><code>sudo apt-get -f install<\/code><\/p>\n\n\n\n<p>\u542f\u52a8php-cgi \u5e76\u5728\u540e\u53f0\u8fd0\u884c<br><code>php-cgi -b 127.0.0.1:9000 &amp;<\/code><br>\u91cd\u542fcaddy\uff0c\u4f7f\u7528singbox\u811a\u672c\u7684\u547d\u4ee4<br><code>sb restart caddy<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>singbox\u4ee3\u7406\u670d\u52a1\u642d\u5efasingbox\u4ee3\u7406\u670d\u52a1\u4f7f\u7528233boy\u7684\u811a\u672c\u81ea\u52a8\u642d\u5efaGithub \u5730\u5740:https: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1"}],"version-history":[{"count":15,"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":155,"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions\/155"}],"wp:attachment":[{"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zjfahhdsh.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}