{"id":223,"date":"2023-01-25T17:47:20","date_gmt":"2023-01-25T08:47:20","guid":{"rendered":"https:\/\/origin.intinfinity.com\/?p=223"},"modified":"2023-04-23T16:24:13","modified_gmt":"2023-04-23T07:24:13","slug":"nextcloud%e3%81%ae%e5%b0%8e%e5%85%a5ubuntu-nginxhttp-2-mariadb-php8-1-apcu-redis","status":"publish","type":"post","link":"https:\/\/intinfinity.com\/index.php\/archives\/223","title":{"rendered":"Nextcloud\u306e\u5c0e\u5165(Ubuntu nginx(http\/2) mariadb php8.1 apcu redis)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u80cc\u666f<\/h2>\n\n\n\n<p>\u79c1\u304c\u304a\u4e16\u8a71\u306b\u306a\u3063\u3066\u3044\u308b\u67d0\u30b5\u30fc\u30af\u30eb\u306b\u304a\u3044\u3066\u3001\u30b5\u30fc\u30af\u30eb\u30e1\u30f3\u30d0\u30fc\u9593\u306b\u304a\u3044\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u5171\u6709\u3059\u308b\u305f\u3081\u306bDropbox\u3092\u4f7f\u3063\u3066\u3044\u305f\u305d\u3046\u3002\u305f\u3060\u3001\u5bb9\u91cf\u304c\u4e0d\u8db3\u3057\u305f\u3068\u306e\u3053\u3068\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u7f6e\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u5171\u6709\u3059\u308b\u3068\u3044\u3046\u9078\u629e\u3092\u3057\u305f\u305d\u3046\u3002\u5f53\u521d\u306fSamba\u3092\u4f7f\u3063\u3066\u3044\u305f\u304c\u3001\u3082\u3061\u308d\u3093\u30b5\u30fc\u30af\u30eb\u30e1\u30f3\u30d0\u30fc\u306f\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5916\u306b\u3082\u3044\u308b\u3002SMB\u3092\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u76f4\u63a5\u6652\u3059\u306e\u306f\u975e\u5e38\u306b\u5371\u967a\u306a\u306e\u306f\u627f\u77e5\u3067\u3001fail2ban\u4f7f\u3063\u3066\u3042\u308b\u7a0b\u5ea6\u4e0d\u8981\u306a\u63a5\u7d9a\u3092\u62d2\u5426\u3057\u3066\u904b\u7528\u3057\u3066\u3044\u305f\u3002\u305f\u3060\u3001\u3069\u3046\u3082\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3088\u3063\u3066\u306fTCP445\u5411\u3051\u306e\u901a\u4fe1\u3092\u62d2\u5426\u3059\u308b\u3088\u3046\u3002\u3053\u308c\u81ea\u4f53\u306f\u7d0d\u5f97\u306e\u51e6\u7f6e\u3067\u306f\u3042\u308b\u306e\u3067\u3001TCP Port 445\u306eSMB\u3092\u4f7f\u308f\u305a\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u5171\u6709\u3059\u308b\u65b9\u6cd5\u3092\u63a2\u3059\u5fc5\u8981\u304c\u3042\u3063\u305f\u3002<br>\u203b\u3069\u3046\u3057\u3066\u3082\u63a5\u7d9a\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001sftp\u3092\u4f7f\u3063\u3066\u3044\u305f\u304c\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\u4e0a\u76f8\u6027\u304c\u60aa\u304f\u3001\u4f7f\u3044\u306b\u304f\u3044\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u305f\u3002<\/p>\n\n\n\n<p>\u805e\u304f\u3068\u3053\u308d\u306b\u3088\u308b\u3068\u3001<a rel=\"noreferrer noopener\" href=\"https:\/\/learn.microsoft.com\/ja-jp\/windows-server\/storage\/file-server\/smb-over-quic\" target=\"_blank\">SMB over QUIC<\/a>\u3068\u3044\u3046\u30d7\u30ed\u30c8\u30b3\u30eb\u304c\u4e00\u90e8\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u3068\u306e\u3053\u3068\u3002\u540d\u306e\u901a\u308aSMB\u3092QUIC\u3092\u4f7f\u3063\u3066\u5b9f\u73fe\u3059\u308b\u5b9f\u88c5\u3002<a rel=\"noreferrer noopener\" href=\"https:\/\/ja.wikipedia.org\/wiki\/QUIC\" target=\"_blank\">QUIC<\/a>\u3068\u3044\u3046\u306e\u306f\u3001UDP\u3068TLS\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u308f\u308c\u308b\u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u5c64\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3002http\/3\u306e\u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u5c64\u3068\u3057\u3066\u4f7f\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u304b\u3089\u3082\u30b0\u30ed\u30fc\u30d0\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3078\u306e\u63a5\u7d9a\u306b\u5bfe\u3057\u3066\u3082\u554f\u984c\u306a\u3055\u305d\u3046\u3002<br>\u305f\u3060\u3001\u3053\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u304cSamba\u306b\u5b9f\u88c5\u3055\u308c\u3066\u5229\u7528\u3067\u304d\u308b\u306e\u306f\u307e\u3060\u5148\u306b\u306a\u308a\u305d\u3046\u306a\u306e\u3068\u3001\u30b5\u30fc\u30af\u30eb\u30e1\u30f3\u30d0\u30fc\u306e\u591a\u304f\u306fWindows10\u3092\u4f7f\u3063\u3066\u304a\u308a\u3001\u57f7\u7b46\u6642\u70b9\u306b\u304a\u3044\u3066\u5229\u7528\u3067\u304d\u306a\u3055\u305d\u3046\u3002<\/p>\n\n\n\n<p>\u305d\u3053\u3067\u3044\u304f\u3064\u304b\u306e\u30d5\u30a1\u30a4\u30eb\u5171\u6709\u30b5\u30fc\u30d3\u30b9\u3092\u63a2\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u8868\u984c\u306eNextcloud\u306b\u51fa\u4f1a\u3063\u305f\u3002https(http)\u306e\u4e0a\u3067\u5b9f\u73fe\u3055\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308a\u3001SMB\u306e\u3088\u3046\u306a\u5c02\u7528\u306e\u901a\u4fe1\u304c\u4e0d\u8981\u3002P2P\u3067\u3082\u306a\u3044\u306e\u3067\u3001\u5927\u5b66\u306a\u3069P2P\u7981\u6b62\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304b\u3089\u306e\u63a5\u7d9a\u306b\u3082\u5341\u5206\u5bfe\u5fdc\u53ef\u80fd\u3002\u3088\u3055\u305d\u3046\u306a\u306e\u3067\u5c0e\u5165\u3057\u3066\u307f\u308b\u3002<\/p>\n\n\n\n<p>\u5e73\u6587http\u3067\u306e\u901a\u4fe1\u306f\u884c\u308f\u306a\u3044\u3088\u3046\u306b\u69cb\u6210\u3059\u308b\u3002TCP Port 80\u306fLet's encrypt\u306eHTTP-01\u30c1\u30e3\u30ec\u30f3\u30b8\u5c02\u7528\u3068\u3057\u3001TCP Port 443\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8(\u53c2\u8003\u8cc7\u6599)<\/h2>\n\n\n\n<p>\u82f1\u8a9e\u306e\u307f\u3067\u306f\u3042\u308b\u304c\u3001\u3057\u3063\u304b\u308a\u3068\u3057\u305f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.nextcloud.com\/\">Nextcloud Documentation<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6ce8\u610f\u4e8b\u9805(\u8ffd\u4f38)<\/h2>\n\n\n\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f Nextcloud 25\u7cfb \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002\u6700\u65b0\u7248\u3067\u306f\u3053\u306e\u5185\u5bb9\u3067\u306f\u4e0d\u5341\u5206\u306a\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7528\u610f\u3059\u308b\u3082\u306e<\/h2>\n\n\n\n<p>https\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u3001Let's Encrypt\u306e\u8a3c\u660e\u66f8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002DDNS\u3067\u3082\u591a\u304f\u306e\u5834\u5408\u306f\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b5\u30fc\u30d0\u30fc\u30de\u30b7\u30f3<\/li>\n\n\n\n<li>\u30c9\u30e1\u30a4\u30f3<\/li>\n\n\n\n<li>\u30b0\u30ed\u30fc\u30d0\u30ebIP\u30a2\u30c9\u30ec\u30b9 \u30dd\u30fc\u30c8443\u300180<\/li>\n<\/ul>\n\n\n\n<p>\u5b8c\u5168\u306b\u30c9\u30e1\u30a4\u30f3\u306e\u7ba1\u7406\u4e0b\u3067\u3042\u308b\u5834\u5408\u306fDNS-01\u8a8d\u8a3c\u304c\u5229\u7528\u3067\u304d\u308b\u306e\u3067\u3001TCP Port 80\u306f\u306a\u304f\u3066\u3082\u826f\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30fc\u30d0\u30fcOS\u9078\u5b9a (Ubuntu Server 22.04 LTS)<\/h2>\n\n\n\n<p>Nextcloud\u306fWeb\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u52d5\u304f\u30b5\u30fc\u30d3\u30b9\u306e\u305f\u3081\u3001\u30b5\u30fc\u30d3\u30b9\u3092\u52d5\u304b\u3059\u305f\u3081\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3092\u52d5\u304b\u3059\u305f\u3081\u306eOS\u3092\u9078\u5b9a\u3059\u308b\u3002\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u306f\u3001Example installation\u3068\u3057\u3066\u4e0b\u8a18\u306eOS\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ubuntu 22.04 LTS<a href=\"https:\/\/docs.nextcloud.com\/server\/stable\/admin_manual\/installation\/example_ubuntu.html#example-installation-on-ubuntu-22-04-lts\"><\/a><\/li>\n\n\n\n<li>CentOS 8<\/li>\n\n\n\n<li>OpenBSD<\/li>\n<\/ul>\n\n\n\n<p>\u79c1\u306f\u4ee5\u524dUbuntu Server\u3092\u4f7f\u3063\u3066\u3044\u305f\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001\u4eca\u56de\u306fUbuntu Server 22.04 LTS\u3092\u9078\u5b9a\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u5c11\u3005\u9038\u308c\u308b\u304c\u3001\u9078\u5b9a\u3057\u305f\u30cf\u30fc\u30c9\u304c\u53e4\u304f\u3001Ubuntu Server \u306e live\u7248 \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3082\u3001BIOS\u304cOS\u3092\u898b\u3064\u3051\u3089\u308c\u305a\u8d77\u52d5\u3067\u304d\u306a\u304b\u3063\u305f\u3002\u9069\u5207\u306a\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u69cb\u6210\u3067\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002Live\u7248\u3067\u306f\u306a\u3044<a rel=\"noreferrer noopener\" href=\"http:\/\/cdimage.ubuntu.com\/releases\/18.04\/release\/\" target=\"_blank\">\u65e7\u5f0f\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc<\/a>\u304c\u5229\u7528\u3067\u304d\u308b\u6700\u5f8c\u306e\u30d0\u30fc\u30b8\u30e7\u30f318.04\u304b\u308920.04\u3092\u7d4c\u7531\u3057\u306622.04\u307e\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30fc\u306fmdadm\u3092\u4f7f\u7528\u3057\u3066\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2RAID1(2TB\u00d72)\u3067\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u305f\u3002<br>\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3092\u4e21\u65b9\u306e\u30c7\u30a3\u30b9\u30af\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u7247\u65b9\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u304b\u3089\u3067\u3082\u30d6\u30fc\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u69cb\u6210\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Web\u30b5\u30fc\u30d0\u30fc\u9078\u5b9a (nginx)<\/h2>\n\n\n\n<p>\u516c\u5f0f\u306b\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u306e\u304cApache 2.x\u306e\u307f\u3067\u3001<a rel=\"noreferrer noopener\" href=\"https:\/\/docs.nextcloud.com\/server\/stable\/admin_manual\/installation\/source_installation.html\" target=\"_blank\">\u305d\u308c\u4ee5\u5916\u306eWeb\u30b5\u30fc\u30d0\u30fc\u306f\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044<\/a>\u3068\u660e\u8a18\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u500b\u4eba\u7684\u306bApache2\u3092\u4f7f\u3046\u30e1\u30ea\u30c3\u30c8\u306fphp_module\u304c\u4f7f\u3048\u308b\u3053\u3068\u3060\u3068\u601d\u3063\u3066\u3044\u308b\u304c\u3001Apache2\u3092http\/2\u3067\u4f7f\u3046\u3068php_module\u306f\u4f7f\u3048\u305aphp-fpm\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u305d\u3046\u306a\u308b\u3068\u305f\u3060\u91cd\u3044(\u504f\u898b)Web\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u306a\u304f\u3001\u3055\u3089\u306b\u4eca\u56de\u4f7f\u7528\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u306f\u8a08\u7b97\u80fd\u529b\u304c\u8ca7\u5f31\u306a\u305f\u3081\u3001\u306a\u308b\u3079\u304f\u8efd\u3044Web\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u305f\u3044\u3068\u8003\u3048\u305f\u3002<\/p>\n\n\n\n<p>nginx\u306e\u8a2d\u5b9a\u304c\u6709\u5fd7\u306b\u3088\u308a\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5411\u3051\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u3066\u3001\u8a2d\u5b9a\u3057\u304d\u308b\u81ea\u4fe1\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u4eca\u56de\u306fnginx\u3092\u9078\u5b9a\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d1\u30c3\u30b1\u30fc\u30b8\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>OS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3001ssh\u306a\u3069\u7ba1\u7406\u7cfb\u306e\u74b0\u5883\u304c\u6574\u3063\u305f\u524d\u63d0\u304b\u3089\u66f8\u304d\u59cb\u3081\u308b\u3002<br>OS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u76f4\u5f8c\u3092\u60f3\u5b9a\u3057\u3066\u304a\u308a\u3001\u65e2\u306b\u307b\u304b\u306eWeb\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u53c2\u8003\u7a0b\u5ea6\u306b\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4ee5\u4e0b\u306e\u901a\u308a<\/p>\n\n\n\n<p>Let's Encrypt ACME \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3001Web\u30b5\u30fc\u30d0\u30fc\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3001php8.1\u3001redis<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install certbot nginx mariadb-server php-fpm redis-server php-gd php-mysql php-curl php-mbstring php-intl php-gmp php-bcmath php-xml php-zip php-apcu php-redis<\/code><\/pre>\n\n\n\n<p>\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f php-imagick \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u304c\u3001\u81f4\u547d\u7684\u306a\u8106\u5f31\u6027\u304c\u3061\u3087\u304f\u3061\u3087\u304f\u898b\u3064\u304b\u3063\u3066\u304a\u308a\u3001Nextcloud\u306b\u304a\u3044\u3066\u512a\u5148\u5ea6\u304c\u4f4e\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3042\u308b\u3053\u3068\u304b\u3089\u3001snap\u7248\u3067\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u3002\u306a\u306e\u3067\u3001\u4eca\u56de\u306fsnap\u7248\u306b\u5023\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u3044\u3053\u3068\u306b\u3059\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TCP Port 80\u306eListen\u505c\u6b62<\/h2>\n\n\n\n<p>TCP Port 80 \u306f\u8a3c\u660e\u66f8\u767a\u884c\u3059\u308b\u305f\u3081\u306eHTTP-01\u5c02\u7528\u306b\u3059\u308b\u3002nginx\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4f7f\u7528\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u9069\u7528\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo rm \/etc\/nginx\/sites-enabled\/default\nsudo systemctl restart nginx<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a3c\u660e\u66f8\u767a\u884c<\/h2>\n\n\n\n<p>Let's Encrypt \u306e\u8a3c\u660e\u66f8\u3092\u767a\u884c\u3057\u307e\u3059\u3002<br>cloud.example.com\u306e\u3068\u3053\u308d\u306b\u306f\u3001\u7528\u610f\u3057\u305f\u30c9\u30e1\u30a4\u30f3\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot certonly --standalone -d cloud.example.com<\/code><\/pre>\n\n\n\n<p>\u8a3c\u660e\u66f8\u304c\u66f4\u65b0\u3055\u308c\u305f\u3068\u304d\u306b\u3001nginx\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre id=\"block-03ec6368-d0bc-4a1c-ba7b-f387b34a1c01\" class=\"wp-block-code\"><code>sudo vi \/etc\/letsencrypt\/renewal-hooks\/post\/nginx.sh<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\nsystemctl restart nginx\nsudo chmod +x \/etc\/letsencrypt\/renewal-hooks\/post\/nginx.sh<\/code><\/pre>\n\n\n\n<p>cron\u3067\u8a3c\u660e\u66f8\u3092\u81ea\u52d5\u66f4\u65b0\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002Let's Encrypt\u306e\u8a3c\u660e\u66f8\u306f90\u65e5\u9593\u6709\u52b9\u306a\u306e\u3067\u3001\u6708\u306b1\u56de\u304f\u3089\u3044\u5b9f\u884c\u3057\u3066\u3042\u308c\u3070\u5341\u5206\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vi \/etc\/crontab<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>44 5 15 * * root certbot renew<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<p>Nextcloud\u3067\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mysql<\/code><\/pre>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4e0b\u8a18\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br>username\u3068password\u306f\u3001\u5404\u81ea\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';\nCREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;\nGRANT ALL PRIVILEGES ON nextcloud.* TO 'username'@'localhost';\nFLUSH PRIVILEGES;\nquit;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Web\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<p>nginx\u306econfig\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>cloud.example.com\u306e\u90e8\u5206\u306f\u3001\u7528\u610f\u3057\u305f\u30c9\u30e1\u30a4\u30f3\u540d\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>php8.1\u306e\u90e8\u5206\u306f\u3001\u5404\u81ea\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br>TLSv1.3\u306e\u307f\u306e\u63a5\u7d9a\u306b\u3059\u308b\u3053\u3068\u3067\u30bb\u30ad\u30e5\u30a2\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u53e4\u3044\u7aef\u672b\u306f\u63a5\u7d9a\u3067\u304d\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vi \/etc\/nginx\/sites-available\/nextcloud<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>upstream php-handler {\n    #server 127.0.0.1:9000;\n    server unix:\/var\/run\/php\/php8.1-fpm.sock;\n}\n\n# Set the `immutable` cache control options only for assets with a cache busting `v` argument\nmap $arg_v $asset_immutable {\n    \"\" \"\";\n    default \"immutable\";\n}\n\nserver {\n    listen 443      ssl http2;\n    listen &#91;::]:443 ssl http2;\n    server_name cloud.example.com;\n\n    # Path to the root of your installation\n    root \/var\/www\/nextcloud;\n\n    # Use Mozilla's guidelines for SSL\/TLS settings\n    # https:\/\/mozilla.github.io\/server-side-tls\/ssl-config-generator\/\n    ssl_certificate     \/etc\/letsencrypt\/live\/cloud.example.com\/fullchain.pem;\n    ssl_certificate_key \/etc\/letsencrypt\/live\/cloud.example.com\/privkey.pem;\n\n    ssl_protocols TLSv1.3;\n    ssl_prefer_server_ciphers on;\n\n    # Prevent nginx HTTP Server Detection\n    server_tokens off;\n\n    # HSTS settings\n    # WARNING: Only add the preload option once you read about\n    # the consequences in https:\/\/hstspreload.org\/. This option\n    # will add the domain to a hardcoded list that is shipped\n    # in all major browsers and getting removed from this list\n    # could take several months.\n    add_header Strict-Transport-Security \"max-age=15768000; includeSubDomains; preload\" always;\n\n    # set max upload size and increase upload timeout:\n    client_max_body_size 512M;\n    client_body_timeout 300s;\n    fastcgi_buffers 64 4K;\n\n    # Enable gzip but do not remove ETag headers\n    gzip on;\n    gzip_vary on;\n    gzip_comp_level 4;\n    gzip_min_length 256;\n    gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;\n    gzip_types application\/atom+xml application\/javascript application\/json application\/ld+json application\/manifest+json application\/rss+xml application\/vnd.geo+json application\/vnd.ms-fontobject application\/wasm application\/x-font-ttf application\/x-web-app-manifest+json application\/xhtml+xml application\/xml font\/opentype image\/bmp image\/svg+xml image\/x-icon text\/cache-manifest text\/css text\/plain text\/vcard text\/vnd.rim.location.xloc text\/vtt text\/x-component text\/x-cross-domain-policy;\n\n    # Pagespeed is not supported by Nextcloud, so if your server is built\n    # with the `ngx_pagespeed` module, uncomment this line to disable it.\n    #pagespeed off;\n\n    # The settings allows you to optimize the HTTP2 bandwitdth.\n    # See https:\/\/blog.cloudflare.com\/delivering-http-2-upload-speed-improvements\/\n    # for tunning hints\n    client_body_buffer_size 512k;\n\n    # HTTP response headers borrowed from Nextcloud `.htaccess`\n    add_header Referrer-Policy                      \"no-referrer\"   always;\n    add_header X-Content-Type-Options               \"nosniff\"       always;\n    add_header X-Download-Options                   \"noopen\"        always;\n    add_header X-Frame-Options                      \"SAMEORIGIN\"    always;\n    add_header X-Permitted-Cross-Domain-Policies    \"none\"          always;\n    add_header X-Robots-Tag                         \"none\"          always;\n    add_header X-XSS-Protection                     \"1; mode=block\" always;\n\n    # Remove X-Powered-By, which is an information leak\n    fastcgi_hide_header X-Powered-By;\n\n    # Specify how to handle directories -- specifying `\/index.php$request_uri`\n    # here as the fallback means that Nginx always exhibits the desired behaviour\n    # when a client requests a path that corresponds to a directory that exists\n    # on the server. In particular, if that directory contains an index.php file,\n    # that file is correctly served; if it doesn't, then the request is passed to\n    # the front-end controller. This consistent behaviour means that we don't need\n    # to specify custom rules for certain paths (e.g. images and other assets,\n    # `\/updater`, `\/ocm-provider`, `\/ocs-provider`), and thus\n    # `try_files $uri $uri\/ \/index.php$request_uri`\n    # always provides the desired behaviour.\n    index index.php index.html \/index.php$request_uri;\n\n    # Rule borrowed from `.htaccess` to handle Microsoft DAV clients\n    location = \/ {\n        if ( $http_user_agent ~ ^DavClnt ) {\n            return 302 \/remote.php\/webdav\/$is_args$args;\n        }\n    }\n\n    location = \/robots.txt {\n        allow all;\n        log_not_found off;\n        access_log off;\n    }\n\n    # Make a regex exception for `\/.well-known` so that clients can still\n    # access it despite the existence of the regex rule\n    # `location ~ \/(\\.|autotest|...)` which would otherwise handle requests\n    # for `\/.well-known`.\n    location ^~ \/.well-known {\n        # The rules in this block are an adaptation of the rules\n        # in `.htaccess` that concern `\/.well-known`.\n\n        location = \/.well-known\/carddav { return 301 \/remote.php\/dav\/; }\n        location = \/.well-known\/caldav  { return 301 \/remote.php\/dav\/; }\n\n        location \/.well-known\/acme-challenge    { try_files $uri $uri\/ =404; }\n        location \/.well-known\/pki-validation    { try_files $uri $uri\/ =404; }\n\n        # Let Nextcloud's API for `\/.well-known` URIs handle all other\n        # requests by passing them to the front-end controller.\n        return 301 \/index.php$request_uri;\n    }\n\n    # Rules borrowed from `.htaccess` to hide certain paths from clients\n    location ~ ^\/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|\/)  { return 404; }\n    location ~ ^\/(?:\\.|autotest|occ|issue|indie|db_|console)                { return 404; }\n\n    # Ensure this block, which passes PHP files to the PHP process, is above the blocks\n    # which handle static assets (as seen below). If this block is not declared first,\n    # then Nginx will encounter an infinite rewriting loop when it prepends `\/index.php`\n    # to the URI, resulting in a HTTP 500 error response.\n    location ~ \\.php(?:$|\/) {\n        # Required for legacy support\n        rewrite ^\/(?!index|remote|public|cron|core\\\/ajax\\\/update|status|ocs\\\/v&#91;12]|updater\\\/.+|oc&#91;ms]-provider\\\/.+|.+\\\/richdocumentscode\\\/proxy) \/index.php$request_uri;\n\n        fastcgi_split_path_info ^(.+?\\.php)(\/.*)$;\n        set $path_info $fastcgi_path_info;\n\n        try_files $fastcgi_script_name =404;\n\n        include fastcgi_params;\n        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n        fastcgi_param PATH_INFO $path_info;\n        fastcgi_param HTTPS on;\n\n        fastcgi_param modHeadersAvailable true;         # Avoid sending the security headers twice\n        fastcgi_param front_controller_active true;     # Enable pretty urls\n        fastcgi_pass php-handler;\n\n        fastcgi_intercept_errors on;\n        fastcgi_request_buffering off;\n\n        fastcgi_max_temp_file_size 0;\n\n        proxy_send_timeout 300;\n        proxy_read_timeout 300;\n        fastcgi_send_timeout 300;\n        fastcgi_read_timeout 300;\n    }\n\n    location ~ \\.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite|map)$ {\n        try_files $uri \/index.php$request_uri;\n        add_header Cache-Control \"public, max-age=15778463, $asset_immutable\";\n        access_log off;     # Optional: Don't log access to assets\n\n        location ~ \\.wasm$ {\n            default_type application\/wasm;\n        }\n    }\n\n    location ~ \\.woff2?$ {\n        try_files $uri \/index.php$request_uri;\n        expires 7d;         # Cache-Control policy borrowed from `.htaccess`\n        access_log off;     # Optional: Don't log access to assets\n    }\n\n    # Rule borrowed from `.htaccess`\n    location \/remote {\n        return 301 \/remote.php$request_uri;\n    }\n\n    location \/ {\n        try_files $uri $uri\/ \/index.php$request_uri;\n    }\n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ln -s \/etc\/nginx\/sites-available\/nextcloud \/etc\/nginx\/sites-enabled\/nextloud <\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">php-fpm \u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vi \/etc\/php\/8.1\/fpm\/pool.d\/www.conf<\/code><\/pre>\n\n\n\n<p>\u30b3\u30e1\u30f3\u30c8\u89e3\u9664<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>clear_env = no<\/code><\/pre>\n\n\n\n<p>\u30c7\u30d5\u30a9\u30eb\u30c80\u78ba\u8a8d<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>; request_terminate_timeout = 0<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vi \/etc\/php\/8.1\/fpm\/php.ini<\/code><\/pre>\n\n\n\n<p>\u4e0b\u8a18\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u66f4<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>upload_max_filesize = 384M<br>post_max_size = 448M<br>memory_limit = 512M<br>max_execution_time = 180<br>session.save_handler = redis<br>session.save_path = \"tcp:\/\/localhost:6379\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Nextcloud \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/download.nextcloud.com\/server\/releases\/latest.tar.bz2\nwget https:\/\/download.nextcloud.com\/server\/releases\/latest.tar.bz2.md5\nwget https:\/\/download.nextcloud.com\/server\/releases\/latest.tar.bz2.sha256\nwget https:\/\/download.nextcloud.com\/server\/releases\/latest.tar.bz2.asc\nwget https:\/\/nextcloud.com\/nextcloud.asc<\/code><\/pre>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30eb\u304c\u7834\u640d\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002OK\u3068\u8868\u793a\u304c\u51fa\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>md5sum -c latest.tar.bz2.md5\nsha256sum -c latest.tar.bz2.sha256<\/code><\/pre>\n\n\n\n<p>PGP\u7f72\u540d\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gpg --import nextcloud.asc\ngpg --verify latest.tar.bz2.asc latest.tar.bz2<\/code><\/pre>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u5c55\u958b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar -xjvf latest.tar.bz2\nsudo cp -r nextcloud \/var\/www\nsudo chown -R www-data:www-data \/var\/www\/nextcloud\nsudo mkdir \/var\/www\/nextcloud_data\nsudo chown -R www-data:www-data \/var\/www\/nextcloud_data<\/code><\/pre>\n\n\n\n<p>Nextcloud\u306e\u5b9a\u671f\u5b9f\u884c\u30b8\u30e7\u30d6\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vi \/etc\/crontab<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>*\/5 *\t* * *\twww-data\tphp --define apc.enable_cli=1 -f \/var\/www\/nextcloud\/cron.php<\/code><\/pre>\n\n\n\n<p>nginx\u3068php-fpm\u3092\u518d\u8d77\u52d5\u3057\u3066\u884c\u3063\u305f\u8a2d\u5b9a\u3092\u53cd\u6620\u3057\u307e\u3059\u3002<br>\u3053\u308c\u3092\u884c\u3046\u3068\u3001\u521d\u671f\u8a2d\u5b9a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u7d20\u65e9\u304f\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f5c\u6210\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u6b21\u306e\u9805\u3067\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart php8.1-fpm\nsudo systemctl restart nginx<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Nextcloud\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<p>Web\u30d6\u30e9\u30a6\u30b6\u3067 https:\/\/cloud.example.com\/ \u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7ba1\u7406\u8005\u30a2\u30ab\u30a6\u30f3\u30c8(\u30e6\u30fc\u30b6\u30fc\u540d\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9)\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d5\u30a9\u30eb\u30c0\u30fc\u306f\u4e0b\u8a18\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/var\/www\/nextcloud_data<\/code><\/pre>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u3001\"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a\"\u3067\u8a2d\u5b9a\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u306f\u4e0b\u8a18\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nextcloud<\/code><\/pre>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u63a5\u7d9a\u5148\u306f\u4ee5\u4e0b\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>localhost:3306<\/code><\/pre>\n\n\n\n<p>\u300c\u63a8\u5968\u30a2\u30d7\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u306f\u7121\u3057\u3067\u3082\u3088\u3044\u3067\u3059\u3002\u3042\u3068\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<br>\u300c\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u5b8c\u4e86\u3057\u307e\u3059\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u5b8c\u4e86\u3067\u3059\u3002\u5c11\u3057\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>Nextcloud\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<br>\u524d\u5f8c\u306e\u5165\u529b\u30eb\u30fc\u30eb\u3092\u898b\u306a\u304c\u3089\u3001\u9069\u5207\u306a\u5834\u6240\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vi \/var\/www\/nextcloud\/config\/config.php<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>  'default_phone_region' =&gt; 'JP',\n  'memcache.local' =&gt; '\\OC\\Memcache\\APCu',\n  'memcache.distributed' =&gt; '\\OC\\Memcache\\Redis',\n  'memcache.locking' =&gt; '\\OC\\Memcache\\Redis',\n  'redis' =&gt; &#91;\n    'host' =&gt; 'localhost',\n    'port' =&gt; 6379,\n  ],<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b8c\u4e86<\/h2>\n\n\n\n<p>\u5c0e\u5165\u5b8c\u4e86\u3067\u3059\u3002<br>\u7ba1\u7406\u8005\u8a2d\u5b9a\u304b\u3089\u6982\u8981\u3092\u78ba\u8a8d\u3057\u3001\u4e0d\u8db3\u3057\u3066\u3044\u308b\u8a2d\u5b9a\u3092\u5b9f\u65bd\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\u30ed\u30b0\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u767a\u751f\u3057\u3066\u3044\u308b\u30a8\u30e9\u30fc\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u80cc\u666f \u79c1\u304c\u304a\u4e16\u8a71\u306b\u306a\u3063\u3066\u3044\u308b\u67d0\u30b5\u30fc\u30af\u30eb\u306b\u304a\u3044\u3066\u3001\u30b5\u30fc\u30af\u30eb\u30e1\u30f3\u30d0\u30fc\u9593\u306b\u304a\u3044\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u5171\u6709\u3059\u308b\u305f\u3081\u306bDropbox\u3092\u4f7f\u3063\u3066\u3044\u305f\u305d\u3046\u3002\u305f\u3060\u3001\u5bb9\u91cf\u304c\u4e0d\u8db3\u3057\u305f\u3068\u306e\u3053\u3068\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u7f6e\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u5171\u6709\u3059\u308b\u3068\u3044\u3046\u9078\u629e\u3092\u3057\u305f\u305d\u3046\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[],"class_list":["post-223","post","type-post","status-publish","format-standard","hentry","category-linux","category-server-application"],"_links":{"self":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts\/223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":29,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":519,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions\/519"}],"wp:attachment":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/tags?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}