{"id":52,"date":"2018-12-29T14:30:00","date_gmt":"2018-12-29T05:30:00","guid":{"rendered":"https:\/\/wordpress.k8s.yukiafronia.com\/?p=52"},"modified":"2020-08-10T16:14:28","modified_gmt":"2020-08-10T07:14:28","slug":"redmine-4-0-%e3%82%92-%e7%88%86%e9%80%9fnginx%e5%85%88%e8%bc%a9%e3%81%a7%e5%8b%95%e3%81%8b%e3%81%99","status":"publish","type":"post","link":"https:\/\/blog.yukiafronia.com\/?p=52","title":{"rendered":"Redmine 4.0 \u3092 \u7206\u901fNginx\u5148\u8f29\u3067\u52d5\u304b\u3059"},"content":{"rendered":"<p>\u3069\u3082\u3069\u3082\u3001\u307f\u306a\u3055\u3093\u304a\u75b2\u308c\u69d8\u3067\u3059\u3002<br \/>\n\u30d4\u30f3\u6751\u3067\u3054\u3056\u3044\u307e\u3059\u3002<br \/>\n\u3053\u3053\u6700\u8fd1\u4e00\u6bb5\u3068\u5bd2\u304f\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u4f53\u8abf\u3068\u304b\u58ca\u3057\u3066\u3044\u307e\u305b\u3093\u304b\uff1f<br \/>\n\u79c1\u306f\u3001&quot;\u30d0\u30ab\u306f\u98a8\u90aa\u3092\u3072\u304b\u306a\u3044&quot; \u3092\u4f53\u73fe\u3059\u308b\u304c\u5982\u304f\u307e\u3063\u305f\u304f\u98a8\u90aa\u6c17\u5473\u306b\u306a\u308a\u307e\u305b\u3093....<br \/>\n\u304a\u304b\u3052\u3067\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u6f14\u7fd2\u3067\u7d44\u3093\u3067\u3044\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30e1\u30f3\u30d0\u30fc\u3068\u55a7\u5629\u3057\u5c11\u3005\u4e0d\u4ef2\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u81f4\u3057\u65b9\u304c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u306d\uff08\u3060\u3063\u3066\u3001\u30d0\u30ab\u306f\u98a8\u90aa\u3072\u304b\u306a\u3044\u3057\u982d\u60aa\u3044\u3057\u3057\u3087\u3046\u304c\u306a\u3044)<\/p>\n<p>\n\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3058\u3083\u3093\u3058\u3083\u304b\u8a18\u4e8b\u66f8\u3044\u3066\u884c\u304f\u308f\u3051\u3067\u3059\u304c\u3001\u5f0a\u5b66\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u6f14\u7fd2\u53ca\u3073\u30bc\u30df\u30ca\u30fc\u30ebAB\u3068\u547c\u3070\u308c\u308b\u6388\u696d\u3067\u306fRedmine \u3068\u3044\u3046\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7ba1\u7406\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u4f7f\u308f\u308c\u308b\u306e\u306f\u60c5\u5831\u30b7\u30b9\u30c6\u30e0\u5b66\u79d1\u306e\u751f\u5f92\u306a\u3089\u5b58\u3058\u4e0a\u3052\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u5b66\u6821\u5074\u3067\u7d44\u307f\u4e0a\u3052\u3089\u308c\u305fRedmine\u3060\u3068UI\u3082\u30c0\u30b5\u3044\u3057\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u5165\u308c\u3089\u308c\u306d\u3047\u3057\u3001Git\u3068\u304b\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u7ba1\u7406\u3082\u51fa\u6765\u306d\u3047\u3057\u3068\u3044\u3046\u3053\u3068\u3067\u3044\u308d\u3044\u308d\u4e0d\u6e80\u304c\u3042\u308b\u308f\u3051\u3067\u3059\u3002<br \/>\n\u305d\u3093\u306a\u60a9\u307f\u3092\u30ba\u30d0\u30c3\u3068\u89e3\u6c7a\u3059\u3079\u304f\u3001\u79c1\u975e\u5e38\u306b\u9762\u5012\u3067\u306f\u3042\u308a\u307e\u3057\u305f\u304cNginx + Redmine\u306e\u30b3\u30e9\u30dc\u3092\u5b9f\u73fe\u3057\u7206\u901f\u304b\u3064\u67d4\u8edf\u6027\u306b\u3068\u3093\u3060\u30c8\u30fc\u30bf\u30eb\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u7d44\u307f\u307e\u3057\u305f\u3002<br \/>\n\u305c\u3072\u3001\u7686\u3055\u3093\u306b\u3082\u4f7f\u3063\u3066\u3082\u3089\u3044\u305f\u304f\u69cb\u7bc9\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u6b21\u7b2c\u3067\u3059\u3002<br \/>\n\u305c\u3072\u305c\u3072\u3001\u3054\u5229\u7528\u304f\u3060\u3055\u3044!!<br \/>\n\u3067\u306f\u884c\u304d\u307e\u3059\u3088\u3049\uff5e<\/p>\n<h2>CentOS7.6 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306e\u6ce8\u610f\u70b9<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/50502805-7d533f00-0aa5-11e9-9c34-bcbf0a0478bd.png\" alt=\"redmine 4 0 nginx -2018-12-28-13-34-54\" \/><\/p>\n<p>\n\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u304c\u3001\u3064\u307e\u308aRedmine\u3092\u5c0e\u5165\u3059\u308b\u3046\u3048\u3067Ruby\u306a\u308b\u3082\u306e\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>\n\u305d\u306e\u969b\u3001Ruby\u306e\u5c0e\u5165\u6642\u306bgem install \u3084 bundle exec \u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3059\u304cIPv6\u3060\u3068\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5f3e\u304b\u308c\u3066\u3057\u307e\u3046\u4e8b\u8c61\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3088\u3063\u3066\u3001CentOS7.6\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306bIPv6\u3092\u7121\u52b9\u5316\u3057IPv4\u3067\u306e\u307f\u901a\u4fe1\u3055\u305b\u308b\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u308c\u304c\u3001\u6700\u5927\u306e\u6ce8\u610f\u70b9\u3067\u3059\u3002\u6c17\u3092\u4ed8\u3051\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\n\u3042\u3068\u306f\u3001\u3044\u3064\u3082\u901a\u308aCentOS7.6\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<h2>root\u30ed\u30b0\u30a4\u30f3\u5f8c\u306e\u8af8\u3005\u8a2d\u5b9a<\/h2>\n<p>\u518d\u8d77\u52d5\u3057\u3001root\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u5f8c\u306f SELinux \u3092 disabled , firewalld \u3092 disable \u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3089\u3092\u8a2d\u5b9a\u3057\u305f\u5f8c\u3001\u6b21\u306fMariadb\u3068nginx \u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u767b\u9332\u3092\u884c\u3044\u307e\u3059\u3002  <\/p>\n<pre><code>b6p31079@localhost ~# sudo vi \/etc\/yum.repos.d\/nginx.repo  \n\n[nginx]  \nname=nginx repo  \nbaseurl=http:\/\/nginx.org\/packages\/centos\/$releasever\/$basearch\/  \ngpgcheck=0  \nenabled=1  <\/code><\/pre>\n<p>  <\/p>\n<pre><code>b6p31079@localhost ~# sudo vi \/etc\/yum.repos.d\/nginx.repo  \n\n# MariaDB 10.3 CentOS repository list - created 2018-12-28 04:45 UTC\n# http:\/\/downloads.mariadb.org\/mariadb\/repositories\/\n[mariadb]  \nname = MariaDB  \nbaseurl = http:\/\/yum.mariadb.org\/10.3\/centos7-amd64  \ngpgkey=https:\/\/yum.mariadb.org\/RPM-GPG-KEY-MariaDB  \ngpgcheck=1  <\/code><\/pre>\n<p>Ruby\u3092\u30d3\u30eb\u30c9\u3055\u305b\u308b\u305f\u3081\u306e\u958b\u767a\u30c4\u30fc\u30eb\u3092\u5c0e\u5165\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>b6p31079@localhost ~# sudo yum -y groupinstall &quot;Development Tools&quot; &amp;&amp; sudo yum -y install openssl-devel readline-devel zlib-devel curl-devel libyaml-devel mariadb-devel ImageMagick ImageMagick-devel MariaDB-server MariaDB-client nginx MariaDB-shared  <\/code><\/pre>\n<p>\u4e0a\u8a18\u306eyum install\u3067\u306f\u3001\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3068nginx , mariadb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u3067\u5168\u90e8\u30b3\u30df\u30b3\u30df\u3067\u3084\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3081\u3063\u3061\u3083\u9577\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u3067\u306b\u304a\u8336\u98f2\u3081\u308b\u3050\u3089\u3044\u6642\u9593\u304b\u304b\u308b\u306e\u3067yum\u6253\u3064\u524d\u306b\u30b3\u30fc\u30d2\u30fc\u304b\u304a\u8336\u306e\u6e96\u5099\u3092\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\nyum\u7d42\u4e86\u5f8c\u3001\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\u3092\u30aa\u30f3\u306b\u3059\u308b\u3002 \u3000<\/p>\n<pre><code>root@localhost ~# systemctl enbale mariadb nginx  <\/code><\/pre>\n<p>\u6b21\u306b\u3001Ruby \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\nrbenv\u3092\u4f7f\u3063\u3066\u3001Ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u6307\u5b9a\u3092\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>b6p31079@localhost ~# git clone https:\/\/github.com\/rbenv\/rbenv.git ~\/.rbenv  \n\nb6p31079@localhost ~# cd ~\/.rbenv  \n\nb6p31079@localhost ~# src\/configure &amp;&amp; make -C src  \n\nb6p31079@localhost ~# sudo vi ~\/.bash_profile  <\/code><\/pre>\n<p>  <\/p>\n<pre><code># .bash_profile\n\n# Get the aliases and functions\nif [ -f ~\/.bashrc ]; then\n        . ~\/.bashrc\nfi\n\n# User specific environment and startup programs\n\nPATH=&quot;$PATH:$HOME\/bin&quot;\nPATH=&quot;$PATH:$HOME\/.rbenv\/bin&quot;\u3000\u3000\u3000\u3000\u3000\u3000\u2190 \u3053\u306e\u884c\u3092\u8ffd\u8a18\n\nexport PATH<\/code><\/pre>\n<p>  <\/p>\n<pre><code>b6p31079@localhost ~# ~\/.rbenv\/bin\/rbenv init  \n\nb6p31079@localhost ~# sudo vi ~\/.bash_profile  \n\n# .bash_profile\n\n# Get the aliases and functions\nif [ -f ~\/.bashrc ]; then\n        . ~\/.bashrc\nfi\n\n# User specific environment and startup programs\n\nPATH=&quot;$PATH:$HOME\/bin&quot;\nPATH=&quot;$PATH:$HOME\/.rbenv\/bin&quot;\n\nexport PATH\n\neval &quot;$(rbenv init -)&quot;\u3000\u3000\u3000\u3000\u3000\u3000\u2190 \u3053\u306e\u884c\u3092\u8ffd\u8a18<\/code><\/pre>\n<p>\u3053\u3053\u307e\u3067\u306e\u4f5c\u696d\u3067\u5909\u66f4\u70b9 SELinux , firewalld , bash_profile\u306a\u3069\u3092\u53cd\u6620\u3055\u305b\u308b\u305f\u3081\u3044\u3063\u305f\u3093\u518d\u8d77\u52d5\u3092\u304b\u3051\u307e\u3059\u3002<br \/>\n\u518d\u8d77\u52d5\u5f8c\u3001\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002  <\/p>\n<pre><code>b6p31079@localhost ~# type rbenv  \n\nrbenv ()\n{\n    local command;\n    command=&quot;${1:-}&quot;;\n    if [ &quot;$#&quot; -gt 0 ]; then\n        shift;\n    fi;\n    case &quot;$command&quot; in\n        rehash | shell)\n            eval &quot;$(rbenv &quot;sh-$command&quot; &quot;$@&quot;)&quot;\n        ;;\n        *)\n            command rbenv &quot;$command&quot; &quot;$@&quot;\n        ;;\n    esac\n}<\/code><\/pre>\n<p>\u6b21\u306b\u3001Ruby on Rails\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081github\u304b\u3089ruby-build\u3092\u5f15\u3063\u5f35\u3063\u3066\u304d\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001Ruby 2.6\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\u3082\u7d0410\u5206\u307b\u3069\u6642\u9593\u304b\u304b\u308b\u306e\u3067\u304a\u8336\u3067\u3082\u98f2\u3093\u3067\u3058\u3063\u304f\u308a\u5f85\u3061\u307e\u3057\u3087\u3046...  <\/p>\n<pre><code>b6p31079@localhost ~# git clone https:\/\/github.com\/rbenv\/ruby-build.git ~\/.rbenv\/plugins\/ruby-build  \n\nb6p31079@localhost ~# rbenv install -l      \u2190 \u5b9f\u884c\u5f8c\u30012.6.0 \u3068\u304b\u3044\u3066\u3042\u308b\u3082\u306e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002(2.6.0-rc1\u306a\u3069\u306f\u5225)  \n\nb6p31079@localhost ~# rbenv install 2.6.0  \n\nb6p31079@localhost ~# rbenv global 2.6.0  \n\nb6p31079@localhost ~# ruby -v<\/code><\/pre>\n<p>\u6b21\u306bRuby on Rails\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u79fb\u308a\u307e\u3059\u3002<br \/>\nRails\u306f gem\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u306a\u306e\u3067gem\u3067\u5165\u308c\u3061\u3083\u3044\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhost ~# gem list &#039;^rails$&#039; -ra  \n\n\u5b9f\u884c\u7d50\u679c\n*** REMOTE GEMS ***\n\nrails (5.2.2, 5.2.1.1, 5.2.1, 5.2.0, 5.1.6.1, 5.1.6, 5.1.5, 5.1.4, 5.1.3, 5.1.2, 5.1.1, 5.1.0, 5.0.7.1, 5.0.7, 5.0.6, 5.0.5, 5.0.4, 5.0.3, 5.0.2, 5.0.1, 5.0.0.1, 5.0.0, 4.2.11, 4.2.10, 4.2.9, 4.2.8, 4.2.7.1, 4.2.7, 4.2.6, 4.2.5.2, 4.2.5.1, 4.2.5, 4.2.4, 4.2.3, 4.2.2, 4.2.1, 4.2.0, 4.1.16, 4.1.15, 4.1.14.2, 4.1.14.1, 4.1.14, 4.1.13, 4.1.12, 4.1.11, 4.1.10, 4.1.9, 4.1.8, 4.1.7.1, 4.1.7, 4.1.6, 4.1.5, 4.1.4, 4.1.3, 4.1.2, 4.1.1, 4.1.0, 4.0.13, 4.0.12, 4.0.11.1, 4.0.11, 4.0.10, 4.0.9, 4.0.8, 4.0.7, 4.0.6, 4.0.5, 4.0.4, 4.0.3, 4.0.2, 4.0.1, 4.0.0, 3.2.22.5, 3.2.22.4, 3.2.22.3, 3.2.22.2, 3.2.22.1, 3.2.22, 3.2.21, 3.2.20, 3.2.19, 3.2.18, 3.2.17, 3.2.16, 3.2.15, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8, 3.2.7, 3.2.6, 3.2.5, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.1.12, 3.1.11, 3.1.10, 3.1.9, 3.1.8, 3.1.7, 3.1.6, 3.1.5, 3.1.4, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.20, 3.0.19, 3.0.18, 3.0.17, 3.0.16, 3.0.15, 3.0.14, 3.0.13, 3.0.12, 3.0.11, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.6, 3.0.5, 3.0.4, 3.0.3, 3.0.2, 3.0.1, 3.0.0, 2.3.18, 2.3.17, 2.3.16, 2.3.15, 2.3.14, 2.3.12, 2.3.11, 2.3.10, 2.3.9, 2.3.8, 2.3.7, 2.3.6, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.3, 2.2.2, 2.1.2, 2.1.1, 2.1.0, 2.0.5, 2.0.4, 2.0.2, 2.0.1, 2.0.0, 1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.6, 1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.1.0, 1.0.0, 0.14.4, 0.14.3, 0.14.2, 0.14.1, 0.13.1, 0.13.0, 0.12.1, 0.12.0, 0.11.1, 0.11.0, 0.10.1, 0.10.0, 0.9.5, 0.9.4.1, 0.9.4, 0.9.3, 0.9.2, 0.9.1, 0.9.0, 0.8.5, 0.8.0)  \n<\/code><\/pre>\n<p>\u5927\u91cf\u306e\u6587\u5b57\u5217\u304c\uff84\uff9e\uff8a\uff9e\uff67\uff70\uff6f\u3068\u51fa\u3066\u304d\u307e\u3059\u306e\u3067\u3001Rails\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u6700\u65b0\u306e5.2.2\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<pre><code>root@localhost ~# gem install rails --version &quot;~&gt;5.2.2&quot;  <\/code><\/pre>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u4e0a\u624b\u304f\u3044\u304f\u3068\u3053\u3093\u306a\u611f\u3058  <\/p>\n<pre><code>\u4e00\u756a\u6700\u5f8c\u306e\u884c \u2193  \nDone installing documentation for concurrent-ruby, i18n, thread_safe, tzinfo, activesupport, rack, rack-test, mini_portile2, nokogiri, crass, loofah, rails-html-sanitizer, rails-dom-testing, builder, erubi, actionview, actionpack, activemodel, arel, activerecord, globalid, activejob, mini_mime, mail, actionmailer, nio4r, websocket-extensions, websocket-driver, actioncable, mimemagic, marcel, activestorage, thor, method_source, railties, sprockets, sprockets-rails, rails after 52 seconds\n38 gems installed  <\/code><\/pre>\n<p>\u3044\u3088\u3044\u3088\u3001Redmine 4.0\u7528\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u308a\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhost~# mysql -u root\n\nMariaDB [(none)]&gt;CREATE DATABASE redmine CHARACTER SET utf8;  \nMariaDB [(none)]&gt;CREATE USER &#039;redmine&#039;@&#039;localhost&#039;;  \nMariaDB [(none)]&gt;GRANT ALL PRIVILEGES ON redmine.* TO &#039;redmine&#039;@&#039;localhost&#039;;  \nCtrl + C \u30ad\u30fc\u6253\u3061\u8fbc\u3080\u3068SQL\u30b3\u30de\u30f3\u30c9\u304b\u3089\u51fa\u3089\u308c\u308b\u3002  \n<\/code><\/pre>\n<p>  <\/p>\n<h2>Redmine 4.0\u5c0e\u5165<\/h2>\n<p>Redmine 4.0\u306e\u30b3\u30a2\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u308c\u308b\u3068\u304d\u3001root\u3060\u3068\u4f55\u304b\u3084\u3070\u305d\u3046\uff08\u8a9e\u5f59\u529b\u306e\u6b20\u5982)\u306a\u306e\u3067redmine \u30e6\u30fc\u30b6\u3092\u4f5c\u308a\u305d\u306e\u4e2d\u306bRedmine4.0\u306e\u30b3\u30a2\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304d\u305f\u3044\u3068\u601d\u3044\u3044\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhost ~# useradd redmine  \nroot@localhost ~# su - redmine  \n\nredmine@localhost ~# mkdir ~\/src  \nredmine@localhost ~# cd ~\/src  \n\nredmine@localhost ~# curl -LO http:\/\/www.redmine.org\/releases\/redmine-4.0.0.tar.gz  \n\nredmine@localhost ~# tar xzvf redmine-4.0.0.tar.gz  \n\nredmine@localhost ~# exit  <\/code><\/pre>\n<p>ruby\u3092root\u306e\u307b\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u306e\u3067\u5b9f\u306froot\u3068\u4e00\u822c\u30e6\u30fc\u30b6\u3092\u307e\u305f\u3050\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30d4\u30fc\u306fsudo or su\u304c\u5fc5\u8981\u306a\u3093\u3067\u3059\u3088\u306d...<br \/>\n\u306a\u306e\u3067\u3001passwd redmine\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhost ~# vi \/etc\/sudoers\n\n## Allow root to run any commands anywhere\nroot    ALL=(ALL)       ALL\nredmine ALL=(ALL)       ALL         \u2190\u8ffd\u8a18\u4e8b\u9805\n<\/code><\/pre>\n<p>  <\/p>\n<pre><code>root@localhost ~# passwd redmine\n\u30e6\u30fc\u30b6\u30fc redmine \u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3002\n\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9:\n\u3088\u304f\u306a\u3044\u30d1\u30b9\u30ef\u30fc\u30c9: \u3053\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306f 8 \u672a\u6e80\u306e\u6587\u5b57\u5217\u3067\u3059\u3002\n\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u518d\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044:\npasswd: \u3059\u3079\u3066\u306e\u8a8d\u8a3c\u30c8\u30fc\u30af\u30f3\u304c\u6b63\u3057\u304f\u66f4\u65b0\u3067\u304d\u307e\u3057\u305f\u3002  <\/code><\/pre>\n<p>\u6b21\u306b\u3001Redmine\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u79fb\u52d5\u3055\u305b\u307e\u3059\u3002  <\/p>\n<pre><code>redmine@localhost ~# sudo cp -r \/home\/redmine\/src\/redmine-4.0.0 \/var\/lib\/redmine  \n\nredmine@localhost ~# sudo chown -R redmine:redmine \/var\/lib\/redmine  \n\nredmine@localhost ~# sudo chmod -R  777 \/var\/lib\/redmine\n\nredmine@localhost ~# sudo cp \/var\/lib\/redmine\/config\/database.yml.example \/var\/lib\/redmine\/config\/database.yml  \n\nredmine@localhost ~# sudo vi \/var\/lib\/redmine\/config\/database.yml  \n\n# Default setup is given for MySQL with ruby1.9.\n# Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end.\n# Line indentation must be 2 spaces (no tabs).\n\nproduction:\n  adapter: mysql2\n  database: redmine\n  host: localhost\n  username: root            \u2190redmine\u3078\u5909\u66f4\n  password: &quot;&quot;\n  encoding: utf8\n<\/code><\/pre>\n<p>Redmine \u306e WebUI\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u5148\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhost ~# mkdir -p \/var\/redmine\/files  \nroot@localhost ~# chown redmine:redmine \/var\/redmine\/files  \nroot@localhost ~# su - redmine  \n<\/code><\/pre>\n<p>\u6b21\u306b\u3001Redmine\u304c\u4f7f\u7528\u3059\u308bgem \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhost ~# cd \/var\/lib\/redmine  \nroot@localhost ~# bundle install --without development test rmagick  \nroot@localhost ~# bundle exec rake generate_secret_token  <\/code><\/pre>\n<p>Redmine\u3067\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhost ~# cd \/var\/lib\/redmine  \nroot@localhost ~# bundle exec rake db:migrate RAILS_ENV=production  <\/code><\/pre>\n<p>\u3044\u3088\u3044\u3088\u5927\u8a70\u3081\u306b\u5dee\u3057\u639b\u304b\u308a\u307e\u3057\u305f\u3002!!<br \/>\n\u3042\u3068\u3082\u3046\u3061\u3087\u3063\u3068\u3067\u3059\u9811\u5f35\u3063\u3066!  <\/p>\n<p>Unicorn\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre><code>[b6p31079@localhost redmine]$ cat &lt;&lt; EOF &gt; Gemfile.local  \n> gem &quot;unicorn&quot;  \n> EOF  \n[b6p31079@localhost redmine]$\n<\/code><\/pre>\n<p>bundle\u3067ruby\u7cfb\u7d71\u306e\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhost ~# bundle install --without development test  <\/code><\/pre>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u306e\u52d5\u4f5c\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3059\u3002  (Unicorn)  <\/p>\n<pre><code>root@localhost ~# bundle exec unicorn_rails -l 3000 -E production  \n\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u2193  \n[b6p31079@localhost redmine]$ bundle exec unicorn_rails -l 3000 -E production\nI, [2018-12-29T22:03:56.709342 #31205]  INFO -- : listening on addr=0.0.0.0:3000 fd=7  \nI, [2018-12-29T22:03:56.709498 #31205]  INFO -- : worker=0 spawning...  \nI, [2018-12-29T22:03:56.710308 #31205]  INFO -- : master process ready  \nI, [2018-12-29T22:03:56.710802 #31218]  INFO -- : worker=0 spawned pid=31218 \nI, [2018-12-29T22:03:56.711059 #31218]  INFO -- : Refreshing Gem list  \nI, [2018-12-29T22:03:59.211901 #31218]  INFO -- : worker=0 ready  \n\u30a8\u30e9\u30fc\u51fa\u3066\u306a\u3051\u308c\u3070\u57fa\u672c\u5927\u4e08\u592b\u3067\u3059\u3002  <\/code><\/pre>\n<p>\u5148\u307b\u3069\u3001\u5b9f\u884c\u3057\u305fUnicorn\u3092\u3082\u3063\u3068\u7c21\u5358\u306b\u547c\u3073\u51fa\u3059\u305f\u3081\u3001\u30c7\u30fc\u30e2\u30f3\u30d7\u30ed\u30bb\u30b9\u5316\u3059\u308b\u3053\u3068\u3067\u3001systemctl \u3067\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>root@localhst ~# vi \/var\/lib\/redmine\/config\/unicorn.rb  \n\nworker_processes 2\n\napp_path = &quot;\/var\/lib\/redmine&quot;\n\nlisten 3000\n#listen  File.expand_path(&#039;tmp\/unicorn.sock&#039;, app_path)\npid File.expand_path(&#039;tmp\/unicorn.pid&#039;, app_path)\nstderr_path File.expand_path(&#039;log\/unicorn.stderr.log&#039;, app_path)\nstdout_path File.expand_path(&#039;log\/unicorn.stdout.log&#039;, app_path)\n\npreload_app true\n\ntimeout 30\n\nif GC.respond_to?(:copy_on_write_friendly=)\n  GC.copy_on_write_friendly = true\nend\n\nbefore_fork do |server, worker|\n  defined?(ActiveRecord::Base) and ActiveRecord::Base.connection.disconnect!\n\n  old_pid = &quot;#{server.config[:pid]}.oldbin&quot;\n  if old_pid != server.pid\n    begin\n      sig = (worker.nr + 1) &gt;= server.worker_processes ? :QUIT : :TTOU\n      Process.kill(sig, File.read(old_pid).to_i)\n    rescue Errno::ENOENT, Errno::ESRCH\n    end\n  end\nend\n\nafter_fork do |server, worker|\n  defined?(ActiveRecord::Base) and ActiveRecord::Base.establish_connection\nend  <\/code><\/pre>\n<p>SECRET_KEY_BASE \u306e\u5024\u306a\u308b\u3082\u306e\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002  \u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u53d6\u5f97\u53ef\u80fd\u3067\u3059\u3002  <\/p>\n<pre><code>[b6p31079@localhost redmine]$ bundle exec rake secret  \n45shiko45shiko19iku19iku810yazyu       \u2190\u3053\u3093\u306a\u611f\u3058  <\/code><\/pre>\n<p>systemctl\u30b3\u30de\u30f3\u30c9\u3067\u6307\u5b9a\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u540d\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u30b5\u30fc\u30d3\u30b9\u8d77\u52d5\u9806\u5e8f\u306e\u4f9d\u5b58\u95a2\u4fc2\u3068\u3057\u3066\u3001MariaDB\u304c\u8d77\u52d5\u3057\u3066\u304b\u3089\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3059\u308b\u3088\u3046\u6307\u5b9a\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>[b6p31079@localhost redmine]$ sudo vi \/etc\/systemd\/system\/unicorn-redmine.service  \n\n[Unit]\nDescription=redmine\nWants=mariadb.service\nAfter=mariadb.service\n\n[Service]\nUser=b6p31079(\u5b66\u7c4d\u756a\u53f7\u5165\u308c\u3066\u304f\u3060\u3055\u3044)  \nWorkingDirectory=\/var\/lib\/redmine  \nEnvironment=RAILS_ENV=production  \nEnvironment=RAILS_SERVE_STATIC_FILES=1  \nEnvironment=SECRET_KEY_BASE=e9594cfcda81a28cccbbc725a9003afc1724110a217f593ef54a581c4a4d9cdbfc1bbc18768489bdabec3641381830557c51e232e9ad9dcf982ee96bb89ad90b  \nSyslogIdentifier=unicorn-redmine  \nPIDFile=\/var\/lib\/redmine\/tmp\/unicorn.pid  \nExecStart=\/home\/b6p31079\/.rbenv\/shims\/bundle exec &quot;unicorn_rails -D -c \/var\/lib\/redmine\/config\/unicorn.rb -E production&quot;  \n\n[Install]  \nWantedBy=multi-user.target  \n<\/code><\/pre>\n<p>\u8d77\u52d5\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3089\u3001nginx \u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u3044\u3058\u304f\u308a\u307e\u3059\u3002  <\/p>\n<pre><code>[b6p31079@localhost redmine]$ sudo vi \/etc\/nginx\/conf.d\/default.conf  \n\nserver {  \n    listen       80;  \n    server_name  redmine.example.com;  \n\n    proxy_connect_timeout  60;\n    proxy_read_timeout  60;\n    proxy_send_timeout  60;\n\n    #charset koi8-r;\n    #access_log  \/var\/log\/nginx\/host.access.log  main;\n\n    location \/ {\n        root  \/var\/lib\/redmine\/public;\n        index  index.html index.htm;\n\n        if (-f $request_filename) {\n          break;\n        }\n\n        proxy_pass  http:\/\/127.0.0.1:3000;\n        proxy_set_header X-Real-IP  $remote_addr;\n        proxy_set_header X-Forwarded-For  $proxy_add_x_forwarded_for;\n        proxy_set_header Host  $http_host;\n    }\n}\n\n\u4e0a\u8a18\u305d\u306e\u307e\u307e\u30b3\u30d4\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\u3002  \n\u5ff5\u306e\u305f\u3081\u3001\u30b3\u30d4\u30fc\u3057\u7d42\u308f\u3063\u305f\u3089\u6587\u6cd5\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002  \n[b6p31079@localhost redmine]$ sudo nginx -t  \n<\/code><\/pre>\n<p>\u3067\u306f\u3001\u6700\u5f8c\u306b\u304a\u307e\u3058\u306a\u3044\u7684\u306b\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3061\u307e\u3059\u3002  <\/p>\n<pre><code>[b6p31079@localhost redmine]$ sudo systemctl enable nginx mariadb unicorn-redmine  \n\n[b6p31079@localhost redmine]$ sudo reboot<\/code><\/pre>\n<p>  <\/p>\n<h2>\u52d5\u4f5c\u78ba\u8a8d<\/h2>\n<p>\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u3067\u52d5\u4f5c\u3059\u308b\u30c9\u30e1\u30a4\u30f3\u3092\u4ed8\u3051\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u30b5\u30fc\u30d0\u5074\u3001Windows or Mac OS\u5074\u3067\u305d\u308c\u305e\u308c\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002  <\/p>\n<pre><code>[b6p31079@localhost redmine]$ sudo vi \/etc\/hosts  \n\n192.168.1.47(\u4eca\u56de\u306e\u30b5\u30fc\u30d0IP)  redmine.example.com   \u2190\u8ffd\u8a18  <\/code><\/pre>\n<p>Windows\u5074<br \/>\nWindows\u30ad\u30fc + R \u3067\u3000%SystemRoot%\\System32\\drivers\\etc\\hosts\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u53c2\u7167<br \/>\n\u7ba1\u7406\u8005\u6a29\u9650\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002  <\/p>\n<pre><code># Copyright (c) 1993-2009 Microsoft Corp.\n#\n# This is a sample HOSTS file used by Microsoft TCP\/IP for Windows.\n#\n# This file contains the mappings of IP addresses to host names. Each\n# entry should be kept on an individual line. The IP address should\n# be placed in the first column followed by the corresponding host name.\n# The IP address and the host name should be separated by at least one\n# space.\n#\n# Additionally, comments (such as these) may be inserted on individual\n# lines or following the machine name denoted by a &#039;#&#039; symbol.\n#\n# For example:\n#\n#      102.54.94.97     rhino.acme.com          # source server\n#       38.25.63.10     x.acme.com              # x client host\n\n# localhost name resolution is handled within DNS itself.\n#   127.0.0.1       localhost\n#   ::1             localhost\n\n127.0.0.1 view-localhost # view localhost server\n192.168.1.47 redmine.example.com        \u2190\u8ffd\u8a18<\/code><\/pre>\n<p>\u4ee5\u4e0a\u3067\u30b5\u30fc\u30d0\u3092\u518d\u8d77\u52d5\u3055\u305b\u3001<a href=\"http:\/\/redmine.example.com\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4e0b\u56f3\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\">http:\/\/redmine.example.com\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u4e0b\u56f3\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059<\/a>\u3002<br \/>\n\u53f3\u4e0a\u306e\u30ed\u30b0\u30a4\u30f3\u3092\u62bc\u4e0b\u3057\u3001\u30e6\u30fc\u30b6\u540d : admin \u30d1\u30b9\u30ef\u30fc\u30c9 : admin\u3067\u5165\u3063\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u305d\u306e\u3042\u3068\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4\u3092\u6c42\u3081\u3089\u308c\u307e\u3059\u306e\u3067\u6307\u793a\u306b\u5f93\u3063\u3066\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6253\u3066\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<p>\n<img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/50539261-cc41c700-0bc0-11e9-98cb-5b25d791b25a.png\" alt=\"image\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/23439178\/50539267-dcf23d00-0bc0-11e9-874c-eaa32b497e4c.png\" alt=\"image\" \/><\/p>\n<p>\n\u4ee5\u4e0a\u3067\u5b8c\u4e86\u3067\u3059\u3002<br \/>\n\u5927\u5909\u304a\u75b2\u308c\u69d8\u3067\u3057\u305f\u3002!!<br \/>\n\u5f0a\u5b66\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u6f14\u7fd2\u3067\u3059\u304c\u3001\u30a4\u30f3\u30d5\u30e9\u95a2\u4fc2\u3067\u3042\u308c\u3070\u51fa\u6765\u308b\u9650\u308a\u304a\u624b\u4f1d\u3044\u3067\u304d\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7cfb\u306f\u7533\u3057\u8a33\u306a\u3044\u3067\u3059\u304c\u3001\u7686\u3055\u3093\u306e\u65b9\u304c\u8a73\u3057\u3044\u3067\u3059\u306e\u3067....(\u30de\u30b8\u3067...)<\/p>\n<p>\n\u3067\u306f\u3067\u306f\u3001\u5e74\u306e\u702c\u30ae\u30ea\u30ae\u30ea\u306e\u6295\u7a3f\u3067\u3057\u305f\u304c\u3088\u3044\u304a\u5e74\u3092\u304a\u8fce\u3048\u304f\u3060\u3055\u3044\u3002<br \/>\n\u3067\u306f\u3001\u79c1\u306fC95\u306b\u884c\u3063\u3066\u53c2\u308a\u307e\u3059\u306e\u3067....<br \/>\n\u3082\u3057\u304b\u3059\u308b\u3068\u3001<a href=\"https:\/\/yukiafronia.com\u3067\u30b3\u30df\u30b1\u306e\u60c5\u5831\u306f\u51fa\u3059\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306e\u3067\">https:\/\/yukiafronia.com\u3067\u30b3\u30df\u30b1\u306e\u60c5\u5831\u306f\u51fa\u3059\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306e\u3067<\/a>....<\/p>\n<p>\n\u3067\u306f\u3001\u3088\u3044\u304a\u5e74\u3092\uff5e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3082\u3069\u3082\u3001\u307f\u306a\u3055\u3093\u304a\u75b2\u308c\u69d8\u3067\u3059\u3002 \u30d4\u30f3\u6751\u3067\u3054\u3056\u3044\u307e\u3059\u3002 \u3053\u3053\u6700\u8fd1\u4e00\u6bb5\u3068\u5bd2\u304f\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u4f53\u8abf\u3068\u304b\u58ca\u3057\u3066\u3044\u307e\u305b\u3093\u304b\uff1f \u79c1\u306f\u3001&quot;\u30d0\u30ab\u306f\u98a8\u90aa\u3092\u3072\u304b\u306a\u3044&quot; \u3092\u4f53\u73fe\u3059\u308b\u304c\u5982\u304f\u307e\u3063\u305f\u304f\u98a8\u90aa\u6c17\u5473\u306b\u306a\u308a\u307e\u305b\u3093&#8230;.&hellip; <span class=\"clear\"><\/span><a href=\"https:\/\/blog.yukiafronia.com\/?p=52\" class=\"more-link read-more\" rel=\"bookmark\"><span class=\"screen-reader-text\">Redmine 4.0 \u3092 \u7206\u901fNginx\u5148\u8f29\u3067\u52d5\u304b\u3059<\/span><i class=\"fa fa-arrow-right\"><\/i> \u306e\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":53,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-52","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/posts\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=52"}],"version-history":[{"count":1,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/posts\/52\/revisions"}],"predecessor-version":[{"id":54,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/posts\/52\/revisions\/54"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=\/wp\/v2\/media\/53"}],"wp:attachment":[{"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.yukiafronia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}