{"id":256,"date":"2025-03-15T13:43:20","date_gmt":"2025-03-15T04:43:20","guid":{"rendered":"https:\/\/www.inpetas.jp\/?p=256"},"modified":"2025-03-15T09:13:40","modified_gmt":"2025-03-15T00:13:40","slug":"nextcloud%e3%81%ab%e6%89%8b%e3%82%92%e5%87%ba%e3%81%97%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86%e3%81%8b","status":"publish","type":"post","link":"https:\/\/www.inpetas.jp\/?p=256","title":{"rendered":"nextcloud\u306b\u624b\u3092\u51fa\u3057\u3066\u307f\u3088\u3046"},"content":{"rendered":"\n<p>\u5bb6\u5ead\u5185\u5916\u3067\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u3068\u3057\u3066\u3001nextcloud\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u307f\u3088\u3046\u304b\u3068\u601d\u3044\u7acb\u3061\u3001\u5bb6\u306e\u5916\u304b\u3089\u3069\u3046\u3059\u308b\u304b\u306f\u5225\u9014\u8003\u3048\u308b\u3053\u3068\u3068\u3057\u3066\u3001\u74b0\u5883\u3092\u3056\u3063\u304f\u308a\u4f5c\u3063\u3066\u884c\u304d\u307e\u3059\u3002<br>\u53ef\u80fd\u3067\u3042\u308c\u3070\u3001\u5206\u6563\u3057\u3066\u3044\u308bNAS\uff084\u53f0\uff09\u3082\u7d71\u5408\u3057\u3066\u898b\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u2026<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">0.\u74b0\u5883<\/h1>\n\n\n\n<p>\u304a\u8a66\u3057\u306a\u306e\u3067\u3001\u69cb\u6210\u306f\u307b\u307c\u6700\u5c0f\u3067\u3001HDD\u30821000GByte\u306b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br>OS\u306f\u3068\u308a\u3042\u3048\u305aUbuntu 22.04.4\u306e\u30e1\u30c7\u30a3\u30a2\u304b\u3089minimal\u69cb\u6210\u3067\u5c0e\u5165\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"348\" src=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image.png\" alt=\"\" class=\"wp-image-257\" srcset=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image.png 842w, https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-300x124.png 300w, https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-768x317.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">1.\u5c0e\u5165\u3068\u521d\u671f\u8a2d\u5b9a<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">1-1.root\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<p>\u5c0e\u5165\u304c\u7d42\u308f\u3063\u305f\u3089\u3001Ubuntu\u306e\u5834\u5408\u3001root\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3053\u308c\u3092\u8a2d\u5b9a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">user@hostname:~$<\/mark> <em>sudo passwd root<\/em><br>[sudo] password for user: <em>&lt;\u5b9f\u884c\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9&gt;<\/em><br>New password: <em>&lt;root\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9&gt;<\/em><br>Retype new password: <em>&lt;root\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9&gt;<\/em><br>passwd: password updated successfully<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">1-2.\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8<\/h2>\n\n\n\n<p><code>apt<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u307e\u3067\u5b9f\u65bd\u3059\u308b\u3002<br>\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u6700\u5f8c\u306b\u30b5\u30fc\u30d3\u30b9\u306e\u518d\u8d77\u52d5\u8981\u6c42\u304c\u6765\u308b\u306e\u3067\u3053\u308c\u3082\u5b9f\u65bd\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">user@hostname:~$<\/mark> <em>sudo apt update<\/em><br>\u2026<br>\u2026<br>70 packages can be upgraded. Run 'apt list --upgradable' to see them.<br>~$ <em>sudo apt upgrade<\/em><br>\u2026<br>69 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.<br>Need to get 16.1 MB of archives.<br>After this operation, 715 kB of additional disk space will be used.<br>Do you want to continue? [Y\/n] <em>Y<\/em><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">1-3.\u524d\u63d0\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>nextcloud\u306f\u3001docker\u3067\u3082\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u3053\u308c\u3092\u4f7f\u3044\u307e\u3059\u3002<br>\u306a\u306e\u3067\u305d\u3082\u305d\u3082\u306e\u524d\u63d0\u3068\u306a\u308bdocker\u3001docker-compose\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c0e\u5165\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">user@hostname:~$<\/mark> <em>sudo apt install docker docker-compose<\/em><br>\u2026<br>\u2026<br>Do you want to continue? [Y\/n] <em>Y<\/em><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">1-4.\u4eee\u60f3\u30de\u30b7\u30f3\u306eSnapshot\u53d6\u5f97<\/h2>\n\n\n\n<p>\u4e00\u65e6\u3053\u3053\u307e\u3067\u3067Proxmox VE\u304b\u3089\u4eee\u60f3\u30de\u30b7\u30f3\u306esnapshot\u3092\u53d6\u5f97\u3057\u3066\u304a\u304f\u3002<br>\uff08\u3053\u306e\u5f8c\u3001docker\u95a2\u4fc2\u3067\u69cb\u6210\u304c\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3068\u304d\u306e\u305f\u3081\u306b\u2026\uff09<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1-5.docker\u306e\u74b0\u5883\u3092\u4f5c\u308b\u3002<\/h2>\n\n\n\n<p>\u30a6\u30c1\u306e\u74b0\u5883\u3067docker\u3092\u4f7f\u3046\u5834\u5408\u3001<br>\u3000\u30fbdockerhome\u30e6\u30fc\u30b6\u30fc\u3067\u4f5c\u696d<br>\u3000\u30fb\/docker\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306b\u30d5\u30a1\u30a4\u30eb\u985e\u3092\u914d\u7f6e<br>\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30e6\u30fc\u30b6\u30fc\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u3044\u304f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> <em>adduser dockerhome<\/em><br>\u2026<br>New password:<br>Retype new password:<br>\u2026<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> <em>usermod -aG docker dockerhome<\/em><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> <em>grep docker \/etc\/group<\/em><br>docker:x:119:dockerhome<br>dockerhome:x:1001:<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> <em>mkdir \/docker<\/em><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> <em>chown dockerhome:dockerhome \/docker<\/em><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> <em>ls -l \/ | grep docker<\/em><br>drwxr-xr-x   2 dockerhome dockerhome       4096 Mar 09 04:22 docker<br><br><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">1-6.\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<p>\u3053\u306e\u6bb5\u968e\u3067\u3001Ubuntu\u3060\u3068\u306a\u308a\u306b\u5c0e\u5165\u3057\u3066\u3044\u308b\u3068\u3001\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u304cUTC\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3092\u601d\u3044\u51fa\u3057\u305f\u306e\u3067\u3001\u65e9\u3081\u306bJST\u306b\u5909\u66f4\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>\uff08\u672c\u6765\u3067\u3042\u308c\u3070\u30d1\u30c3\u30b1\u30fc\u30b8\u5c0e\u5165\u524d\u5f8c\u306b\u3084\u3063\u3066\u304a\u3051\u308c\u3070\u2026\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> <em>timedatectl<\/em><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Local time: Tue 2025-03-09 04:33:38 UTC<\/mark><br>Universal time: Tue 2025-03-09 04:33:38 UTC<br>RTC time: Tue 2025-03-09 04:33:38<br>Time zone: Etc\/UTC (UTC, +0000)<br>System clock synchronized: yes<br>NTP service: active<br>RTC in local TZ: no<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> <em>timedatectl set-timezone Asia\/Tokyo<\/em><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> <em>timedatectl<\/em><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Local time: Tue 2025-03-09 13:34:01 JST<\/mark><br>Universal time: Tue 2025-03-09 04:34:01 UTC<br>RTC time: Tue 2025-03-09 04:34:01<br>Time zone: Asia\/Tokyo (JST, +0900)<br>System clock synchronized: yes<br>NTP service: active<br>RTC in local TZ: no<\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">2.Docker\u8a2d\u5b9a<\/h1>\n\n\n\n<p>nextcloud\u3092<code>docker<\/code>\u3067pull\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u3066\u304f\u308b\u3060\u3051\u3060\u3068\u4f55\u306a\u306e\u3067\u3001<code>docker-compose<\/code>\u3067\u307e\u3068\u3081\u3066\u51e6\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u3053\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2-1.docker-compose.yml<\/h2>\n\n\n\n<p>docker\u306e\u95a2\u9023\u30d5\u30a1\u30a4\u30eb\u306f\/docker\u4ee5\u4e0b\u306b\u7f6e\u304f\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u307e\u305a\u306f\u305d\u3053\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u8a66\u9a13\u7684\u306a\u69cb\u7bc9\u306a\u306e\u3067\u3001\u4ed6\u306e\u958b\u8a2d\u30b5\u30a4\u30c8\u3092\u53c2\u8003\u306b\u307b\u307c\u30b3\u30d4\u30da\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">root@hostname:~#<\/mark> su - dockerhome<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:~$ <\/mark>cd \/docker\/<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker$<\/mark> mkdir docker-nextcloud<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker$<\/mark> cd docker-nextcloud\/<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> touch docker-compose.yml<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> ls -l<br>total 0<br>-rw-rw-r-- 1 dockerhome dockerhome 0 Mar 09 14:22 docker-compose.yml<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> vi docker-compose.yml<br><br>version: '2'<br>volumes:<br>  nextcloud:<br>  db:<br><br>services:<br>  db:<br>    image: mariadb<br>    restart: always<br>    volumes:<br>      - db:\/var\/lib\/mysql<br>    environment:<br>      - MYSQL_DATABASE=nextcloud<br>      - MYSQL_ROOT_PASSWORD=<em>&lt;MySQL\u306eroot\u30e6\u30fc\u30b6\u30fc\u30d1\u30b9\u30ef\u30fc\u30c9&gt;<\/em><br>      - MYSQL_USER=<em>&lt;nextcloud\u304cMySQL\u306b\u63a5\u7d9a\u3059\u308b\u306e\u306b\u4f7f\u3046\u30e6\u30fc\u30b6\u30fc&gt;<\/em><br>      - MYSQL_PASSWORD=<em>&lt;nextcloud\u304cMySQL\u306b\u63a5\u7d9a\u3059\u308b\u306e\u306b\u4f7f\u3046\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9&gt;<\/em><br>  app:<br>    image: nextcloud<br>    ports:<br>      - 8080:80<br>    links:<br>      - db<br>    volumes:<br>      - nextcloud:\/var\/www\/html<br>    restart: always<\/pre>\n\n\n\n<p>\u3093\u30fc\u3002MySQL(\u4f7f\u3063\u3066\u3044\u308b\u306e\u306fmariadb\u3067\u3059\u304c)\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u90e8\u5206\u3001\u5e73\u6587\u3067\u66f8\u304f\u306e\u306f\u306a\u3041\u2026<br>\u8abf\u3079\u305f\u3068\u3053\u308d\u3001\u6697\u53f7\u5316\u3057\u305f\u6587\u5b57\u5217\u3092\u66f8\u3044\u3066\u306e\u5bfe\u5fdc\u306f\u3067\u304d\u306a\u3044\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<p>\u305d\u3093\u306a\u3053\u3068\u3057\u3066\u3044\u305f\u3089\u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8f09\u3057\u3066\u5bfe\u5fdc\u3068\u3044\u3046\u65b9\u6cd5\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u308c\u3092\u63a1\u7528\u3002<br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> vi docker-compose.yml\n\nversion: '2'\nvolumes:\n  nextcloud:\n  db:\n\nservices:\n  db:\n    image: mariadb\n    restart: always\n    volumes:\n      - db:\/var\/lib\/mysql\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">    env_file: .\/db_environment<\/mark>\u3000\u3000\u3000<strong>\u65b0\u3057\u304f\u8ffd\u52a0<\/strong>\n<s>    environment:\n      - MYSQL_DATABASE=nextcloud\n      - MYSQL_ROOT_PASSWORD=<em>&lt;MySQL\u306eroot\u30e6\u30fc\u30b6\u30fc\u30d1\u30b9\u30ef\u30fc\u30c9&gt;<\/em>\n      - MYSQL_USER=<em>&lt;nextcloud\u304cMySQL\u306b\u63a5\u7d9a\u3059\u308b\u306e\u306b\u4f7f\u3046\u30e6\u30fc\u30b6\u30fc&gt;<\/em>\n      - MYSQL_PASSWORD=<em>&lt;nextcloud\u304cMySQL\u306b\u63a5\u7d9a\u3059\u308b\u306e\u306b\u4f7f\u3046\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9&gt;<\/em>\n<\/s>  app:\n    image: nextcloud\n    ports:\n      - 8080:80\n    links:\n      - db\n    volumes:\n      - nextcloud:\/var\/www\/html\n    restart: always\n\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> vi .\/db_environment\nMYSQL_DATABASE=nextcloud\nMYSQL_ROOT_PASSWORD=<em>&lt;MySQL\u306eroot\u30e6\u30fc\u30b6\u30fc\u30d1\u30b9\u30ef\u30fc\u30c9&gt;<\/em>\nMYSQL_USER=<em>&lt;nextcloud\u304cMySQL\u306b\u63a5\u7d9a\u3059\u308b\u306e\u306b\u4f7f\u3046\u30e6\u30fc\u30b6\u30fc&gt;<\/em>\nMYSQL_PASSWORD=<em>&lt;nextcloud\u304cMySQL\u306b\u63a5\u7d9a\u3059\u308b\u306e\u306b\u4f7f\u3046\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9&gt;<\/em>\n<\/pre>\n\n\n\n<p>\u305d\u3057\u305f\u3089\u4ed6\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306f\u898b\u3048\u306a\u3044\u3088\u3046\u306b\u3001\u6a29\u9650\u3092\u8a2d\u5b9a\u3057\u3066\u3084\u308b\u3002<br>docker\u306e\u30b0\u30eb\u30fc\u30d7\u306b\u6240\u5c5e\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306b\u306f\u3082\u3061\u308d\u3093\u898b\u305b\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> <em>ls -l<\/em><br>total 8<br>-rw-rw-r-- 1 dockerhome dockerhome 101 Mar 09 15:06 db_environment<br>-rw-rw-r-- 1 dockerhome dockerhome 311 Mar 09 15:05 docker-compose.yml<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> <em>chmod 660 db_environment<\/em><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> <em>chown dockerhome:docker db_environment<\/em><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> <em>ls -l<\/em><br>total 8<br>-rw-rw---- 1 dockerhome docker     101 Mar 09 15:06 db_environment<br>-rw-rw-r-- 1 dockerhome dockerhome 311 Mar 09 15:05 docker-compose.yml<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">2-2.docker-compose\u3067\u8d77\u52d5<\/h2>\n\n\n\n<p>\u4e00\u5fdc\u3001\u591a\u5206\u3053\u308c\u3067\u8d77\u52d5\u3067\u304d\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u3055\u3063\u305d\u304f\u8d77\u52d5\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> <em>docker-compose up -d<\/em><br>Creating network \"docker-nextcloud_default\" with the default driver<br>Creating volume \"docker-nextcloud_nextcloud\" with default driver<br>Creating volume \"docker-nextcloud_db\" with default driver<br>Pulling db (mariadb:)\u2026<br>latest: Pulling from library\/mariadb<br>5a7813e071bf: Pull complete<br>bdecd990c29c: Pull complete<br>5db80086e4da: Pull complete<br>901fe9394c00: Pull complete<br>43eb19e1b102: Pull complete<br>597f7afe50fe: Pull complete<br>e1dede558384: Pull complete<br>5c3a22df929b: Pull complete<br>Digest: sha256:310d29fbb58169dcddb384b0ff138edb081e2773d6e2eceb976b3668089f2f84<br>Status: Downloaded newer image for mariadb:latest<br>Pulling app (nextcloud:)\u2026<br>latest: Pulling from library\/nextcloud<br>7cf63256a31a: Pull complete<br>02aa0bfe816b: Pull complete<br>8929067778be: Pull complete<br>063974348ccd: Pull complete<br>f26f1ad6e54d: Pull complete<br>a97035320663: Pull complete<br>55a6d997f013: Pull complete<br>be1b093a2245: Pull complete<br>3acaaa0d0c5b: Pull complete<br>0e837c2fac70: Pull complete<br>aecd72a519c7: Pull complete<br>7f47c5f800b7: Pull complete<br>1db31e85631a: Pull complete<br>4f4fb700ef54: Pull complete<br>42ffb375519b: Pull complete<br>56b2542f8972: Pull complete<br>dc86dbc9eb0c: Pull complete<br>e8a3ce8caaa9: Pull complete<br>d1850fc0598b: Pull complete<br>4869d8644676: Pull complete<br>ffdb8590adf5: Pull complete<br>e6866d2be3fe: Pull complete<br>Digest: sha256:32c9403b1b770141850ed999a3a0f20c8ff416d487278e531ae5d594e23d55d2<br>Status: Downloaded newer image for nextcloud:latest<br>Creating docker-nextcloud_db_1 \u2026 <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">done<\/mark><br>Creating docker-nextcloud_app_1 \u2026 <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">done<\/mark><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@malphas:\/docker\/docker-nextcloud$ <\/mark><em>docker-compose ps<\/em><br>         Name                       Command               State                  Ports<br>------------------------------------------------------------------------------------------------------<br>docker-nextcloud_app_1   \/entrypoint.sh apache2-for ...   Up      0.0.0.0:8080-&gt;80\/tcp,:::8080-&gt;80\/tcp<br>docker-nextcloud_db_1    docker-entrypoint.sh mariadbd    Up      3306\/tcp<br>dockerhome@malphas:\/docker\/docker-nextcloud$<\/pre>\n\n\n\n<p>\u304a\u3001\u3046\u307e\u304f\u3044\u3063\u305f\u3089\u3057\u3044\u3002<br>\u3093\uff1f\u3053\u308c\u3001\u3088\u304f\u898b\u308b\u3068http\u306a\u306e\u304b\u3002docker-compose.yml\u306e\u6642\u70b9\u3067\u6c17\u3065\u3044\u3066\u3044\u308c\u3070\u3088\u304b\u3063\u305f\u2026<br>\u5225\u9014https\u5bfe\u5fdc\u306f\u8003\u3048\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">3.nextcloud\u306b\u63a5\u7d9a<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">3-1.\u521d\u671f\u8a2d\u5b9a<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"810\" src=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-2.png\" alt=\"\" class=\"wp-image-264\" style=\"width:213px;height:auto\" srcset=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-2.png 360w, https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-2-133x300.png 133w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/figure>\n<\/div>\n\n\n<p>\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u63a5\u7d9a(http:\/\/hostname:8080)\u3057\u3066\u307f\u307e\u3059\u3002<br>\u3059\u308b\u3068\u5de6\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u8a2d\u5b9a\u5024\u3092\u8a18\u5165\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes has-small-font-size\"><table><thead><tr><th>\u8a2d\u5b9a\u9805\u76ee<\/th><th>\u8a2d\u5b9a\u5024<\/th><\/tr><\/thead><tbody><tr><td>\u65b0\u3057\u3044\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8<\/td><td>\u65b0\u898f\u306b\u8a2d\u5b9a<\/td><\/tr><tr><td>\u65b0\u3057\u3044\u7ba1\u7406\u8005\u30d1\u30b9\u30ef\u30fc\u30c9<\/td><td>\u65b0\u898f\u306b\u8a2d\u5b9a<\/td><\/tr><tr><td>\u30c7\u30fc\u30bf\u30d5\u30a9\u30eb\u30c0\u30fc<\/td><td>\/var\/www\/html\/data(\u30c7\u30d5\u30a9\u30eb\u30c8\u5024)<\/td><\/tr><tr><td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044<\/td><td>MySQL\/MariaDB<\/td><\/tr><tr><td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8<\/td><td>2-1\u3067db_environment\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u3044\u305fMYSQL_USER<\/td><\/tr><tr><td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30b9\u30ef\u30fc\u30c9<\/td><td>2-1\u3067db_environment\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u3044\u305fMYSQL_PASSWORD<\/td><\/tr><tr><td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d<\/td><td>2-1\u3067db_environment\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u3044\u305fMYSQL_DATABASE<\/td><\/tr><tr><td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30db\u30b9\u30c8\u540d<\/td><td>localhost:3306<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3093\uff1f<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"308\" height=\"249\" src=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-3.png\" alt=\"\" class=\"wp-image-267\" srcset=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-3.png 308w, https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-3-300x243.png 300w\" sizes=\"auto, (max-width: 308px) 100vw, 308px\" \/><\/figure>\n\n\n\n<p>\u5148\u306e\u5165\u529b\u753b\u9762\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u9078\u629e\u3067[MySQL\/MariaDB]\u304c\u9078\u629e\u3057\u305f\u3064\u3082\u308a\u306a\u306e\u3067\u3059\u304c\u2026\u306a\u305c\uff1f<br>\u3068\u308a\u3042\u3048\u305a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u9032\u3081\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"332\" height=\"168\" src=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-4.png\" alt=\"\" class=\"wp-image-268\" srcset=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-4.png 332w, https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-4-300x152.png 300w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/figure>\n\n\n\n<p>\u3093\uff1f\u306a\u305c\u3060\uff1f<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3-2.\u8abf\u67fb<\/h2>\n\n\n\n<p>\u554f\u984c\u306e\u5207\u308a\u5206\u3051\u3092\u3057\u3066\u3044\u304f\u306e\u306b\u3001MariaDB\u5074\u304bnextcloud\u5074\u304b\u5207\u308a\u5206\u3051\u3066\u307f\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3-2-1.MariaDB\u306e\u63a5\u7d9a\u78ba\u8a8d<\/h3>\n\n\n\n<p>\u305d\u3082\u305d\u3082\u3064\u306a\u304c\u308b\u304b\u3092\u78ba\u8a8d\u3002<br>\u78ba\u8a8d\u306b\u306f\u5916\u304b\u3089\u3064\u3064\u3044\u3066\u3082\u3088\u3044\u306e\u3067\u3059\u304c\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u306b\u5165\u3063\u3066\u63a5\u7d9a\u3057\u3066\u307f\u307e\u3059\u3002<br>\u307e\u305a\u306f\u30b3\u30f3\u30c6\u30caID\u3092\u78ba\u8a8d\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> <em>docker ps<\/em><br>CONTAINER ID   IMAGE       COMMAND                  CREATED          STATUS          PORTS                                   NAMES<br>eea1807fbd20   nextcloud   \"\/entrypoint.sh apac\u2026\"   52 minutes ago   Up 17 minutes   0.0.0.0:8080-&gt;80\/tcp, :::8080-&gt;80\/tcp   docker-nextcloud_app_1<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">10ee13408f19<\/mark>   mariadb     \"docker-entrypoint.s\u2026\"   53 minutes ago   Up 17 minutes   3306\/tcp                                docker-nextcloud_db_1<\/pre>\n\n\n\n<p>mariadb\u306e\u30b3\u30f3\u30c6\u30caID\u304c\u5206\u304b\u3063\u305f\u306e\u3067\u3001<code>docker exec<\/code>\u3067\u5165\u3063\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">dockerhome@hostname:\/docker\/docker-nextcloud$<\/mark> <em>docker exec -i -t 10ee13408f19 \/bin\/sh<\/em><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">#<\/mark> <\/pre>\n\n\n\n<p>\u307e\u305a\u306f\u3001nextcloud\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u8a2d\u5b9a\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u3067\u78ba\u8a8d\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">#<\/mark> <em>mariadb -u &lt;nextcloud\u306eDB\u63a5\u7d9a\u30e6\u30fc\u30b6\u30fc&gt; -p -h localhost &lt;nextcloud\u3067\u5229\u7528\u3059\u308bDB\u540d&gt;<\/em><br>Enter password:<br>Welcome to the MariaDB monitor.  Commands end with ; or \\g.<br>Your MariaDB connection id is 6<br>Server version: 11.7.2-MariaDB-ubu2404 mariadb.org binary distribution<br><br>Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.<br><br>Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.<br><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">MariaDB [nextcloud]&gt;<\/mark> <em>\\q<\/em><br>Bye<\/pre>\n\n\n\n<p>\u554f\u984c\u306a\u3057\u3002<br>\u3067\u306f\u3001MySQL\u306eroot\u30e6\u30fc\u30b6\u30fc\u3067\u78ba\u8a8d\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\"><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">#<\/mark> <em>mariadb -u root -p -h localhost <em>&lt;nextcloud\u3067\u5229\u7528\u3059\u308bDB\u540d&gt;<\/em><\/em><br>Enter password:<br>Welcome to the MariaDB monitor.  Commands end with ; or \\g.<br>Your MariaDB connection id is 7<br>Server version: 11.7.2-MariaDB-ubu2404 mariadb.org binary distribution<br><br>Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.<br><br>Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.<br><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">MariaDB [nextcloud]&gt;<\/mark><em> \\q<\/em><br>Bye<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">#<\/mark> <em>exit<\/em><\/pre>\n\n\n\n<p>\u3053\u3061\u3089\u3082\u7121\u4e8b\u63a5\u7d9a\u3067\u304d\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3002<br>\u3069\u3046\u306b\u3082DB\u5074\u306e\u554f\u984c\u3067\u306f\u306a\u3055\u305d\u3046\u2026\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3-2-2.nextcloud\u5074\u306e\u78ba\u8a8d<\/h3>\n\n\n\n<p>http\u3067\u63a5\u7d9a\u3067\u304d\u3066\u3044\u308b\u6642\u70b9\u3067\u3001Web\u30a2\u30d7\u30ea\u5074\u306e\u8d77\u52d5\u81ea\u4f53\u306f\u554f\u984c\u306a\u3055\u305d\u3046\u3002<br>\u3068\u601d\u3063\u3066\u65b0\u3057\u3044\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u8a66\u3057\u306b&#8221;nextcloud&#8221;\u306b\u3057\u3066\u3001\u4ee5\u4e0b\u753b\u9762\u306e\u8d64\u4e38\u90e8\u5206\u89e6\u3063\u305f\u3089\u3001\u306a\u305c\u304b\u88cf\u3067\u51e6\u7406\u304c\u56de\u308a\u59cb\u3081\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u3066\u3057\u307e\u3063\u305f\u2026\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"339\" height=\"204\" src=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-1.png\" alt=\"\" class=\"wp-image-273\" srcset=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-1.png 339w, https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-1-300x181.png 300w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/figure>\n\n\n\n<p>\u306a\u305c\u3060\uff1f<br>\u7591\u554f\u304c\u5c3d\u304d\u306a\u3044\u2026\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306f\u3068\u3063\u3066\u3042\u308b\u306e\u3067\u3001\u5225\u3067\u3061\u3087\u3063\u3068\u691c\u8a3c\u3057\u3088\u3046\u2026<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u63a8\u5968\u30a2\u30d7\u30ea\u306e\u5c0e\u5165\u3002<br>\u4eca\u56de\u306f\u304a\u8a66\u3057\u306a\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u5168\u90e8\u5165\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"611\" src=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-5.png\" alt=\"\" class=\"wp-image-279\" style=\"width:478px;height:auto\" srcset=\"https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-5.png 679w, https:\/\/www.inpetas.jp\/wp-content\/uploads\/2025\/03\/image-5-300x270.png 300w\" sizes=\"auto, (max-width: 679px) 100vw, 679px\" \/><\/figure>\n\n\n\n<p>\u3042\u308c\uff1f<br>\u3053\u308c\u3060\u3051\uff1f\u3061\u3087\u3063\u3068\u62cd\u5b50\u629c\u3051\u3057\u307e\u3057\u305f\u3002\u306a\u3093\u304b\u3082\u3063\u3068\u3053\u3046\u3001\u8272\u3005\u521d\u671f\u8a2d\u5b9a\u304c\u3042\u308b\u306e\u304b\u3068\u8eab\u69cb\u3048\u3066\u3044\u305f\u3070\u304b\u308a\u306b\u3002<\/p>\n\n\n\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u7d30\u304b\u3044\u8a2d\u5b9a\u306f\u5225\u9014\u8a70\u3081\u3066\u3084\u3063\u3066\u307f\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u53c2\u8003<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/blog.future.ad.jp\/%E3%81%A8%E3%82%8A%E3%81%82%E3%81%88%E3%81%9A%E4%BD%95%E3%81%8B%E5%8B%95%E3%81%8B%E3%81%97%E3%81%9F%E3%81%84%E4%BA%BA%E5%90%91%E3%81%91%E3%82%B5%E3%83%BC%E3%83%90%E5%AD%A6%E7%BF%92%E3%83%96%E3%83%AD%E3%82%B0\">https:\/\/blog.future.ad.jp\/%E3%81%A8%E3%82%8A%E3%81%82%E3%81%88%E3%81%9A%E4%BD%95%E3%81%8B%E5%8B%95%E3%81%8B%E3%81%97%E3%81%9F%E3%81%84%E4%BA%BA%E5%90%91%E3%81%91%E3%82%B5%E3%83%BC%E3%83%90%E5%AD%A6%E7%BF%92%E3%83%96%E3%83%AD%E3%82%B0<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/qiita.com\/atom00\/items\/a12c994ad18ea7afc43c\">https:\/\/qiita.com\/atom00\/items\/a12c994ad18ea7afc43c<\/a><\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5bb6\u5ead\u5185\u5916\u3067\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u3068\u3057\u3066\u3001nextcloud\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u307f\u3088\u3046\u304b\u3068\u601d\u3044\u7acb\u3061\u3001\u5bb6\u306e\u5916\u304b\u3089\u3069\u3046\u3059\u308b\u304b\u306f\u5225\u9014\u8003\u3048\u308b\u3053\u3068\u3068\u3057\u3066\u3001\u74b0\u5883\u3092\u3056\u3063\u304f\u308a\u4f5c\u3063\u3066\u884c\u304d\u307e\u3059\u3002\u53ef\u80fd&#8230; <a href=\"https:\/\/www.inpetas.jp\/?p=256\" class=\"readmore\">\u7d9a\u304d\u3092\u8aad\u3080<span class=\"screen-reader-text\">nextcloud\u306b\u624b\u3092\u51fa\u3057\u3066\u307f\u3088\u3046<\/span><span class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,8],"tags":[30],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-homeserver","category-diary","tag-nextcloud","content-layout-excerpt-thumb"],"_links":{"self":[{"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=256"}],"version-history":[{"count":19,"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":323,"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=\/wp\/v2\/posts\/256\/revisions\/323"}],"wp:attachment":[{"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inpetas.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}