{"id":425,"date":"2021-07-04T18:01:23","date_gmt":"2021-07-04T09:01:23","guid":{"rendered":"https:\/\/blog.numemo.com\/?p=425"},"modified":"2021-07-04T18:01:23","modified_gmt":"2021-07-04T09:01:23","slug":"%e3%83%97%e3%83%ad%e3%83%95%e3%82%a3%e3%83%bc%e3%83%abweb%e3%83%9a%e3%83%bc%e3%82%b8%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f","status":"publish","type":"post","link":"https:\/\/blog.numemo.com\/?p=425","title":{"rendered":"\u30d7\u30ed\u30d5\u30a3\u30fc\u30ebWeb\u30da\u30fc\u30b8\u3092\u4f5c\u3063\u305f"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u30d7\u30ed\u30d5\u30a3\u30fc\u30ebWeb\u30da\u30fc\u30b8\u3092\u4f5c\u3063\u305f<\/h2>\n\n\n\n<p>\u306a\u3093\u3068\u306a\u304f\u4f5c\u308a\u305f\u304f\u306a\u3063\u305f\u306e\u3067\u3002\u8a73\u3057\u3044\u4eba\u306b\u6559\u3048\u3066\u3082\u3089\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u6700\u8fd1\u306eWeb\u306fHTML\u3066\u304f\u3066\u304f\u66f8\u304f\u3093\u3058\u3083\u306a\u304f\u3066npm??\u7ba1\u7406\u30c4\u30fc\u30eb\u304b\u3089\u30d3\u30eb\u30c9??\u3067\u304d\u308b\u3068\u304b\u805e\u3044\u3066\u3059\u3054\u3044\u306a\u3041\u2026\u3063\u3066\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">\u30d6\u30ed\u30b0\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u5909\u3048\u305f<\/h2>\n\n\n\n<p>www.numemo.com -> blog.numemo.com\u306b\u30c9\u30e1\u30a4\u30f3\u5909\u66f4\u3002Ubuntu\u306e\u8a2d\u5b9a\u3092\u3061\u3087\u3063\u3068\u5909\u3048\u305f\u3060\u3051\u3067\u3089\u304f\u3089\u304f\u3060\u3063\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">apache\u306e\u8a2d\u5b9a\u5909\u66f4\uff08www\u3092blog\u306b\u5909\u66f4\uff09<\/h3>\n\n\n\n<p>1\u6bb5\u968e\u76ee\u306fsites-available\u914d\u4e0b\u306econfig\u30d5\u30a1\u30a4\u30eb\u3092\u8907\u88fd\u3057\u3066\u3001\u3061\u3087\u3053\u3063\u3068\u76f4\u3059\u3060\u3051\u3002<\/p>\n\n\n\n<p>cp -p \/etc\/apache2\/sites-available\/www.numemo.com.conf \/etc\/apache2\/sites-available\/blog.numemo.com.conf<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Apache\u8a2d\u5b9a\u5909\u66f4\u3092\u53cd\u6620<\/h3>\n\n\n\n<p>a2ensite\u30b3\u30de\u30f3\u30c9\u3067\u8a2d\u5b9a\u3092\u53cd\u6620\u3055\u305b\u308b\u3002<\/p>\n\n\n\n<p>sudo a2ensite blog.numemo.com.conf<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">SSL\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3059\u308b<\/h3>\n\n\n\n<p>sudo certbot &#8211;apache<\/p>\n\n\n\n<p>Which names would you like to activate HTTPS for? \u3068\u805e\u304b\u308c\u308b\u306e\u3067\u3001\u65b0\u3057\u304f\u8a3c\u660e\u66f8\u3092\u53d6\u308a\u305f\u3044\u65b9\u3092\u9078\u3076<\/p>\n\n\n\n<p>1: blog.numemo.com<br>2: www.numemo.com<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u65e7\u30c9\u30e1\u30a4\u30f3\u306e\u8a3c\u660e\u66f8\u3092\u5931\u52b9\u3055\u305b\u308b<\/h3>\n\n\n\n<p>sudo certbot delete<br>Which certificate(s) would you like to delete?\u3000\u3053\u308c\u3082\u6570\u5b57\u3092\u9078\u629e\u3057\u3066\u5931\u52b9\u3055\u305b\u308b<\/p>\n\n\n\n<p>1: blog.numemo.com<br>2: www.numemo.com<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">certbot\u81ea\u52d5\u518d\u53d6\u5f97\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n\n\n\n<p>sudo systemctl status certbot.timer<\/p>\n\n\n\n<p>\u4e00\u5fdc\u78ba\u8a8d\u3057\u3066\u304a\u3057\u307e\u3044<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d7\u30ed\u30d5\u30a3\u30fc\u30ebWeb\u30da\u30fc\u30b8\u3092\u4f5c\u3063\u305f \u306a\u3093\u3068\u306a\u304f\u4f5c\u308a\u305f\u304f\u306a\u3063\u305f\u306e\u3067\u3002\u8a73\u3057\u3044\u4eba\u306b\u6559\u3048\u3066\u3082\u3089\u3063\u305f\u3002 \u3061\u306a\u307f\u306b\u6700\u8fd1\u306eWeb\u306fHTML\u3066\u304f\u3066\u304f\u66f8\u304f\u3093\u3058\u3083\u306a\u304f\u3066npm??\u7ba1\u7406\u30c4\u30fc\u30eb\u304b\u3089\u30d3\u30eb\u30c9??\u3067\u304d\u308b\u3068\u304b\u805e\u3044\u3066\u3059\u3054\u3044\u306a\u3041\u2026\u3063\u3066\u601d\u3044\u307e\u3057 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.numemo.com\/?p=425\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u30d7\u30ed\u30d5\u30a3\u30fc\u30ebWeb\u30da\u30fc\u30b8\u3092\u4f5c\u3063\u305f&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/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-425","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.numemo.com\/index.php?rest_route=\/wp\/v2\/posts\/425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.numemo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.numemo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.numemo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.numemo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=425"}],"version-history":[{"count":1,"href":"https:\/\/blog.numemo.com\/index.php?rest_route=\/wp\/v2\/posts\/425\/revisions"}],"predecessor-version":[{"id":426,"href":"https:\/\/blog.numemo.com\/index.php?rest_route=\/wp\/v2\/posts\/425\/revisions\/426"}],"wp:attachment":[{"href":"https:\/\/blog.numemo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.numemo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.numemo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}