{"id":172,"date":"2022-08-31T12:21:09","date_gmt":"2022-08-31T04:21:09","guid":{"rendered":"https:\/\/miie.net\/?p=172"},"modified":"2022-08-31T12:21:09","modified_gmt":"2022-08-31T04:21:09","slug":"install-nginx-php-mariadb-on-debian","status":"publish","type":"post","link":"https:\/\/diji.net\/?p=172","title":{"rendered":"DEBIAN11 \u5b89\u88c5NGINX PHP MARIADB"},"content":{"rendered":"<p>DEBIAN11 \u5b89\u88c5NGINX PHP MARIADB<\/p>\n<h2>1.\u66f4\u65b0\u7cfb\u7edf<\/h2>\n<p>\u66f4\u65b0\u7cfb\u7edf\uff0c\u4e0d\u66f4\u65b0\u4e5f\u884c\u3002\u7eaf\u7cb9\u4e2a\u4eba\u5f3a\u8feb\u75c7<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\nmiie@miie:~$ sudo apt update  &amp;&amp; sudo apt upgrade\nHit:1 http:\/\/mirrors.ustc.edu.cn\/debian bullseye InRelease\nGet:2 http:\/\/mirrors.ustc.edu.cn\/debian bullseye-updates InRelease &#x5B;44.1 kB]\nFetched 44.1 kB in 0s (113 kB\/s)\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nAll packages are up to date.\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nCalculating upgrade... Done\n0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\n<\/pre>\n<\/p>\n<p>\u5b89\u88c5wget unzip<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt install wget unzip\n<\/pre>\n<\/p>\n<h2>2.\u5b89\u88c5NGINX<\/h2>\n<p><pre class=\"brush: plain; highlight: [1,18]; title: ; notranslate\" title=\"\">\nmiie@miie:~ $ sudo apt install nginx\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nThe following additional packages will be installed:\n  fontconfig-config fonts-dejavu-core geoip-database libdeflate0 libfontconfig1 libgd3 libgeoip1 libicu67 libjbig0\n  libjpeg62-turbo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail\n  libnginx-mod-stream libnginx-mod-stream-geoip libtiff5 libwebp6 libxml2 libxpm4 libxslt1.1 nginx-common nginx-core\nSuggested packages:\n  libgd-tools geoip-bin fcgiwrap nginx-doc ssl-cert\nThe following NEW packages will be installed:\n  fontconfig-config fonts-dejavu-core geoip-database libdeflate0 libfontconfig1 libgd3 libgeoip1 libicu67 libjbig0\n  libjpeg62-turbo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail\n  libnginx-mod-stream libnginx-mod-stream-geoip libtiff5 libwebp6 libxml2 libxpm4 libxslt1.1 nginx nginx-common nginx-core\n0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 16.8 MB of archives.\nAfter this operation, 56.3 MB of additional disk space will be used.\nDo you want to continue? &#x5B;Y\/n] Y\n........\nSetting up libnginx-mod-http-image-filter (1.18.0-6.1+deb11u2) ...\nSetting up nginx-core (1.18.0-6.1+deb11u2) ...\nUpgrading binary: nginx.\nSetting up nginx (1.18.0-6.1+deb11u2) ...\nProcessing triggers for libc-bin (2.31-13+deb11u3) ...\nmiie@miie:~$\n<\/pre>\n<\/p>\n<h2>3.\u5b89\u88c5MARIADB<\/h2>\n<p><pre class=\"brush: plain; highlight: [1,26]; title: ; notranslate\" title=\"\">\nmiie@miie:~$ sudo apt install mariadb-server\nReading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nThe following additional packages will be installed:\n  galera-4 gawk libaio1 libcgi-fast-perl libcgi-pm-perl libclone-perl libconfig-inifiles-perl libdbd-mariadb-perl libdbi-perl\n  libencode-locale-perl libfcgi-bin libfcgi-perl libfcgi0ldbl libgdbm-compat4 libgdbm6 libhtml-parser-perl libhtml-tagset-perl\n  libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl libmariadb3 libmpfr6\n  libperl5.32 libsigsegv2 libsnappy1v5 libterm-readkey-perl libtimedate-perl liburi-perl lsof mariadb-client-10.5\n  mariadb-client-core-10.5 mariadb-common mariadb-server-10.5 mariadb-server-core-10.5 mysql-common perl perl-modules-5.32\n  psmisc rsync socat\nSuggested packages:\n  gawk-doc libmldbm-perl libnet-daemon-perl libsql-statement-perl gdbm-l10n libdata-dump-perl libipc-sharedcache-perl\n  libwww-perl mailx mariadb-test netcat-openbsd perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make\n  libtap-harness-archive-perl python3\nThe following NEW packages will be installed:\n  galera-4 gawk libaio1 libcgi-fast-perl libcgi-pm-perl libclone-perl libconfig-inifiles-perl libdbd-mariadb-perl libdbi-perl\n  libencode-locale-perl libfcgi-bin libfcgi-perl libfcgi0ldbl libgdbm-compat4 libgdbm6 libhtml-parser-perl libhtml-tagset-perl\n  libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl libmariadb3 libmpfr6\n  libperl5.32 libsigsegv2 libsnappy1v5 libterm-readkey-perl libtimedate-perl liburi-perl lsof mariadb-client-10.5\n  mariadb-client-core-10.5 mariadb-common mariadb-server mariadb-server-10.5 mariadb-server-core-10.5 mysql-common perl\n  perl-modules-5.32 psmisc rsync socat\n0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 27.3 MB of archives.\nAfter this operation, 210 MB of additional disk space will be used.\nDo you want to continue? &#x5B;Y\/n]Y \/\/\u8f93\u5165Y\u6309\u56de\u8f66\u952e\nSetting up libhtml-template-perl (2.97-1.1) ...\nSetting up libcgi-fast-perl (1:2.15-1) ...\nProcessing triggers for libc-bin (2.31-13+deb11u3) ...\nmiie@miie:~$\n<\/pre>\n<\/p>\n<p>\u914d\u7f6eMARIADB<\/p>\n<pre class=\"brush: plain; highlight: [1,18,26,40,46,53,62]; title: ; notranslate\" title=\"\">\nmiie@miie:~$ sudo mysql_secure_installation\n\nNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB\n      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!\n\nIn order to log into MariaDB to secure it, we'll need the current\npassword for the root user. If you've just installed MariaDB, and\nhaven't set the root password yet, you should just press enter here.\n\nEnter current password for root (enter for none):\nOK, successfully used password, moving on...\n\nSetting the root password or using the unix_socket ensures that nobody\ncan log into the MariaDB root user without the proper authorisation.\n\nYou already have your root account protected, so you can safely answer 'n'.\n\nSwitch to unix_socket authentication &#x5B;Y\/n] Y\nEnabled successfully!\nReloading privilege tables..\n ... Success!\n\n\nYou already have your root account protected, so you can safely answer 'n'.\n\nChange the root password? &#x5B;Y\/n] Y\nNew password:\nRe-enter new password:\nPassword updated successfully!\nReloading privilege tables..\n ... Success!\n\n\nBy default, a MariaDB installation has an anonymous user, allowing anyone\nto log into MariaDB without having to have a user account created for\nthem.  This is intended only for testing, and to make the installation\ngo a bit smoother.  You should remove them before moving into a\nproduction environment.\n\nRemove anonymous users? &#x5B;Y\/n] Y\n ... Success!\n\nNormally, root should only be allowed to connect from 'localhost'.  This\nensures that someone cannot guess at the root password from the network.\n\nDisallow root login remotely? &#x5B;Y\/n] Y\n ... Success!\n\nBy default, MariaDB comes with a database named 'test' that anyone can\naccess.  This is also intended only for testing, and should be removed\nbefore moving into a production environment.\n\nRemove test database and access to it? &#x5B;Y\/n] Y\n - Dropping test database...\n ... Success!\n - Removing privileges on test database...\n ... Success!\n\nReloading the privilege tables will ensure that all changes made so far\nwill take effect immediately.\n\nReload privilege tables now? &#x5B;Y\/n] Y\n ... Success!\n\nCleaning up...\n\nAll done!  If you've completed all of the above steps, your MariaDB\ninstallation should now be secure.\n\nThanks for using MariaDB!\n<\/pre>\n<\/p>\n<p>\u521b\u5efa\u6570\u636e\u5e93\u548c\u7528\u6237<\/p>\n<pre class=\"brush: plain; highlight: [1,14,17,20,111]; title: ; notranslate\" title=\"\">\nmiie@miie:~$ sudo mysql -uroot -p\nEnter password:\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\nYour MariaDB connection id is 40\nServer version: 10.5.15-MariaDB-0+deb11u1 Debian 11\n\nCopyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.\n\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n\nMariaDB &#x5B;(none)]&gt; CREATE DATABASE miie_db;\nQuery OK, 1 row affected (0.000 sec)\n\nMariaDB &#x5B;(none)]&gt; GRANT ALL ON miie_db.* TO 'miie'@'localhost' IDENTIFIED BY '123' WITH GRANT OPTION;\nQuery OK, 0 rows affected (0.001 sec)\n\nMariaDB &#x5B;(none)]&gt; FLUSH PRIVILEGES;\nQuery OK, 0 rows affected (0.000 sec)\n\nMariaDB &#x5B;(none)]&gt; exit;\nBye\nmiie@miie:~$\n<\/pre>\n<\/p>\n<h2>3.\u5b89\u88c5PHP<\/h2>\n<p><pre class=\"brush: plain; highlight: [1,14,17,20,111]; title: ; notranslate\" title=\"\">\n\nmiie@miie:~$ sudo apt install php php-fpm php-mysql php-mbstring php-xml\n\/\/\u524d\u4e09\u4e2a\u662fNMP\u8fd0\u884c\u7684\u4e3b\u7a0b\u5e8f\u57fa\u672c\u6a21\u5757\uff0c\u540e\u4e24\u4e2a\u662fphpMyAdmin\u8fd0\u884c\u6240\u9700\u6a21\u5757\nReading package lists... Done\nBuilding dependency tree... Done\n..................\nProcessing triggers for php7.4-cli (7.4.28-1+deb11u1) ...\nProcessing triggers for php7.4-fpm (7.4.28-1+deb11u1) ...\nmiie@miie:~$\n<\/pre>\n<\/p>\n<p>\u5728\/var\/www\/html\/\u6587\u4ef6\u5939\u91cc\u521b\u5efa\u4e00\u4e2ainfo.php\u6587\u4ef6\uff0c\u8f93\u5165\u4ee3\u7801\uff1a\uff0c\u4fdd\u5b58\u5e76\u5173\u95ed\u6587\u4ef6\u3002<br \/>\n\u5982\u679c\u521b\u5efa\u4e0d\u6210\u529f\u8bf7\u5207\u6362\u5230root\u7528\u6237\u518d\u8bd5\u8bd5\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,3,5]; title: ; notranslate\" title=\"\">\nmiie@miie:~$ sudo echo &quot;&lt;?php phpinfo(); ?&gt;&quot; &gt; \/var\/www\/html\/info.php\n-bash: \/var\/www\/html\/info.php: Permission denied\nmiie@miie:~$ su\nPassword:\nroot@miie:\/home\/miie# echo &quot;&lt;?php phpinfo(); ?&gt;&quot; &gt; \/var\/www\/html\/info.php\nroot@miie:\/home\/miie#\n<\/pre>\n<p>\u73b0\u5728\u6253\u5f00\u6d4f\u89c8\u5668\u5e76\u952e\u5165\u4ee5\u4e0b\u5730\u5740\uff0c\u4ee5\u67e5\u770bWeb\u670d\u52a1\u5668\u662f\u5426\u53ef\u4ee5\u663e\u793a\u7531\u6b64PHP\u811a\u672c\u521b\u5efa\u7684\u5185\u5bb9\u3002<br \/>\n<a href=\"http:\/\/IP\/info.php\"><a href=\"http:\/\/IP\/info.php\"><a href=\"http:\/\/IP\/info.php\">http:\/\/IP\/info.php<\/a><\/a><\/a><br \/>\n\u8fd9\u91cc\u8fd8\u6ca1\u6709\u914d\u7f6eNGINX\uff0c\u5f53\u7136\u6253\u4e0d\u5f00\u7684\uff0c\u6253\u5f00\u7684\u65f6\u5019\u63d0\u793a\u4e0b\u8f7d\u6587\u4ef6\u3002<\/p>\n<h2>4.\u914d\u7f6eNGINX<\/h2>\n<p><pre class=\"brush: plain; highlight: [7,52,65,66,69,72]; title: ; notranslate\" title=\"\">\n\/\/\u521a\u521a\u64cd\u4f5c\u5b8c\u5fd8\u4e86\u9000\u51faroot\u7528\u6237\u4e86\nroot@miie:\/var\/www\/html# cd \/etc\/nginx\/sites-available\nroot@miie:\/etc\/nginx\/sites-available# ls\ndefault  default.bak\n\n\/\/\u7f16\u8f91default\u6587\u4ef6\nroot@miie:\/etc\/nginx\/sites-available# vi default\n##\n# You should look at the following URL's in order to grasp a solid understanding\n# of Nginx configuration files in order to fully unleash the power of Nginx.\n# https:\/\/www.nginx.com\/resources\/wiki\/start\/\n# https:\/\/www.nginx.com\/resources\/wiki\/start\/topics\/tutorials\/config_pitfalls\/\n# https:\/\/wiki.debian.org\/Nginx\/DirectoryStructure\n#\n# In most cases, administrators will remove this file from sites-enabled\/ and\n# leave it as reference inside of sites-available where it will continue to be\n# updated by the nginx packaging team.\n#\n# This file will automatically load configuration files provided by other\n# applications, such as Drupal or WordPress. These applications will be made\n# available underneath a path with that package name, such as \/drupal8.\n#\n# Please see \/usr\/share\/doc\/nginx-doc\/examples\/ for more detailed examples.\n##\n\n# Default server configuration\n#\nserver {\n        listen 80 default_server;\n        listen &#x5B;::]:80 default_server;\n\n        # SSL configuration\n        #\n        # listen 443 ssl default_server;\n        # listen &#x5B;::]:443 ssl default_server;\n        #\n        # Note: You should disable gzip for SSL traffic.\n        # See: https:\/\/bugs.debian.org\/773332\n        #\n        # Read up on ssl_ciphers to ensure a secure configuration.\n        # See: https:\/\/bugs.debian.org\/765782\n        #\n        # Self signed certs generated by the ssl-cert package\n        # Don't use them in a production server!\n        #\n        # include snippets\/snakeoil.conf;\n\n        root \/var\/www\/html;\n\n        # Add index.php to the list if you are using PHP\n        #\u4fee\u6539\u8fd9\u4e00\u884c\uff0c\u6dfb\u52a0index.php\u3002\n        index index.html index.htm index.nginx-debian.html index.php;\n\n        server_name _;\n\n        location \/ {\n                # First attempt to serve request as file, then\n                # as directory, then fall back to displaying a 404.\n                try_files $uri $uri\/ =404;\n        }\n\n        #\u4fee\u6539\u4e0b\u9762\u5185\u5bb9\uff0c\u53bb\u6389\u6ce8\u91ca\u3002\n        # pass PHP scripts to FastCGI server\n        #\n        location ~ \\.php$ {\n                include snippets\/fastcgi-php.conf;\n        #\n        #       With php-fpm (or other unix sockets):\n                fastcgi_pass unix:\/run\/php\/php7.4-fpm.sock;\n        #       With php-cgi (or other tcp sockets):\n        #       fastcgi_pass 127.0.0.1:9000;\n        }\n\n\n\n        # deny access to .htaccess files, if Apache's document root\n        # concurs with nginx's one\n        #\n        #location ~ \/\\.ht {\n        #       deny all;\n        #}\n}\n\n\n# Virtual Host configuration for example.com\n#\n# You can move that to a different file under sites-available\/ and symlink that\n# to sites-enabled\/ to enable it.\n#\n#server {\n#       listen 80;\n#       listen &#x5B;::]:80;\n#\n#       server_name example.com;\n#\n#       root \/var\/www\/example.com;\n#       index index.html;\n#\n#       location \/ {\n#               try_files $uri $uri\/ =404;\n#       }\n#}\nroot@miie:\/etc\/nginx\/sites-available#\n<\/pre>\n<\/p>\n<p>\u4fee\u6539\u5b8c\u4fdd\u5b58\u6587\u4ef6\u3002\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u786e\u8ba4\u914d\u7f6e\u6587\u4ef6\u65e0\u8bef\u5e76\u91cd\u542fNGINX<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nroot@miie:\/etc\/nginx\/sites-available# systemctl reload nginx\nroot@miie:\/etc\/nginx\/sites-available# systemctl restart nginx\n<\/pre>\n<\/p>\n<p>\u73b0\u5728\u6253\u5f00\u6d4f\u89c8\u5668\u5e76\u952e\u5165\u4ee5\u4e0b\u5730\u5740\uff0c\u53ef\u4ee5\u67e5\u770bPHP\u7684\u4fe1\u606f\u9875\u9762\uff0c\u5982\u679c\u9875\u9762\u7a7a\u767d\uff0c\u8bf7\u68c0\u67e5\/var\/www\/html\/info.php\u6587\u4ef6\u5185\u5bb9\u662f\u5426\u4e3a\u201c&lt;?php phpinfo(); ?&gt;\u201d\u3002<br \/>\n<a href=\"http:\/\/IP\/info.php\"><a href=\"http:\/\/IP\/info.php\"><a href=\"http:\/\/IP\/info.php\">http:\/\/IP\/info.php<\/a><\/a><\/a><\/p>\n<h2>5.\u5b89\u88c5PHPMYADMIN<\/h2>\n<p><pre class=\"brush: plain; highlight: [3,14]; title: ; notranslate\" title=\"\">\nroot@miie:\/var\/www\/html# ls\nindex.nginx-debian.html  info.php\nroot@miie:\/var\/www\/html# wget https:\/\/files.phpmyadmin.net\/phpMyAdmin\/5.1.1\/phpMyAdmin-5.1.1-all-languages.zip\n--2022-08-31 13:19:11--  https:\/\/files.phpmyadmin.net\/phpMyAdmin\/5.1.1\/phpMyAdmin-5.1.1-all-languages.zip\nResolving files.phpmyadmin.net (files.phpmyadmin.net)... 89.187.187.12, 89.187.187.20, 89.187.187.15, ...\nConnecting to files.phpmyadmin.net (files.phpmyadmin.net)|89.187.187.12|:443... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 14801905 (14M) &#x5B;application\/zip]\nSaving to: \u2018phpMyAdmin-5.1.1-all-languages.zip\u2019\nphpMyAdmin-5.1.1-all-languages.z 100%&#x5B;=======================================================&gt;]  14.12M   860KB\/s    in 15s\n2022-08-31 13:19:28 (933 KB\/s) - \u2018phpMyAdmin-5.1.1-all-languages.zip\u2019 saved &#x5B;14801905\/14801905]\nroot@miie:\/var\/www\/html# ls\nindex.nginx-debian.html  info.php  phpMyAdmin-5.1.1-all-languages.zip\nroot@miie:\/var\/www\/html# unzip  phpMyAdmin-5.1.1-all-languages.zip\n<\/pre>\n<\/p>\n<p>\u89e3\u538b\u5b8c\u4e4b\u540e\uff0c\u5728\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00<br \/>\n<a href=\"http:\/\/IP\/phpMyAdmin-5.1.1-all-languages\/\"><a href=\"http:\/\/IP\/phpMyAdmin-5.1.1-all-languages\/\"><a href=\"http:\/\/IP\/phpMyAdmin-5.1.1-all-languages\/\">http:\/\/IP\/phpMyAdmin-5.1.1-all-languages\/<\/a><\/a><\/a><br \/>\n\u5373\u53ef\u7528\u521a\u521a\u8bbe\u7f6e\u7684MARIADB\u7684ROOT\u7528\u6237\u548c\u5bc6\u7801\u4ee5\u53ca\u81ea\u5b9a\u7684\u7528\u6237\u5bc6\u7801\u767b\u5f55\u3002<\/p>\n<p>\u81f3\u6b64\u5728Debian\u4e0a\u5b89\u88c5NGINX PHP MariaDB\u5df2\u7ecf\u5b8c\u6210\u5e76\u914d\u7f6e\u6210\u529f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DEBIAN11 \u5b89\u88c5NGINX PHP MARIADB 1.\u66f4\u65b0\u7cfb\u7edf \u66f4\u65b0\u7cfb\u7edf\uff0c\u4e0d\u66f4\u65b0\u4e5f\u884c\u3002\u7eaf\u7cb9\u4e2a\u4eba\u5f3a\u8feb\u75c7 miie@miie:~$ sudo apt update &amp;&amp; sudo apt upgrade Hit:1 http:\/\/mirrors.ustc.edu.cn\/debian bullseye InRelease Get:2 http:\/\/mirrors.ustc.edu.cn\/debian bullseye-updates InRelease &#x5B;44.1 kB] Fetched 44.1 kB in 0s (113 kB\/s) Reading package lists&#8230; Done Building dependency tree&#8230; Done Reading state information&#8230; Done All packages are up to date. Reading package lists&#8230; Done Building dependency [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-172","post","type-post","status-publish","format-standard","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/diji.net\/index.php?rest_route=\/wp\/v2\/posts\/172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/diji.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diji.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diji.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diji.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=172"}],"version-history":[{"count":0,"href":"https:\/\/diji.net\/index.php?rest_route=\/wp\/v2\/posts\/172\/revisions"}],"wp:attachment":[{"href":"https:\/\/diji.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diji.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diji.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}