{"id":61,"date":"2021-05-01T12:02:00","date_gmt":"2021-05-01T12:02:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=61"},"modified":"2021-05-01T12:02:00","modified_gmt":"2021-05-01T12:02:00","slug":"61","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/05\/01\/61\/","title":{"rendered":"Typecho \u81ea\u7528\u535a\u5ba2\u7b14\u8bb0\u5b89\u88c5  \u4e0a\u7bc7"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/05\/1226391089.png\" alt=\"Typecho_01.png\" title=\"Typecho_01.png\"><\/p>\n<h2>typecho.sh \u811a\u672c\u5982\u4e0b\uff0c\u4e5f\u53ef\u4ee5\u590d\u5236\u7c98\u8d34<\/h2>\n<pre><code># \u5efa\u7acb\u535a\u5ba2\u7f51\u7ad9\u8ddf\u76ee\u5f55\nmkdir -p \/var\/www\/html\/\ncd  \/var\/www\/html\/\n\n# \u4e0b\u8f7d Typecho \u535a\u5ba2\u7a0b\u5e8f\u6e90\u7801\u548c\u89e3\u538b\nwget http:\/\/typecho.org\/downloads\/1.1-17.10.30-release.tar.gz\ntar xvf  1.1-17.10.30-release.tar.gz\n\n# \u79fb\u52a8 Typecho \u6e90\u7801\u5230\u7f51\u7ad9\u8ddf\u76ee\u5f55   \u8bbe\u7f6e\u7f51\u7ad9\u76ee\u5f55\u8bbf\u95ee\u6743\u9650(\u91cd\u8981)\nmv build\/* \/var\/www\/html\/\nchown -R www-data:www-data   \/var\/www\/html\/\n<\/code><\/pre>\n<hr \/>\n<h2>\u5982\u679c\u6ca1\u88c5Docker\u8f6f\u4ef6\uff0cDocker \u4e00\u952e\u811a\u672c\u5b89\u88c5<\/h2>\n<pre><code>curl -fsSLo- get.docker.com | \/bin\/sh<\/code><\/pre>\n<hr \/>\n<h2>\u542f\u52a8 nginx-php-fpm7.4 \u5bb9\u5668<\/h2>\n<pre><code>docker run -d -p 80:80 -p 443:443  \\r\n    --cpus 0.8   --restart=always   \\r\n    -v \/var\/www\/html:\/var\/www\/html   \\r\n    --name  nginx-php      \\r\n    hongwenjun\/nginx-php<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/05\/1863535040.png\" alt=\"Typecho_02.png\" title=\"Typecho_02.png\"><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/05\/1045397150.png\" alt=\"Typecho_03.png\" title=\"Typecho_03.png\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>typecho.sh \u811a\u672c\u5982\u4e0b\uff0c\u4e5f\u53ef\u4ee5\u590d\u5236\u7c98\u8d34 # \u5efa\u7acb\u535a\u5ba2\u7f51\u7ad9\u8ddf\u76ee\u5f55 mkdir -p \/var\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,3],"tags":[37],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-linux","category-default","tag-blog"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}