{"id":6461,"date":"2024-09-08T21:53:24","date_gmt":"2024-09-08T12:53:24","guid":{"rendered":"https:\/\/appbay.org\/?p=6461"},"modified":"2024-12-27T21:49:35","modified_gmt":"2024-12-27T12:49:35","slug":"conohavps-mattermost%e3%82%a4%e3%83%a1%e3%83%bc%e3%82%b8","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=6461","title":{"rendered":"ConoHaVPS Mattermost\u30a4\u30e1\u30fc\u30b8"},"content":{"rendered":"<p>ConoHa\u30ed\u30b0\u30a4\u30f3\uff64Ubuntu+Mattermost\u3067\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff61<\/p>\n<p>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u5909\u66f4\u3057\u306a\u3044\u3068\uff64\u305d\u306e\u307e\u307e\u3067\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\uff61<br \/>\n\u30b5\u30fc\u30d0\u30fc&gt;\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u60c5\u5831<br \/>\n\u304b\u3089\u5909\u66f4\uff61<\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u62db\u5f85\u306fSSL\u3092\u6709\u52b9\u306b\u3057\u306a\u3044\u3068\u5229\u7528\u3067\u304d\u306a\u3044\uff61<br \/>\nSSL\u306e\u305f\u3081\u306b\u306f\u30c9\u30e1\u30a4\u30f3\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\uff61<\/p>\n<p>MuuMuu\u3067\u30c9\u30e1\u30a4\u30f3\u3092\u53d6\u5f97\u3059\u308b\uff61<\/p>\n<p>\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u306fAzure\u3092\u5229\u7528\u3059\u308b\uff61<br \/>\nAzure\uff1eDNS\u30be\u30fc\u30f3\uff1e\u4f5c\u6210<br \/>\n\u540d\u524d\u306f\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u5165\u529b\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u3068\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001<br \/>\nMuuMuu\u3067\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u3092\u5165\u529b\u3059\u308b\u3002<\/p>\n<p>Azure\u3067\uff64A\u30ec\u30b3\u30fc\u30c9\u306bIP\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3059\u308b\u3002<br \/>\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u30c9\u30e1\u30a4\u30f3\u540d\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\">\/etc\/nginx\/sites-enabled\/mattermost.conf\r\n\u306e\uff64server_name\u3092\u30c9\u30e1\u30a4\u30f3\u306b\u5909\u66f4\u3059\u308b\uff61\r\n\r\nsudo apt-get remove certbot\r\nsudo snap install --classic certbot\r\nsudo ln -s \/snap\/bin\/certbot \/usr\/bin\/certbot\r\nsudo certbot --nginx\r\n(agree\u306e\u3068\u304d\u306fy\u3067share email\u306e\u3068\u304d\u306fn)\r\n\r\n\u66f4\u65b0\u30d7\u30ed\u30bb\u30b9\u306e\u78ba\u8a8d\r\nsudo certbot renew --dry-run<\/pre>\n<p>\u3053\u308c\u3067SSL+\u30c9\u30e1\u30a4\u30f3\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\uff61<\/p>\n<p>iOS\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u6700\u65b0\u306e\u30d0\u30fc\u30b7\u30e7\u30f3\u306b\u3057\u308d\u3068\u3044\u308f\u308c\u308b\u306e\u3067\uff64<br \/>\n\u624b\u52d5\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\uff61<\/p>\n<pre class=\"lang:default decode:true\">sudo systemctl stop mattermost\r\ncd \/opt\/\r\nmv mattermost old_mattermost\r\nwget https:\/\/releases.mattermost.com\/9.11.1\/mattermost-team-9.11.1-linux-amd64.tar.gz\r\ntar -xvzf mattermost*.gz\r\ncp \/opt\/old_mattermost\/config\/config.json \/opt\/mattermost\/config\/config.json\r\nsudo chown -R mattermost:mattermost mattermost\r\nsudo systemctl start mattermost\r\n\r\n\u4eca\u56de\u306f\u7279\u306b\u5909\u66f4\u3057\u306a\u3044(\u30b5\u30fc\u30d3\u30b9\u8a2d\u5b9a)\r\nsudo vim \/etc\/systemd\/system\/mattermost.service<\/pre>\n<p>&nbsp;<\/p>\n<p>\u25cf\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5bb9\u91cf<br \/>\n\/etc\/nginx\/sites-available\/mattermost.conf<br \/>\nclient_max_body_size<br \/>\n\u3092\u5909\u66f4\u3059\u308b(2\u500b\u6240)<br \/>\n\u30b7\u30b9\u30c6\u30e0\u30b3\u30f3\u30bd\u30fc\u30eb&gt;\u30d5\u30a1\u30a4\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8<br \/>\n\u3082\u5909\u66f4\u3059\u308b\uff61<\/p>\n<p>\u25cf\u65e5\u672c\u8a9e\u691c\u7d22<br \/>\n\u30b7\u30b9\u30c6\u30e0\u30b3\u30f3\u30bd\u30fc\u30eb&gt;Bleve<br \/>\nBleve\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4ed8\u4e0e\u3092\u6709\u52b9\u306b\u3059\u308b\uff1a\u6709\u52b9<br \/>\nIndexDir\uff1a\/opt\/mattermost\/xxx<br \/>\nBleve\u306e\u691c\u7d22\u30af\u30a8\u30ea\u3092\u6709\u52b9\u306b\u3059\u308b\uff1a\u6709\u52b9<br \/>\nBleve\u306e\u81ea\u52d5\u88dc\u5b8c\u30af\u30a8\u30ea\u3092\u6709\u52b9\u306b\u3059\u308b\uff1a\u6709\u52b9<br \/>\n\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4ed8\u4e0e\u3092\u4eca\u3059\u3050\u958b\u59cb\u3059\u308b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ConoHa\u30ed\u30b0\u30a4\u30f3\uff64Ubuntu+Mattermost\u3067\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff61 \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u5909\u66f4\u3057\u306a\u3044\u3068\uff64\u305d\u306e\u307e\u307e\u3067\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\uff61 \u30b5\u30fc\u30d0\u30fc&gt;\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u60c5\u5831 \u304b\u3089\u5909\u66f4\uff61 \u30e6\u30fc\u30b6\u30fc\u62db\u5f85\u306fSSL\u3092\u6709\u52b9\u306b\u3057\u306a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=6461\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;ConoHaVPS Mattermost\u30a4\u30e1\u30fc\u30b8&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6461","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/6461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6461"}],"version-history":[{"count":9,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/6461\/revisions"}],"predecessor-version":[{"id":6561,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/6461\/revisions\/6561"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}