{"id":98,"date":"2022-07-29T04:03:24","date_gmt":"2023-06-23T18:14:01","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"},"modified":"2025-07-31T14:00:08","modified_gmt":"2025-07-31T05:00:08","slug":"ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5"},"content":{"rendered":"<h3>\u4ee5\u4e0b\u306e\u6587\u7ae0\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u9078\u629e\u80a2\u306f1\u3064\u3060\u3051\u3067\u3059\uff1a<\/h3>\n<p>\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3<\/p>\n<p>\u30de\u30b9\u30c8\u30c9\u30f3\u306f\u5206\u6563\u30e2\u30c7\u30eb\u3001\u307e\u305f\u306f\u9023\u90a6\u3068\u547c\u3070\u308c\u308b\u65b9\u5f0f\u3092\u5229\u7528\u3057\u305f\u30de\u30a4\u30af\u30ed\u30d6\u30ed\u30b0\u306e\u30bd\u30fc\u30b7\u30e3\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u30de\u30b9\u30c8\u30c9\u30f3\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u3067\u3042\u308a\u3001\u3069\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u3082\u8ab0\u3067\u3082\u5c55\u958b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5404\u30b5\u30fc\u30d0\u30fc\u306f\u72ec\u81ea\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u306a\u308a\u3001\u5404\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u306f\u72ec\u81ea\u306e\u30dd\u30ea\u30b7\u30fc\u3084\u30e2\u30c7\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u5b58\u5728\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30de\u30b9\u30c8\u30c9\u30f3\u30b5\u30fc\u30d0\u30fc\u306e\u9023\u90a6\u5185\u3067\u306f\u3001\u5404\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u4ed6\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u306e\u60c5\u5831\u5171\u6709\u3082\u53ef\u80fd\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5358\u4e00\u306e\u30b5\u30fc\u30d0\u30fc\u5185\u3060\u3051\u3067\u306a\u304f\u3001\u8907\u6570\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u307e\u305f\u3044\u3067\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u3068\u306e\u76f8\u4e92\u4f5c\u7528\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u3053\u306e\u6642\u70b9\u3067\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308bMastodon 4.0.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u516c\u5f0f\u306eMastodon\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8a2d\u5b9a\u3057\u3001\u4ed6\u306e\u3059\u3079\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306e\u74b0\u5883\u3092\u6e96\u5099\u3057\u307e\u3059\u3002\u5bfe\u8a71\u578b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u3001\u30e1\u30fc\u30eb\u3001\u8cc7\u7523\u3001\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u305f\u3081\u306e\u30ab\u30b9\u30bf\u30e0Mastodon\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b\u3001Let&#8217;s Encrypt\u3092\u901a\u3058\u3066SSL\/TLS\u8a3c\u660e\u66f8\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30bb\u30ad\u30e5\u30a2\u306b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\n<p>\u6ce8\u610f\uff1a\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Mastodon\u306e\u958b\u767a\u30c1\u30fc\u30e0\u304c\u63a8\u5968\u3059\u308b\u901a\u308a\u3001\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u6b21\u306e\u4ee3\u66ffMastodon\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3082\u691c\u8a0e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1a<\/p>\n<p>\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u306b\u3042\u308b\u300c1\u30af\u30ea\u30c3\u30af\u89e3\u6c7a\u6cd5\u300d\u3067\u3059\u3002Silicon Cloud Marketplace 1-Click\u3067\u306eMastodon\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u5f93\u3063\u3066\u3001\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u5f93\u3063\u3066\u9032\u3081\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3082\u306e\u304c\u5fc5\u8981\u3067\u3059\uff1a<\/p>\n<ul class=\"post-ul\">\n<li>An Ubuntu 20.04 server with a sudo-enabled non-root user and firewall. You can set this up by following our Initial Server Setup with Ubuntu 20.04 tutorial.<\/li>\n<li>PostgreSQL installed on your server following Step 1 of our guide on How To Install and Use PostgreSQL on Ubuntu 20.04.<\/li>\n<li>Node.js version 16.xx installed on your server. Use Option 2 in our How To Install Node.js on Ubuntu 20.04 tutorial.<\/li>\n<li>Nginx installed on your server following Step 1 of our How To Install Nginx on Ubuntu 20.04 tutorial.<\/li>\n<li>A registered domain name. This tutorial uses your_domain throughout. You can get one for free at Freenom, or use the domain registrar of your choice.<\/li>\n<li>An A DNS record with your_domain pointing to your server\u2019s public IP address. You can manage your domains and DNS records using a Silicon Cloud account.<\/li>\n<\/ul>\n<p>\u3059\u3079\u3066\u3092\u8a2d\u5b9a\u3057\u305f\u3089\u3001\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u59cb\u3081\u308b\u6e96\u5099\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d71 \u2014 \u30de\u30b9\u30c8\u30c9\u30f3\u306e\u30b7\u30b9\u30c6\u30e0\u30e6\u30fc\u30b6\u30fc\u3068PostgreSQL\u306e\u30ed\u30fc\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/h2>\n<p>Mastodon\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u304c\u7279\u5b9a\u306e\u30b7\u30b9\u30c6\u30e0\u30e6\u30fc\u30b6\u30fc\u3067\u3042\u308b\u300cmastodon\u300d\u3068\u3044\u3046\u540d\u524d\u3067\u7ba1\u7406\u3055\u308c\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u73fe\u5728\u3001Mastodon\u306e\u591a\u304f\u306e\u90e8\u5206\u306b\u306f\u305d\u308c\u304c\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001PostgreSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30b7\u30b9\u30c6\u30e0\u30ec\u30d9\u30eb\u3068\u3057\u3066\u3001\u307e\u305f\u5f79\u5272\u3068\u3057\u3066\u300cmastodon\u300d\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u524d\u63d0\u6761\u4ef6\u3067\u521d\u671f\u30b5\u30fc\u30d0\u30fc\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u305f\u3068\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306fsudo\u3092\u7701\u7565\u3057\u3066root\u3068\u3057\u3066\u5b9f\u884c\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u307e\u305a\u3001adduser\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30de\u30b9\u30c8\u30c9\u30f3\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> adduser mastodon<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001\u7ba1\u7406\u8005\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u305f\u3081\u306b\u3001\u30de\u30b9\u30c8\u30c9\u30f3\u306e\u30e6\u30fc\u30b6\u30fc\u3092sudo\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">usermod<\/span> <span class=\"token parameter variable\">-aG<\/span> <span class=\"token function\">sudo<\/span> mastodon<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30b7\u30b9\u30c6\u30e0\u30ec\u30d9\u30eb\u306e\u30de\u30b9\u30c8\u30c9\u30f3\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u6b21\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5185\u306b\u5bfe\u5fdc\u3059\u308b\u5f79\u5272\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002PostgreSQL\u3067\u306f\u3001peer\u8a8d\u8a3c\u304c\u4f7f\u7528\u3055\u308c\u3001\u4f5c\u6210\u3057\u305f\u5f79\u5272\u304c\u30b7\u30b9\u30c6\u30e0\u30e6\u30fc\u30b6\u30fc\u3068\u4e00\u81f4\u3057\u307e\u3059\u3002\u30de\u30b9\u30c8\u30c9\u30f3\u3068\u3044\u3046\u540d\u524d\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token parameter variable\">-u<\/span> postgres createuser <span class=\"token parameter variable\">&#8211;interactive<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30d5\u30e9\u30b0\u304c\u6b21\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8868\u793a\u3057\u3001\u305d\u3053\u3067\u65b0\u3057\u3044\u5f79\u5272\uff08\u30de\u30b9\u30c8\u30c9\u30f3\uff09\u306e\u540d\u524d\u3092\u9078\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u65b0\u3057\u3044\u5f79\u5272\u3092\u30b9\u30fc\u30d1\u30fc\u30e6\u30fc\u30b6\u30fc\u306b\u3059\u308b\u306b\u306f\u3001y\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Enter name of role to add: <mark>mastodon<\/mark> Shall the new role be a superuser? (y\/n) <mark>y<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4eca\u5ea6\u306f\u65b0\u3057\u304f\u4f5c\u6210\u3057\u305f\u30de\u30b9\u30c8\u30c9\u30f3\u306e\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">su<\/span> &#8211; mastodon<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4eca\u5f8c\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u3059\u3079\u3066\u306e\u30b3\u30de\u30f3\u30c9\u3092\u3053\u306eMastodon\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72- \u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068Mastodon\u306e\u30af\u30ed\u30fc\u30f3\u4f5c\u6210<\/h2>\n<p>Mastodon\u306e\u307b\u3068\u3093\u3069\u306e\u8a2d\u5b9a\u306f\u3001\u5f8c\u306e\u624b\u9806\u3067\u884c\u3046\u5bfe\u8a71\u578b\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u901a\u3058\u3066\u51e6\u7406\u3055\u308c\u307e\u3059\u3002\u6700\u521d\u306b\u3001\u305d\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Mastodon\u306f\u3001Ruby\u3068Node.js\u3092\u4e2d\u5fc3\u306b\u69cb\u7bc9\u3055\u308c\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308a\u3001Linux\u74b0\u5883\u3067\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001APT\uff08Linux\u30b7\u30b9\u30c6\u30e0\u30ec\u30d9\u30eb\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\uff09\u3001Ruby\u306egems\u306eBundler\u3001\u304a\u3088\u3073Node.js\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306eYarn\u306e3\u3064\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001Mastodon\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u4ee5\u4e0b\u306e\u9806\u5e8f\u3067\u9032\u884c\u3057\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Install APT dependencies.<\/li>\n<li>Clone Mastodon from source.<\/li>\n<li>Install Ruby and Mastodon\u2019s Ruby dependencies.<\/li>\n<li>Install Node.js dependencies.<\/li>\n<\/ul>\n<p>\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u3001Redis\u3092\u30ad\u30fc\u30b9\u30c8\u30a2\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092apt\u3092\u901a\u3058\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u307e\u305f\u3001TLS\/SSL\u6697\u53f7\u5316\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306eCertbot\u3084\u3001\u30d3\u30eb\u30c9\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3001\u753b\u50cf\u51e6\u7406\u306e\u305f\u3081\u306e\u3055\u307e\u3056\u307e\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001apt update\u3092\u4f7f\u3063\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>apt install\u3092\u4f7f\u7528\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token punctuation\">\\<\/span><\/li>\n<li data-prefix=\"$\">imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev <span class=\"token punctuation\">\\<\/span><\/li>\n<li data-prefix=\"$\">libprotobuf-dev protobuf-compiler pkg-config <span class=\"token punctuation\">\\<\/span><\/li>\n<li data-prefix=\"$\">redis-server redis-tools <span class=\"token punctuation\">\\<\/span><\/li>\n<li data-prefix=\"$\">certbot python3-certbot-nginx libidn11-dev libicu-dev libjemalloc-dev<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<h3>\u30de\u30b9\u30c8\u30c9\u30f3\u306e\u8907\u88fd\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>\u4eca\u3001\u30b5\u30fc\u30d0\u30fc\u306f\u516c\u5f0f\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089Mastodon\u30bd\u30fc\u30b9\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002\u5148\u307b\u3069\u8ff0\u3079\u305f\u901a\u308a\u3001\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306eMastodon\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u73fe\u5728\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fv4.0.2\u3067\u3059\u304c\u3001\u3053\u308c\u306b\u3088\u308a\u6700\u65b0\u306e\u6a5f\u80fd\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3001\u304a\u3088\u3073\u30d0\u30b0\u4fee\u6b63\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u3001Mastodon\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u65b0\u3057\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u300clive\u300d\u3068\u3044\u3046\u540d\u524d\u3067\u30b5\u30fc\u30d0\u30fc\u306b\u30af\u30ed\u30fc\u30f3\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">git<\/span> clone https:\/\/github.com\/mastodon\/mastodon.git live<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u547d\u540d\u898f\u5247\u306f\u3001Mastodon\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u3067\u4f7f\u7528\u3055\u308c\u3001\u4e00\u8cab\u6027\u3092\u4fdd\u3064\u305f\u3081\u306b\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u6b21\u306b\u3001\u4f5c\u6210\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u6b8b\u308a\u306e\u90e8\u5206\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">cd<\/span> live<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3v4.0.2\u3092\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3059\u308b\u305f\u3081\u306b\u3001\u4eca\u3067\u306fgit\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">git<\/span> checkout <mark>v4.0.2<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<h3>Ruby\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068Mastodon\u306eRuby\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>Mastodon\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u6e96\u5099\u3067\u304d\u305f\u3089\u3001Ruby\u3068Mastodon\u306eRuby\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u9032\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Ruby\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30c4\u30fc\u30eb\u3067\u3042\u308brbenv\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002rbenv\u306f\u30b7\u30b9\u30c6\u30e0\u30ec\u30d9\u30eb\u3067\u306f\u306a\u304f\u30e6\u30fc\u30b6\u30fc\u30ec\u30d9\u30eb\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u305f\u3081\u3001\u3053\u306e\u624b\u9806\u306f\u30de\u30b9\u30c8\u30c9\u30f3\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u5207\u308a\u66ff\u3048\u305f\u5f8c\u306b\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Ubuntu 20.04\u3067\u306erbenv\u3092\u4f7f\u7528\u3057\u305fRuby on Rails\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u30b9\u30c6\u30c3\u30d71\u304b\u30893\u306b\u5f93\u3063\u3066\u3001Ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f33.0.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30b9\u30c6\u30c3\u30d72\u306b\u306f\u660e\u793a\u7684\u306b\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b3\u30de\u30f3\u30c9\u3067\u3053\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308c\u3070\u52d5\u4f5c\u3057\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306fRuby on Rails\u306e\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u304c\u3001rbenv\u3092\u4f7f\u7528\u3057\u3066Ruby\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u306e\u307f\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>Ruby\u306e\u4f9d\u5b58\u95a2\u4fc2\u306fBundler\u306b\u3088\u3063\u3066\u7ba1\u7406\u3055\u308c\u307e\u3059\u3002Bundler\u306fMastodon\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u306eRuby\u30b8\u30a7\u30e0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u304c\u3001\u6700\u521d\u306b\u672c\u756a\u74b0\u5883\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Bundler\u306e\u8a2d\u5b9a\u30b7\u30b9\u30c6\u30e0\u3068\u5bfe\u8a71\u3059\u308b\u305f\u3081\u306b\u3001\u30d0\u30f3\u30c9\u30eb\u69cb\u6210\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u3092true\u306b\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">bundle config deployment <span class=\"token string\">&#8216;true&#8217;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001\u958b\u767a\u3068\u30c6\u30b9\u30c8\u306b\u5fc5\u8981\u306a\u4f9d\u5b58\u95a2\u4fc2\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u3001\u4f9d\u5b58\u95a2\u4fc2\u306a\u3057\u3067\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">bundle config without <span class=\"token string\">&#8216;development test&#8217;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001Ruby\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306b\u306f\u4f55\u5ea6\u304b\u306e\u4e00\u6642\u505c\u6b62\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u6b63\u5e38\u306a\u52d5\u4f5c\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">bundle <span class=\"token function\">install<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Fetching gem metadata from https:\/\/rubygems.org\/&#8230;&#8230;&#8230; Fetching https:\/\/github.com\/ClearlyClaire\/webpush.git Fetching rake 13.0.6 Installing rake 13.0.6 Fetching concurrent-ruby 1.1.10 Installing concurrent-ruby 1.1.10 . . .<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4e00\u5ea6\u3053\u308c\u304c\u7d42\u308f\u308b\u3068\u3001\u6700\u5f8c\u306b\u305f\u304f\u3055\u3093\u306e\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5bfe\u5fdc\u304c\u5fc5\u8981\u306a\u3088\u3046\u306b\u898b\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001\u8ffd\u52a0\u306e\u884c\u52d5\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u5b89\u5fc3\u3057\u3066\u9032\u3081\u307e\u3059\u3002<\/p>\n<h3>Mastodon\u306eJavaScript\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/h3>\n<p>Mastodon\u306eRuby\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001JavaScript\u306e\u4f9d\u5b58\u95a2\u4fc2\u306b\u79fb\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Mastodon\u306f\u3001npm\u306e\u4ee3\u308f\u308a\u306bJavaScript\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u7ba1\u7406\u304a\u3088\u3073\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306byarn\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u300216.10\u4ee5\u4e0a\u306eNode.js\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u3001yarn\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067corepack\u7d4c\u7531\u3067\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u30e4\u30fc\u30f3\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u3001Node.js\u306e\u6dfb\u4ed8\u3055\u308c\u3066\u3044\u308b\u30b3\u30a2\u30d1\u30c3\u30af\u3092\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> corepack <span class=\"token builtin class-name\">enable<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30e4\u30fc\u30f3\u306f\u30011.0\u30d0\u30fc\u30b8\u30e7\u30f3\uff08\u30af\u30e9\u30b7\u30c3\u30af\u3068\u3082\u547c\u3070\u308c\u308b\uff09\u30682.0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u958b\u767a\u5c65\u6b74\u304c\u7570\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30de\u30b9\u30c8\u30c9\u30a6\u30f3\u3067\u306f\u3001\u30af\u30e9\u30b7\u30c3\u30af\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30e4\u30fc\u30f3\u304c\u5fc5\u8981\u3067\u3042\u308a\u3001\u305d\u308c\u306f\u30e4\u30fc\u30f3\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">yarn<\/span> <span class=\"token builtin class-name\">set<\/span> version classic<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u73fe\u5728\u3001yarn install\u3092\u4f7f\u7528\u3057\u3066Mastodon\u306eJavaScript\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\u8ffd\u52a0\u306e\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001yarn.lock\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">yarn<\/span> <span class=\"token function\">install<\/span> &#8211;pure-lockfile<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>yarn install v1.22.19 [1\/6] Validating package.json&#8230; [2\/6] Resolving packages&#8230; [3\/6] Fetching packages&#8230; [4\/6] Linking dependencies&#8230; warning Workspaces can only be enabled in private projects. [5\/6] Building fresh packages&#8230; [6\/6] Cleaning modules&#8230; Done in 50.84s.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306f\u4eca\u3001\u30b5\u30fc\u30d0\u30fc\u7528\u306e\u30ab\u30b9\u30bf\u30e0Mastodon\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u6e96\u5099\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73 &#8211; \u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u4f7f\u7528\u3057\u3066Mastodon\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/h2>\n<p>Mastodon\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066.env\u30d5\u30a1\u30a4\u30eb\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u30b5\u30f3\u30d7\u30eb\u306f~\/live\/.env.production.sample\u3067\u95b2\u89a7\u3067\u304d\u307e\u3059\u304c\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u5bfe\u8a71\u578b\u306e\u8a2d\u5b9a\u30d7\u30ed\u30bb\u30b9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u5b8c\u4e86\u3059\u308b\u3068\u3001~\/live\/.env.production\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u5bfe\u8a71\u578b\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u306f\u3001\u57fa\u672c\u7684\u306a\u30b5\u30fc\u30d0\u30fc\u60c5\u5831\u3092\u30ab\u30d0\u30fc\u3057\u3001PostgreSQL\u3068Redis\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u3001\u30af\u30e9\u30a6\u30c9\u30b9\u30c8\u30ec\u30fc\u30b8\u3068\u30e1\u30fc\u30eb\u306e\u51e6\u7406\u3092\u8a2d\u5b9a\u3057\u3001CSS\u3068JavaScript\u306e\u30a2\u30bb\u30c3\u30c8\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3001Mastodon\u5185\u306b\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u591a\u6bb5\u968e\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30d7\u30ed\u30bb\u30b9\u3092\u958b\u59cb\u3059\u308b\u524d\u306b\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u304c\u9069\u5207\u306a\u30dd\u30fc\u30c8\u3092\u4ecb\u3057\u3066SMTP\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u8a31\u53ef\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30bb\u30ad\u30e5\u30a2\u306aTLS\u63a5\u7d9a\u306e\u30c7\u30d5\u30a9\u30eb\u30c8SMTP\u30dd\u30fc\u30c8\u306f\u30dd\u30fc\u30c8587\u3067\u3042\u308a\u3001\u5f8c\u3067\u96fb\u5b50\u30e1\u30fc\u30eb\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u90e8\u5206\u3067\u8aac\u660e\u3055\u308c\u307e\u3059\u3002\u73fe\u6642\u70b9\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u5185\u3067\u3053\u306e\u30dd\u30fc\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> ufw allow <span class=\"token number\">587<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u5bfe\u8a71\u578b\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u59cb\u3081\u308b\u305f\u3081\u306b\u3001`production`\u306e\u74b0\u5883\u5909\u6570\u3092\u8a2d\u5b9a\u3057\u306a\u304c\u3089\u3001`bundle exec rake`\u3092\u5b9f\u884c\u3057\u3066\u3001Mastodon\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token assign-left variable\">RAILS_ENV<\/span><span class=\"token operator\">=<\/span>production bundle <span class=\"token builtin class-name\">exec<\/span> rake mastodon:setup<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e8b\u5f8c\u306b\u3053\u308c\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306f\u56f0\u96e3\u3067\u3059\u306e\u3067\u3001\u6b63\u78ba\u6027\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u5165\u529b\u5185\u5bb9\u3092\u4e8c\u91cd\u3067\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Your instance is identified by its domain name. Changing it afterward will break things. Domain name: <mark>your_domain<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Mastodon\u306b\u306f\u3001\u767b\u9332\u304c\u7121\u52b9\u5316\u3055\u308c\u305f\u30b7\u30f3\u30b0\u30eb\u30e6\u30fc\u30b6\u30fc\u30e2\u30fc\u30c9\u304c\u3042\u308a\u307e\u3059\u3002\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u3068\u5171\u6709\u30b9\u30da\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u610f\u56f3\u3067\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u3001\u30b7\u30f3\u30b0\u30eb\u30e6\u30fc\u30b6\u30fc\u30e2\u30fc\u30c9\u3092\u6709\u52b9\u306b\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Single user mode disables registrations and redirects the landing page to your public profile. Do you want to enable single user mode? <mark>No<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Docker\u306e\u4f7f\u7528\u306b\u3064\u3044\u3066\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u306f\u300c\u3044\u3044\u3048\u300d\u3068\u7b54\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u306a\u305c\u306a\u3089\u3001\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u88f8\u306e\u30e1\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u5f93\u6765\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u30ab\u30d0\u30fc\u3057\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Are you using Docker to run Mastodon? <mark>no<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<h3>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a<\/h3>\n<p>PostgreSQL\u306e\u8a2d\u5b9a\u5168\u3066\u306f\u3001\u5404\u30d7\u30ed\u30f3\u30d7\u30c8\u3067Enter\u30ad\u30fc\u3092\u62bc\u3059\u3053\u3068\u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u306b\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u305b\u305a\u3001\u4ee3\u308f\u308a\u306b\u5f8c\u307b\u3069\u8aac\u660e\u3059\u308b\u30d4\u30a2\u8a8d\u8a3c\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u4eca\u306e\u6bb5\u968e\u3067\u306f\u3001\u7a7a\u767d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>PostgreSQL host: <mark>\/var\/run\/postgresql<\/mark> PostgreSQL port: <mark>5432<\/mark> Name of PostgreSQL database: <mark>mastodon_production<\/mark> Name of PostgreSQL user: <mark>mastodon<\/mark> Password of PostgreSQL user: Database configuration works!<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Redis\u8a2d\u5b9a\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u6b04\u306f\u7a7a\u767d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u3051\u307e\u3059\u3002\u3053\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u306e\u307f\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306a\u305f\u3081\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5404\u30d7\u30ed\u30f3\u30d7\u30c8\u3067Enter\u30ad\u30fc\u3092\u62bc\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Redis host: <mark>localhost<\/mark> Redis port: <mark>6379<\/mark> Redis password: Redis configuration works!<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4e21\u65b9\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u63a5\u7d9a\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3059\u308b\u304b\u30c6\u30b9\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u8a2d\u5b9a<\/h3>\n<p>\u6b21\u306b\u3001\u30af\u30e9\u30a6\u30c9\u30b9\u30c8\u30ec\u30fc\u30b8\u3078\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306b\u3064\u3044\u3066\u8cea\u554f\u3055\u308c\u307e\u3059\u3002Mastodon\u30b9\u30c8\u30ec\u30fc\u30b8\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3092\u4ecb\u3057\u3066\u30af\u30e9\u30a6\u30c9\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3082\u3057\u30ed\u30fc\u30ab\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u3001\u3082\u3057\u304f\u306f\u5373\u5ea7\u306e\u30af\u30e9\u30a6\u30c9\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u89e3\u6c7a\u7b56\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u300c\u3044\u3044\u3048\u300d\u3068\u7b54\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u3053\u308c\u306f\u9577\u671f\u9593\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u6301\u7d9a\u4e0d\u80fd\u3067\u3042\u308a\u3001\u672c\u756a\u76ee\u7684\u306b\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002Mastodon\u306f\u3001Silicon Cloud Spaces\u3084MinIO\u306a\u3069\u306eS3\u4e92\u63db\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u542b\u3080\u8907\u6570\u306e\u4eba\u6c17\u306e\u3042\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002MinIO\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306a\u306e\u3067\u3001\u72ec\u81ea\u306eMinIO\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306b\u95a2\u3057\u3066\u3001\u5f53\u793e\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u5f93\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Silicon Cloud Spaces\u306e\u4f8b\u3092\u4f7f\u7528\u3057\u3066&#8221;Yes&#8221;\u3068\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Spaces\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306f\u3001\u81ea\u5206\u81ea\u8eab\u306eSilicon Cloud Space\u3068\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u95a2\u3059\u308b\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>Do you want to store uploaded files on the cloud? yes\r\nProvider <mark>Silicon Cloud Spaces<\/mark>\r\nSpace name: <mark>your_spaces_name<\/mark>\r\nSpace region: <mark>your_spaces_region<\/mark>\r\nSpace endpoint: <mark>your_spaces_endpoint<\/mark>\r\nSpace access key: <mark>your_spaces_access_key<\/mark>\r\nSpace secret key: <mark>your_spaces_secret_key<\/mark>\r\nDo you want to access the uploaded files from your own domain? <mark>No<\/mark>\r\n<\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u30de\u30b9\u30c8\u30c9\u30f3\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u3001\u76f4\u63a5\u306e\u30af\u30e9\u30a6\u30c9\u30b9\u30c8\u30ec\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\u3067\u306f\u306a\u304f\u3001\u30c9\u30e1\u30a4\u30f3\u4e0a\u306e\u30ea\u30f3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u3082\u3061\u308d\u3093\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u9078\u3076\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u9078\u629e\u3057\u307e\u305b\u3093\u3002\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u95a2\u3057\u3066\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u5f8c\u3067\u751f\u6210\u3055\u308c\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u95a2\u3059\u308b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u3064\u3044\u3066\u306f\u3001\u516c\u5f0f\u306e\u30de\u30b9\u30c8\u30c9\u30f3\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30a2\u30a6\u30c8\u30d0\u30a6\u30f3\u30c9\u30e1\u30fc\u30eb\u306e\u8a2d\u5b9a<\/h3>\n<p>\u30de\u30b9\u30c8\u30c9\u30f3\u306f\u3001\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u624b\u6bb5\u3068\u3057\u3066SMTP\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u5fc5\u8981\u3067\u3059\u3002\u72ec\u81ea\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u904b\u7528\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u5916\u90e8\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30de\u30b9\u30c8\u30c9\u30f3\u306e\u4f8b\u3067\u306f\u3001Mailgun\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5b89\u5168\u3067\u4fe1\u983c\u6027\u306e\u3042\u308b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u7dad\u6301\u3059\u308b\u3053\u3068\u306f\u56f0\u96e3\u306a\u4f5c\u696d\u3067\u3059\u306e\u3067\u3001\u5916\u90e8\u306e\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30fc\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306b\u983c\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u307b\u3068\u3093\u3069\u306e\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30fc\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306f\u3001\u5229\u7528\u91cf\u306b\u5fdc\u3058\u3066\u6599\u91d1\u304c\u767a\u751f\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u3001\u4e00\u5b9a\u306e\u5229\u7528\u57fa\u6e96\u4ee5\u4e0b\u306e\u5834\u5408\u306b\u7121\u6599\u306e\u5229\u7528\u67a0\u304c\u3042\u308b\u304b\u3069\u3046\u304b\u3082\u7570\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u5834\u9762\u3067\u306f\u3001\u3054\u81ea\u8eab\u306e\u5224\u65ad\u306b\u304a\u4efb\u305b\u3044\u305f\u3060\u304d\u307e\u3059\u3088\u3046\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f\uff1a\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306f\u5373\u6642\u306eSMTP\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306a\u3057\u3067\u3082\u5b8c\u4e86\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u3059\u3079\u3066\u306e\u8a8d\u8a3c\u60c5\u5831\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u7a7a\u767d\u307e\u305f\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u3059\u308b\u3053\u3068\u3067\u3001Mastodon\u306e\u5168\u6a5f\u80fd\u304c\u5236\u9650\u3055\u308c\u3001\u63a8\u5968\u3055\u308c\u307e\u305b\u3093\u3002\u5f8c\u3067\u30e1\u30fc\u30eb\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3067\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u3001\u8a8d\u8a3c\u60c5\u5831\u3092\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u3042\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u3092\u884c\u3046\u307e\u3067Mastodon\u306e\u30e1\u30fc\u30eb\u306f\u9001\u4fe1\u3055\u308c\u305a\u3001\u4ed6\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d5\u30a9\u30ed\u30fc\u306a\u3069\u306e\u6a5f\u80fd\u304c\u4f7f\u7528\u3067\u304d\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Do you want to send e-mails from localhost? <mark>No<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3059\u3079\u3066\u306e\u96fb\u5b50\u30e1\u30fc\u30eb\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3067\u306f\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u304a\u305d\u3089\u304f\u767b\u9332\u5f8c\u306b\u3001\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u3092\u6709\u52b9\u306b\u3059\u308b\u305f\u3081\u306b\u30c7\u30e1\u30a4\u30f3\u3092\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3067\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u305d\u306e\u904e\u7a0b\u3067\u30c7\u30e1\u30a4\u30f3\u306bDNS\u30ec\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u5b89\u5168\u306a\u8a8d\u8a3c\u306e\u305f\u3081\u306e\u8a8d\u8a3c\u60c5\u5831\u3068\u3057\u3066API\u30ad\u30fc\u3092\u53d6\u5f97\u307e\u305f\u306f\u751f\u6210\u3059\u308b\u5fc5\u8981\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Mailgun\u3092\u4f8b\u3068\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306e\u9078\u629e\u80a2\u306f\u4ed6\u3067\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u3089\u306e\u9078\u629e\u80a2\u306f\u4ed6\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306e\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u3068\u3057\u3066\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u7279\u306bMailgun\u306f\u3001\u8ffd\u52a0\u3055\u308c\u305f\u30c9\u30e1\u30a4\u30f3\u3054\u3068\u306b\u81ea\u52d5\u7684\u306bSMTP\u306e\u8cc7\u683c\u60c5\u5831\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u4f7f\u7528\u3059\u308b\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u305f\u3081\u3001\u5bfe\u5fdc\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>SMTP server: <mark>smtp.mailgun.org<\/mark> SMTP port: <mark>587<\/mark> SMTP username: <mark>your_smtp_username<\/mark> SMTP password: <mark>your_smtp_password<\/mark> SMTP authentication: <mark>plain<\/mark> SMTP OpenSSL verify mode: <mark>peer<\/mark> Enable STARTTLS: <mark>auto<\/mark> E-mail address to send e-mails &#8220;from&#8221;: Mastodon &lt;notifications@<mark>your_domain<\/mark>&gt;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>SMTP\u8a8d\u8a3c\u306e\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d7\u30ec\u30fc\u30f3\u306f\u5834\u9055\u3044\u306e\u3088\u3046\u306b\u601d\u308f\u308c\u307e\u3059\u304c\u3001\u96fb\u5b50\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u304c\u30b5\u30dd\u30fc\u30c8\u3059\u308bSMTP\u8a8d\u8a3c\u306e\u4e00\u822c\u7684\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u306f\u3001\u30d7\u30ec\u30fc\u30f3\u3068\u30ed\u30b0\u30a4\u30f3\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u4e21\u65b9\u3068\u3082Base64\u3067\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001Base64\u30a8\u30f3\u30b3\u30fc\u30c9\u81ea\u4f53\u306f\u5341\u5206\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u672c\u5f53\u306b\u91cd\u8981\u306a\u306e\u306f\u3001\u5b89\u5168\u306aTLS\/SSL\u63a5\u7d9a\u3092\u4ecb\u3057\u3066\u30e1\u30fc\u30eb\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u3067\u3059\u3002SMTP\u63a5\u7d9a\u306e\u30dd\u30fc\u30c8587\u306f\u3001\u96fb\u5b50\u30e1\u30fc\u30eb\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3068\u306eTLS\u63a5\u7d9a\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3059\u3002\u305f\u3060\u3057\u3001TLS\u304c\u9069\u5207\u306b\u4fdd\u8b77\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u306f\u5b89\u5168\u306a\u9078\u629e\u80a2\u3067\u3059\u3002\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3059\u308b\u3068\u3001SMTP\u30b5\u30fc\u30d3\u30b9\u3068\u306e\u5b89\u5168\u306a\u9023\u643a\u65b9\u6cd5\u306b\u95a2\u3057\u3066\u8a73\u7d30\u304b\u3064\u5177\u4f53\u7684\u306a\u56de\u7b54\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>SMTP\u306e\u8cc7\u683c\u60c5\u5831\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u3001\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3001\u500b\u4eba\u7528\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u6301\u3063\u3066\u3044\u308b\u53d7\u4fe1\u8005\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Send a test e-mail with this configuration right now? <mark>yes<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u306f\u3001\u3042\u306a\u305f\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u306b\u3088\u3063\u3066\u306f\u5c4a\u304f\u307e\u3067\u306b1\u5206\u304b\u304b\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u5f8c\u3067\u751f\u6210\u3055\u308c\u305fMastodon\u69cb\u6210\u30d5\u30a1\u30a4\u30eb\u3067SMTP\u306e\u8cc7\u683c\u60c5\u5831\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u5f8c\u3067\u623b\u3063\u3066\u304f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u8a2d\u5b9a\u306e\u6700\u7d42\u78ba\u5b9a<\/h3>\n<p>\u6b21\u306b\u3001\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3059\u308b\u3088\u3046\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u305d\u308c\u3092Mastodon\u304c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>This configuration will be written to .env.production Save configuration? <mark>Yes<\/mark> Now that configuration is saved, the database schema must be loaded. If the database already exists, this will erase its contents. Prepare the database now? <mark>Yes<\/mark> Running `RAILS_ENV=production rails db:setup` &#8230; Created database &#8216;mastodon_production&#8217; Done!<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001Mastodon\u306eCSS\u3068JavaScript\u306e\u30a2\u30bb\u30c3\u30c8\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3088\u3046\u4fc3\u3055\u308c\u307e\u3059\u3002\u6642\u9593\u3068\u30ea\u30bd\u30fc\u30b9\u6d88\u8cbb\u306b\u95a2\u3059\u308b\u8b66\u544a\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>The final step is compiling CSS\/JS assets. This may take a while and consume a lot of RAM. Compile the assets now? <mark>Yes<\/mark> Running `RAILS_ENV=production rails assets:precompile` &#8230; yarn install v1.22.19 [1\/6] Validating package.json&#8230; [2\/6] Resolving packages&#8230; [3\/6] Fetching packages&#8230; [4\/6] Linking dependencies&#8230; . . . All done! You can now power on the Mastodon server<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u30de\u30b9\u30c8\u30c9\u30f3\u30b5\u30fc\u30d0\u30fc\u306f\u6e96\u5099\u5b8c\u4e86\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u307e\u3060\u7a3c\u50cd\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u30de\u30b9\u30c8\u30c9\u30f3\u30b5\u30fc\u30d0\u30fc\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u305f\u3081\u306e\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u5225\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Do you want to create an admin user straight away? <mark>Yes<\/mark> Username: <mark>mastodon<\/mark> E-mail: <mark>your_email<\/mark> You can login with the password: <mark>your_generated_password<\/mark> You can change your password once you login.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305f\u3060\u3057\u3001\u73fe\u6642\u70b9\u3067\u306f\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u9078\u629e\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4ee3\u308f\u308a\u306b\u3001\u65b0\u305f\u306b\u751f\u6210\u3055\u308c\u305f\u4e00\u610f\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u63d0\u4f9b\u3055\u308c\u308b\u306e\u3067\u3001\u5225\u306e\u5834\u6240\u306b\u30e1\u30e2\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u7ba1\u7406\u8005UI\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b\u6a5f\u4f1a\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>nano\u3084\u304a\u597d\u307f\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001\u751f\u6210\u3055\u308c\u305fMastodon\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u305d\u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">nano<\/span> ~\/live\/.env.production<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u5185\u5bb9\u306f\u4f3c\u3066\u3044\u308b\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div>\n<p>~\/live\/.env.production\u3092\u65e5\u672c\u8a9e\u306b\u81ea\u7136\u306a\u8a00\u3044\u65b9\u3067\u8a00\u3044\u63db\u3048\u306b\u3057\u3066\u304f\u3060\u3055\u3044:<\/p>\n<p>~ \/live\/.env.production<\/p>\n<\/div>\n<pre class=\"post-pre\"><code># Generated with mastodon:setup on 2022-11-22 18:22:25 UTC\r\n\r\n# Some variables in this file will be interpreted differently whether you are\r\n# using docker-compose or not.\r\n\r\nLOCAL_DOMAIN=<mark>your_domain<\/mark>\r\nSINGLE_USER_MODE=false\r\nSECRET_KEY_BASE=<mark>your_generated_key_base<\/mark>\r\nOTP_SECRET=<mark>your_generated_secret<\/mark>\r\nVAPID_PRIVATE_KEY=<mark>your_generated_private_key<\/mark>\r\nVAPID_PUBLIC_KEY=<mark>your_generated_public_key<\/mark>\r\nDB_HOST=\/var\/run\/postgresql\r\nDB_PORT=5432\r\nDB_NAME=mastodon_production\r\nDB_USER=mastodon\r\nDB_PASS=\r\nREDIS_HOST=localhost\r\nREDIS_PORT=6379\r\nREDIS_PASSWORD=\r\nS3_ENABLED=true\r\nS3_PROTOCOL=https\r\nS3_BUCKET=<mark>your_spaces_name<\/mark>\r\nS3_REGION=<mark>your_spaces_region<\/mark>\r\nS3_HOSTNAME=<mark>your_spaces_endpoint<\/mark>\r\nS3_ENDPOINT=https:\/\/<mark>your_spaces_endpoint<\/mark>\r\nAWS_ACCESS_KEY_ID=<mark>your_spaces_access_key<\/mark>\r\nAWS_SECRET_ACCESS_KEY=<mark>your_spaces_secret_key<\/mark>\r\nSMTP_SERVER=smtp.mailgun.org\r\nSMTP_PORT=587\r\nSMTP_LOGIN=<mark>your_smtp_username<\/mark>\r\nSMTP_PASSWORD=<mark>your_smtp_password<\/mark>\r\nSMTP_AUTH_METHOD=plain\r\nSMTP_OPENSSL_VERIFY_MODE=peer\r\nSMTP_ENABLE_STARTTLS=auto\r\nSMTP_FROM_ADDRESS='Mastodon &lt;notifications@test.do-community.com&gt;'\r\n<\/code><\/pre>\n<p>\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30d7\u30ed\u30bb\u30b9\u5f8c\u306b\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u624b\u52d5\u3067\u7de8\u96c6\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u7d42\u3048\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057nano\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001CTRL + X\u3067\u7d42\u4e86\u3057\u3001Y\u3068\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u305f\u3089Enter\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74 &#8211; Certbot\u3068Let&#8217;s Encrypt\u3092\u4f7f\u7528\u3057\u3066Mastodon\u306e\u305f\u3081\u306bNginx\u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/h2>\n<p>\u73fe\u5728\u3001\u304a\u4f7f\u3044\u306eMastodon\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc\u306f\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u307f\u3067\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3067\u3059\u3002\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u4f7f\u7528\u3057\u3066\u516c\u958b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Mastodon\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u3001Nginx\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306f\u3001Nginx\u3092\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u69cb\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u307e\u305f\u306f\u30d7\u30ed\u30ad\u30b7\u306b\u95a2\u3059\u308b\u4e00\u822c\u7684\u306a\u7d39\u4ecb\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Mastodon\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u306f\u3001\u4f7f\u7528\u3067\u304d\u308b\u30c7\u30d5\u30a9\u30eb\u30c8\u306eNginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u72ec\u81ea\u306e\u30c9\u30e1\u30a4\u30f3\u306b\u5408\u308f\u305b\u3066\u3044\u304f\u3064\u304b\u306e\u5909\u66f4\u3092\u884c\u3044\u3001Certbot\u3068Let&#8217;s Encrypt\u3067\u30bb\u30ad\u30e5\u30a2\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Mastodon\u304c\u63d0\u4f9b\u3059\u308bNginx\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u5b8c\u5168\u306a\u5c55\u958b\u306b\u5fc5\u8981\u306a\u30d6\u30ed\u30c3\u30af\u3068\u6307\u793a\u304c\u3059\u3079\u3066\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eSSL\/TLS\u8a2d\u5b9a\u3067\u306fCertbot\u3068\u306e\u30b9\u30e0\u30fc\u30ba\u306a\u9023\u643a\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u3053\u306e\u624b\u9806\u3067\u306f\u3001Certbot\u306e\u4f7f\u7528\u524d\u5f8c\u306bNginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u30922\u56de\u7de8\u96c6\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u5236\u7d04\u3092\u56de\u907f\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u3001Nginx\u30b5\u30fc\u30d0\u30fc\u3078\u306eHTTP\u304a\u3088\u3073HTTPS\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u8a31\u53ef\u3059\u308b\u305f\u3081\u306b\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u8a2d\u5b9a\u3092\u8abf\u6574\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> ufw allow <span class=\"token string\">&#8216;Nginx Full&#8217;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30e6\u30fc\u30b6\u30fc\u304c\u3042\u306a\u305f\u306eMastodon\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u3053\u308c\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u8a3c\u660e\u66f8\u306e\u5fc5\u8981\u306a\u691c\u8a3c\u3092Certbot\u304c\u884c\u3046\u305f\u3081\u306b\u3082\u5fc5\u8981\u3067\u3059\u3002\u6b21\u306b\u3001Mastodon\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u63d0\u4f9b\u3055\u308c\u305fNginx\u306e\u8a2d\u5b9a\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">cp<\/span> \/home\/mastodon\/live\/dist\/nginx.conf \/etc\/nginx\/sites-available\/mastodon<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Nginx\u306f\u3001\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u8de1\u3059\u308b\u305f\u3081\u306b\u3001\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\uff08\u30b7\u30f3\u30ea\u30f3\u30af\uff09\u3068\u547c\u3070\u308c\u308b\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u306e\u4f5c\u6210\u306f\u3001\u30c7\u30a3\u30b9\u30af\u4e0a\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u306e\u4f5c\u6210\u3068\u540c\u69d8\u3067\u3042\u308a\u3001\u5f8c\u3067\u305d\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u3092sites-available\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u6b8b\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u65b0\u3057\u304f\u4f5c\u6210\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3068\u306e\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">ln<\/span> <span class=\"token parameter variable\">-s<\/span> \/etc\/nginx\/sites-available\/mastodon \/etc\/nginx\/sites-enabled\/mastodon<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Nginx\u306f\u3001\u3053\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066Mastodon\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u8a2d\u5b9a\u3092\u77e5\u3063\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001Nginx\u306e\u8a2d\u5b9a\u306b\u5fc5\u8981\u306a\u5909\u66f4\u3092\u884c\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u304a\u597d\u307f\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u30b3\u30d4\u30fc\u3057\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/nginx\/sites-enabled\/mastodon<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30b5\u30fc\u30d0\u30fc\u540d\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u3001\u3042\u306a\u305f\u306e\u30c9\u30e1\u30a4\u30f3\u3068\u305d\u306ewww\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u3059\u3088\u3046\u306b\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002server_name\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f2\u3064\u3042\u308a\u307e\u3059\u30021\u3064\u306fHTTP\u306e\u30dd\u30fc\u30c880\u3092\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u5185\u306b\u3042\u308a\u3001\u3082\u3046\u4e00\u3064\u306fHTTPS\u306e\u30dd\u30fc\u30c8443\u3092\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u30d6\u30ed\u30c3\u30af\u5185\u306b\u3042\u308a\u307e\u3059\u3002\u4e21\u65b9\u306eserver_name\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u3042\u306a\u305f\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u6307\u3059\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u307e\u305f\u30012\u756a\u76ee\u306e\u30b5\u30fc\u30d0\u30fc\u30d6\u30ed\u30c3\u30af\u3067\u306elisten\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306b#\u30b7\u30f3\u30dc\u30eb\u3092\u884c\u306e\u5148\u982d\u306b\u8ffd\u52a0\u3057\u3066\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u3060SSL\u8a3c\u660e\u66f8\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u3053\u306elisten\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306bssl\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6301\u305f\u305b\u308b\u3068\u3001Nginx\u306f\u3053\u306e\u69cb\u6210\u3092\u7121\u52b9\u3068\u3057\u3066\u691c\u51fa\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001Certbot\u306f\u3042\u306a\u305f\u306e\u305f\u3081\u306b\u8a3c\u660e\u66f8\u3092\u4f5c\u6210\u3057\u307e\u305b\u3093\u3002\u3053\u308c\u3092\u4fee\u6b63\u3059\u308b\u305f\u3081\u306b\u3001\u4e00\u6642\u7684\u306b\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3001\u8a3c\u660e\u66f8\u3092\u4f5c\u6210\u3057\u305f\u5f8c\u306b\u518d\u5ea6\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\u4ee5\u4e0b\u306e\u6587\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u300c\/etc\/nginx\/sites-enabled\/mastodon\u300d<\/div>\n<pre class=\"post-pre\"><code>. . .\r\nserver {\r\n  listen 80;\r\n  listen [::]:80;\r\n  server_name <mark>your_domain<\/mark> www.<mark>your_domain<\/mark>;\r\n  root \/home\/mastodon\/live\/public;\r\n  location \/.well-known\/acme-challenge\/ { allow all; }\r\n  location \/ { return 301 https:\/\/$host$request_uri; }\r\n}\r\n\r\nserver {\r\n  <mark> # listen 443 ssl http2;<\/mark>\r\n  <mark> # listen [::]:443 ssl http2;<\/mark>\r\n  server_name <mark>your_domain<\/mark> www.<mark>your_domain<\/mark>;\r\n. . .\r\n<\/code><\/pre>\n<p>\u4f5c\u696d\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3067\u3001\u30bb\u30ad\u30e5\u30a2\u306aSSL\/TLS\u30a2\u30af\u30bb\u30b9\u306e\u305f\u3081\u306e\u8a3c\u660e\u66f8\u306e\u4f5c\u6210\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002Mastodon\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306eNginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001Certbot\u30b3\u30de\u30f3\u30c9\u306fcertonly\u3068\u547c\u3070\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u624b\u52d5\u3067\u69cb\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u3001Certbot\u306fMastodon\u3068\u4e92\u63db\u6027\u306e\u306a\u3044Nginx\u74b0\u5883\u306b\u95a2\u3057\u3066\u63a8\u6e2c\u3092\u884c\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> certbot certonly <span class=\"token parameter variable\">&#8211;nginx<\/span> <span class=\"token parameter variable\">-d<\/span> <mark>your_domain<\/mark> <span class=\"token parameter variable\">-d<\/span> www.<mark>your_domain<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>. . . IMPORTANT NOTES: &#8211; Congratulations! Your certificate and chain have been saved at: \/etc\/letsencrypt\/live\/<mark>your_domain<\/mark>\/fullchain.pem Your key file has been saved at: \/etc\/letsencrypt\/live\/<mark>your_domain<\/mark>\/privkey.pem . . .<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u751f\u6210\u3055\u308c\u305f\u8a3c\u660e\u66f8\u3068\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u30e1\u30e2\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3092\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u304a\u597d\u307f\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u518d\u5ea6\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/nginx\/sites-enabled\/mastodon<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u524d\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u305f\u30dd\u30fc\u30c8443\u306e\u30ea\u30c3\u30b9\u30f3\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u601d\u3044\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u308c\u3089\u3092\u5b89\u5168\u306b\u30b3\u30e1\u30f3\u30c8\u89e3\u9664\u3067\u304d\u307e\u3059\u3002\u4ee5\u524d\u306f\u3001\u8a3c\u660e\u66f8\u306e\u4e0d\u5728\u306b\u3088\u308a\u3053\u308c\u3089\u306e\u884c\u304c\u30a8\u30e9\u30fc\u3092\u5f15\u304d\u8d77\u3053\u3057\u3066\u3044\u307e\u3057\u305f\u3002Certbot\u3092\u4f7f\u7528\u3057\u3066\u65b0\u3057\u304f\u4f5c\u6210\u3057\u305f\u8a3c\u660e\u66f8\u306b\u3088\u308a\u3001\u3053\u308c\u3089\u306e\u884c\u306f\u6709\u52b9\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u540c\u3058\u30d6\u30ed\u30c3\u30af\u5185\u3067\u3001ssl_certificate\u3068ssl_certificate_key\u306e\u6307\u4ee4\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u89e3\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u308c\u304cCertbot\u306b\u3088\u3063\u3066\u524d\u3082\u3063\u3066\u751f\u6210\u3055\u308c\u305f\u8a3c\u660e\u66f8\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/etc\/nginx\/sites-enabled\/mastodon\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u308b\u3068\u300c\/etc\/nginx\/sites-enabled\/mastodon\u3067\u3059\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/div>\n<pre class=\"post-pre\"><code>. . .\r\nserver {\r\n  <mark> <\/mark>listen 443 ssl http2;\r\n  <mark> <\/mark>listen [::]:443 ssl http2;\r\n  server_name your_domain www.your_domain;\r\n. . . \r\n  # Uncomment these lines once you acquire a certificate:\r\n  <mark> <\/mark>ssl_certificate \t\/etc\/letsencrypt\/live\/<mark>your_domain<\/mark>\/fullchain.pem;\r\n  <mark> <\/mark>ssl_certificate_key \/etc\/letsencrypt\/live\/<mark>your_domain<\/mark>\/privkey.pem;\r\n. . .\r\n<\/code><\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u7d42\u4e86\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067Nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u6b63\u5e38\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> nginx <span class=\"token parameter variable\">-t<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6700\u5f8c\u306b\u3001\u5909\u66f4\u3092\u9069\u7528\u3059\u308b\u305f\u3081\u306bNginx\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl reload nginx<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306eMastodon\u30b5\u30fc\u30d0\u30fc\u306f\u73fe\u5728Nginx\u306b\u3088\u3063\u3066\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u524d\u306b\u3044\u304f\u3064\u304b\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u7b2c5\u30b9\u30c6\u30c3\u30d7\uff1aMastodon\u30b5\u30fc\u30d3\u30b9\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n<p>\u30de\u30b9\u30c8\u30c9\u30f3\u306f\u3001\u6a5f\u80fd\u6027\u3068\u30a2\u30c3\u30d7\u30bf\u30a4\u30e0\u3092\u4fdd\u3064\u305f\u3081\u306b\u30013\u3064\u306e\u30b7\u30b9\u30c6\u30e0\u30b5\u30fc\u30d3\u30b9\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059: \u30de\u30b9\u30c8\u30c9\u30f3\u30a6\u30a7\u30d6\u3001\u30de\u30b9\u30c8\u30c9\u30f3\u30b5\u30a4\u30c9\u30ad\u30e5\u30fc\u3001\u305d\u3057\u3066\u30de\u30b9\u30c8\u30c9\u30f3\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30de\u30b9\u30c8\u30c9\u30f3\u306f\u5e38\u306b\u518d\u8d77\u52d5\u3057\u3001\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u975e\u540c\u671f\u30bf\u30b9\u30af\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u3092\u7dad\u6301\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30de\u30b9\u30c8\u30c9\u30f3\u306b\u306f\u3053\u308c\u3089\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u4ed8\u5c5e\u3057\u3066\u304a\u308a\u3001\u305d\u308c\u3089\u3092\u9069\u5207\u306a\u5834\u6240\u306b\u914d\u7f6e\u3057\u3066\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Mastodon\u30bd\u30fc\u30b9\u304b\u3089\u30b5\u30fc\u30d3\u30b9\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">cp<\/span> \/home\/mastodon\/live\/dist\/mastodon-*.service \/etc\/systemd\/system\/<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u3059\u3079\u3066\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066mastodon\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3067\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u307e\u305f\u306f\u63a8\u5968\u4e8b\u9805\u3068\u7570\u306a\u308b\u3082\u306e\u3092\u4f7f\u7528\u3057\u305f\u5834\u5408\u306f\u3001\u597d\u304d\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001\u5909\u66f4\u304c\u5fc5\u8981\u306a\u30e6\u30fc\u30b6\u30fc\u540d\u3084\u30d1\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/systemd\/system\/mastodon-*.service<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u624b\u9806\u306b\u5f93\u3048\u3070\u3001\u4f55\u3082\u5909\u66f4\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3057\u305f\u5f8c\u306f\u3001\u305d\u308c\u3089\u3092\u9589\u3058\u3066\u3053\u308c\u3089\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3057\u3087\u3046\u3002\u307e\u305a\u3001\u3053\u308c\u3089\u3092\u8a8d\u8b58\u3055\u305b\u308b\u305f\u3081\u306bdaemon-reload\u3092\u547c\u3073\u51fa\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl daemon-reload<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u308c\u304b\u3089\u3001\u65b0\u305f\u306b\u8a8d\u8b58\u3055\u308c\u305f\u30b5\u30fc\u30d3\u30b9\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> <span class=\"token parameter variable\">&#8211;now<\/span> mastodon-web mastodon-sidekiq mastodon-streaming<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code>Created symlink \/etc\/systemd\/system\/multi-user.target.wants\/mastodon-web.service \u2192 \/etc\/systemd\/system\/mastodon-web.service.\r\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/mastodon-sidekiq.service \u2192 \/etc\/systemd\/system\/mastodon-sidekiq.service.\r\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/mastodon-streaming.service \u2192 \/etc\/systemd\/system\/mastodon-streaming.service.\r\n<\/code><\/pre>\n<p>\u3042\u306a\u305f\u306eMastodon\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002https:\/\/your_domain\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u3067Mastodon\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u6700\u521d\u306e\u8a66\u307f\u3067Mastodon\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u304f\u3068\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u521d\u671f\u5316\u304c\u307e\u3060\u5b8c\u4e86\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u3001We&#8217;re sorry, but something went wrong on our end\u306a\u3069\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u306f\u3001\u6570\u79d2\u5f85\u3063\u3066\u304b\u3089\u3001\u30d6\u30e9\u30a6\u30b6\u3092\u66f4\u65b0\u3059\u308b\u969b\u306bShift\u30ad\u30fc\u3092\u62bc\u3057\u3066\u30cf\u30fc\u30c9\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306b\u3088\u308a\u554f\u984c\u304c\u89e3\u6c7a\u3057\u3001Mastodon\u3092\u8aad\u307f\u8fbc\u3080\u969b\u306b\u306e\u307f\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656454e3daa94e2bdf7b0aab\/146-0.png\" alt=\"Mastodon Homepage\" \/><\/div>\n<p>\u4ee5\u524d\u751f\u6210\u3055\u308c\u305f\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u72ec\u81ea\u306eMastodon\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u306f\u3001Mastodon\u306b\u7279\u6709\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3001\u9006\u30d7\u30ed\u30ad\u30b7\u3092\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u3059\u3079\u3066\u306e\u8981\u4ef6\u3084\u4f9d\u5b58\u95a2\u4fc2\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Mastodon\u5185\u3067\u30e1\u30fc\u30eb\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u3001\u30a2\u30bb\u30c3\u30c8\u3092\u8a2d\u5b9a\u3057\u305f\u5f8c\u3001\u6700\u521d\u306e\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u6700\u5f8c\u306b\u3001Certbot\u3068Let&#8217;s Encrypt\u3092\u4f7f\u7528\u3057\u3066SSL\/TLS\u3067\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u5b89\u5168\u306b\u4fdd\u8b77\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u3001\u65b0\u3057\u3044\u30de\u30b9\u30c8\u30c9\u30f3\u30b5\u30fc\u30d0\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u7ba1\u7406\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u304a\u3059\u3059\u3081\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u65b0\u3057\u3044\u30de\u30b9\u30c8\u30c9\u30f3\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4f7f\u3044\u65b9\u3092\u5b66\u3073\u3001\u6a5f\u80fd\u3092\u63a2\u7d22\u3059\u308b\u306b\u306f\u3001Silicon Cloud Marketplace\u306e\u300c1-Click\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306e\u30de\u30b9\u30c8\u30c9\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u300d\u306e4\u301c6\u306e\u624b\u9806\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u306e\u6587\u7ae0\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u9078\u629e\u80a2\u306f1\u3064\u3060\u3051\u3067\u3059\uff1a \u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3 \u30de\u30b9\u30c8\u30c9\u30f3\u306f\u5206\u6563\u30e2\u30c7\u30eb\u3001\u307e\u305f\u306f\u9023\u90a6\u3068\u547c\u3070\u308c\u308b\u65b9\u5f0f\u3092\u5229\u7528\u3057\u305f\u30de\u30a4\u30af\u30ed\u30d6\u30ed\u30b0\u306e\u30bd\u30fc\u30b7\u30e3\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u30de\u30b9\u30c8\u30c9\u30f3\u306f\u30aa [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,17],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","tag-17"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04\u3067mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04\u3067mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-23T18:14:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T05:00:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656454e3daa94e2bdf7b0aab\/146-0.png\" \/>\n<meta name=\"author\" content=\"\u6d77\u6597, \u8475\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6d77\u6597, \u8475\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"47\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"name\":\"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-06-23T18:14:01+00:00\",\"dateModified\":\"2025-07-31T05:00:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6\"},\"description\":\"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6\",\"name\":\"\u6d77\u6597, \u8475\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g\",\"caption\":\"\u6d77\u6597, \u8475\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/kaitoaoi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","description":"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04\u3067mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5","og_description":"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04\u3067mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-06-23T18:14:01+00:00","article_modified_time":"2025-07-31T05:00:08+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/656454e3daa94e2bdf7b0aab\/146-0.png"}],"author":"\u6d77\u6597, \u8475","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u6d77\u6597, \u8475","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"47\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","name":"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-06-23T18:14:01+00:00","dateModified":"2025-07-31T05:00:08+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6"},"description":"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu 20.04\u3067Mastodon\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/20cfc053626f4d45c0fa7a4e7964b5b6","name":"\u6d77\u6597, \u8475","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/25aec9a18954b6bfb7e4f7219c2923d62c6f0c9f4d5c0171228fe41751c0ab7a?s=96&d=mm&r=g","caption":"\u6d77\u6597, \u8475"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/kaitoaoi\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-20-04%e3%81%a7mastodon%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":325692,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions\/325692"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}