{"id":9830,"date":"2022-06-21T05:11:26","date_gmt":"2022-06-20T20:11:26","guid":{"rendered":"https:\/\/www.stuffy.site\/computers\/?p=9830"},"modified":"2022-07-20T08:50:50","modified_gmt":"2022-07-19T23:50:50","slug":"%e3%81%b7%e3%81%a1%e3%82%b9%e3%82%bf%e3%83%87%e3%82%a3mastodon-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/www.stuffy.site\/computers\/archives\/9830","title":{"rendered":"\u3077\u3061\u30b9\u30bf\u30c7\u30a3@Mastodon \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"\n<p>CentOS7\u3078\u306eMastodon\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u6d41\u308c\u3092\u52d5\u753b\u306b\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u524d\u63d0\u6761\u4ef6\u306fepel RHEL Software Collection(SCL) \u30ea\u30dd\u30b8\u30c8\u30ea Apache \u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u69cb\u7bc9\u6e08\u307f\u3067\u3059\u3002<br><a href=\"https:\/\/qiita.com\/witchcraze\/items\/f34d11e160164e0a8ebd\">CentOS 7\u306bgcc 10\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08SCL\uff09 &#8211; Qiita<\/a><\/p>\n\n\n\n<!--more-->\n\n\n\n<p>PostgreSQL14\u306f\u5225\u9014\u3001<a href=\"https:\/\/mebee.info\/2021\/01\/25\/post-28439\/\">CentOs7\u306bPostgreSQL 13\u3092\u69cb\u7bc9\u3059\u308b | mebee<\/a> \u3092\u53c2\u8003\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>Node.js 16.15.1<br>yarn(npm) 8.11.0<br>PostgreSQL (psql) 14.4<br>Ruby 3.0.3<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>bundle\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u554f\u984c\u306f <a href=\"https:\/\/ja.stackoverflow.com\/questions\/50144\/rails-gem-pg-%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7libpq-fe-h%e3%81%8c%e8%a6%8b%e3%81%a4%e3%81%8b%e3%82%89%e3%81%aa%e3%81%84\">rails gem pg \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067libpq-fe.h\u304c\u898b\u3064\u304b\u3089\u306a\u3044<\/a> \u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3002 <\/p>\n\n\n<pre>Your PostgreSQL is too old. Either install an older version of this gem or upgrade your database to at least PostgreSQL-9.3.<\/pre>\n\n\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001bundle \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u524d\u306bpg_config\u306e\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u3042\u3052\u308b\u3068\u30b8\u30a7\u30e0\u30c7\u30fc\u30bf\u306e\u30d5\u30a7\u30c3\u30c1\u304c\u6700\u5f8c\u307e\u3067\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n<pre><span style=\"color: #0000ff; font-size: 14pt;\"># bundle config build.pg --with-pg-config=\/usr\/pgsql-14\/bin\/pg_config<\/span><\/pre>\n<p><\/p>\n\n\n<p>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u8d77\u52d5\u3057\u3066\u3082\u30d6\u30e9\u30a6\u30b6\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068403 Forbidden\u306b\u306a\u308b\u75c7\u72b6\u306fvirtualhost-*.conf \u306b\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u8ffd\u8a18\u3059\u308b\u3068\u30a4\u30b1\u307e\u3057\u305f\u3002<\/p>\n\n\n<pre>&lt;Proxy *&gt;\n    Require all granted\n&lt;\/Proxy&gt;<br>ProxyPreserveHost on<br>ProxyRequests off<\/pre>\n\n\n<p><a href=\"https:\/\/serverfault.com\/questions\/965602\/apache-2-4-proxy-httperror-proxyerror\">Apache 2.4 [proxy_http:error] [proxy:error] &#8211; Server Fault<\/a><\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u75b2\u52b4\u56f0\u618a\u3002\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u52d5\u753b\uff08\u30e4\u30af25\u5206\uff09\u3092\u5168\u753b\u9762\u3067\u8868\u793a\u3067\u304d\u307e\u3059\u3002SMTP\u8a2d\u5b9a\u306f\u30fb\u30fb\u30fb\u30ca\u30aa\u30ad\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video height=\"996\" style=\"aspect-ratio: 1904 \/ 996;\" width=\"1904\" controls src=\"https:\/\/www.stuffy.site\/computers\/wp-content\/uploads\/2022\/06\/www.stuffy.site-root@www_-VT-2022-06-19-15-21-30_Trim.mp4\"><\/video><\/figure>\n\n\n\n<p>systemctl status mastodon\u30b3\u30de\u30f3\u30c9\u3067\u72b6\u614b\u8868\u793a\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u78ba\u8a8d\u3059\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u30fb\u30fb\u5b8c\u4e86\u3067\u3059\u3002\u6700\u5f8c\u307e\u3067\u3054\u89a7\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8 <a href=\"https:\/\/centossrv.com\/mastodon.shtml\">Mastodon\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u69cb\u7bc9\uff08Mastodon\uff09| <strong>CentOS\u3067\u81ea\u5b85\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS7\u3078\u306eMastodon\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u6d41\u308c\u3092\u52d5\u753b\u306b\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002\u524d\u63d0\u6761\u4ef6\u306fepel RHEL Software Collection(SCL) \u30ea\u30dd\u30b8\u30c8\u30ea Apache \u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u69cb\u7bc9\u6e08\u307f\u3067\u3059\u3002Cen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,5,75,77,76],"tags":[],"class_list":["post-9830","post","type-post","status-publish","format-standard","hentry","category-apache","category-centos7","category-mastodon","category-postgresql","category-ruby"],"_links":{"self":[{"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/posts\/9830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/comments?post=9830"}],"version-history":[{"count":42,"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/posts\/9830\/revisions"}],"predecessor-version":[{"id":10378,"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/posts\/9830\/revisions\/10378"}],"wp:attachment":[{"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/media?parent=9830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/categories?post=9830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stuffy.site\/computers\/wp-json\/wp\/v2\/tags?post=9830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}