{"id":7349,"date":"2019-08-03T16:08:07","date_gmt":"2019-08-03T08:08:07","guid":{"rendered":"http:\/\/dachengge.com\/?p=3578"},"modified":"2019-08-03T16:08:07","modified_gmt":"2019-08-03T08:08:07","slug":"%e5%9c%a8linux%e7%8e%af%e5%a2%83%e4%b8%8b%e6%90%ad%e5%bb%balamp%e7%9a%84%e5%b0%9d%e8%af%95","status":"publish","type":"post","link":"http:\/\/dachengge.com\/?p=7349","title":{"rendered":"\u5728Linux\u73af\u5883\u4e0b\u642d\u5efaLAMP\u7684\u5c1d\u8bd5"},"content":{"rendered":"<p>LAMP\u662f\u4e00\u7ec4\u7528\u4e8e\u8fd0\u884c\u52a8\u6001\u7f51\u7ad9\u6216\u8005\u670d\u52a1\u5668\u7684\u81ea\u7531\u8f6f\u4ef6\u7684\u9996\u5b57\u6bcd\u7ec4\u5408\uff0c\u901a\u5e38\u4f7f\u7528PHP\u5efa\u7acb\u7f51\u7ad9\u6216\u670d\u52a1\u5668\u65f6\uff0c\u4f1a\u4f7f\u7528\u8fd9\u6837\u7684\u7ec4\u5408\uff0c\u5f53\u7136\u8fd9\u91cc\u9762\u7684L\u6307\u7684\u662fLinux\u7cfb\u7edf\uff0c\u5982\u679c\u4f7f\u7528Windows\u7cfb\u7edf\u5b89\u88c5\u7684\u8bdd\uff0c\u5bf9\u5e94\u7684\u8fd8\u6709WAMP\uff0c\u4eca\u5929\u5c31\u6765\u8bd5\u8bd5LAMP\u73af\u5883\u7684\u914d\u7f6e\u3002<\/p>\n<h5><a class=\"md-header-anchor md-print-anchor\" href=\"af:\/\/n233\" name=\"header-n233\"> <\/a>1 \u4ec0\u4e48\u662fLAMP\u73af\u5883<\/h5>\n<ul>\n<li>Linux\uff0c\u64cd\u4f5c\u7cfb\u7edf<\/li>\n<li>Apache\uff0c\u7f51\u9875\u670d\u52a1\u5668<\/li>\n<li>MariaDB\u6216MySQL\uff0c\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff08\u6216\u8005\u6570\u636e\u5e93\u670d\u52a1\u5668\uff09<\/li>\n<li>PHP\u3001Perl\u6216Python\uff0c\u811a\u672c\u8bed\u8a00<\/li>\n<\/ul>\n<h5><a class=\"md-header-anchor md-print-anchor\" href=\"af:\/\/n243\" name=\"header-n243\"> <\/a>2 \u5177\u4f53\u642d\u5efa\u8fc7\u7a0b<\/h5>\n<h5><a class=\"md-header-anchor md-print-anchor\" href=\"af:\/\/n244\" name=\"header-n244\"> <\/a>2.1 Linux\u7cfb\u7edf\u7684\u5b89\u88c5<\/h5>\n<p>Linux\u91c7\u7528Ubuntu\u7cfb\u7edf\uff0c\u8fd9\u4e2a\u53ef\u4ee5\u81ea\u884c\u4e0b\u8f7d\u5b89\u88c5\uff0c\u6700\u597d\u4e0eWin\u5b89\u88c5\u6210\u53cc\u7cfb\u7edf\uff0c\u56e0\u4e3aUbuntu\u9664\u4e86\u5de5\u4f5c\u4f7f\u7528\u5916\uff0c\u771f\u7684\u4e0d\u9002\u5408\u65e5\u5e38\u5a31\u4e50\u3002\u6b64\u6b21\u4e0b\u8f7dUbuntu\u7cfb\u7edf\u65f6\uff0c\u9009\u62e9\u4e86\u9e92\u9e9f\u7248\u7684\u7cfb\u7edf\uff0c\u6bd4\u8f83\u9002\u5408\u4e2d\u56fd\u7528\u6237\u3002<\/p>\n<h5><a class=\"md-header-anchor md-print-anchor\" href=\"af:\/\/n246\" name=\"header-n246\"> <\/a>2.2 Apache\u670d\u52a1\u5668\u7684\u5b89\u88c5<\/h5>\n<p>Apache\u662f\u4e16\u754c\u4f7f\u7528\u6392\u540d\u7b2c\u4e00\u7684Web\u670d\u52a1\u5668\u8f6f\u4ef6\uff0c\u5b83\u53ef\u4ee5\u8fd0\u884c\u5728\u51e0\u4e4e\u6240\u6709\u5e7f\u6cdb\u4f7f\u7528\u7684\u8ba1\u7b97\u673a\u5e73\u53f0\u4e0a\uff0c\u7531\u4e8e\u5176\u8de8\u5e73\u53f0\u548c\u5b89\u5168\u6027\u88ab\u5e7f\u6cdb\u4f7f\u7528\uff0c\u662f\u6700\u6d41\u884c\u7684Web\u670d\u52a1\u5668\u7aef\u8f6f\u4ef6\u4e4b\u4e00\uff0c\u5176\u5b83\u5e38\u89c1\u7684\u670d\u52a1\u5668\u8fd8\u6709Tomcat\u7b49\u7b49\u3002<br \/>\n\u5b89\u88c5Apache\u975e\u5e38\u7b80\u5355\uff0c\u4e0d\u50cfWindows\u6253\u5f00 \u7f51\u7ad9\u4e0b\u8f7d\u518d\u5b89\u88c5 \uff0c\u5728Ubuntu\u4e0b\u9762\u76f4\u63a5\u8fd0\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u5373\u53ef\uff1asudo apt install apache2<br \/>\n<!--more-->\u5b89\u88c5\u5b8c\u6210\u4e4b\u540e\uff0c\u76f4\u63a5\u8fdb\u884c\u6d4b\u8bd5\uff0c\u5373\u6253\u5f00\uff1a<a class=\"url\" href=\"http:\/\/localhost\/\" target=\"_blank\" rel=\"noopener\">http:\/\/localhost\/<\/a>\uff0c\u80fd\u6253\u5f00Apache \u9ed8\u8ba4\u7684\u9875\u9762\u5c31\u7b97\u5b89\u88c5\u6210\u529f\u4e86\u3002<br \/>\nApache\u5b89\u88c5\u8fc7\u7a0b\u975e\u5e38\u7b80\u5355\uff0c\u4f46\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u547d\u4ee4\u548c\u914d\u7f6e\u6587\u4ef6\u8fd8\u662f\u8981\u4e86\u89e3\u7684\uff0c\u540e\u9762\u67e5\u770bApache\u7684\u72b6\u6001\u9700\u8981\u4f7f\u7528\uff0c\u53e6\u5916\u914d\u7f6e\u670d\u52a1\u5668\u65f6\u4e5f\u8981\u7528\u5230\u3002<br \/>\n\u9996\u5148\uff0cApache\u670d\u52a1\u5668\u7684\u51e0\u4e2a\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<ul>\n<li>\/etc\/apache2\/apache2.conf \u662f\u4e3b\u8981\u914d\u7f6e\u6587\u4ef6\uff1b<\/li>\n<li>\/etc\/apache2\/ports.conf \u7528\u4e8e\u786e\u5b9a\u4f20\u5165\u8fde\u63a5\u7684\u4fa6\u542c\u7aef\u53e3\uff0c\u9ed8\u8ba4\u4e3a80\uff1b<\/li>\n<li>apache2\u7684\u9ed8\u8ba4web\u76ee\u5f55\uff1a\/var\/www\/html\uff0c\u4e5f\u5c31\u662f\u6211\u4eec\u653e\u7f6e\u7f51\u7ad9\u7684\u6587\u4ef6\u5939\uff1b<\/li>\n<\/ul>\n<p>\u5176\u6b21\uff0cApache\u7684\u51e0\u4e2a\u5e38\u7528\u547d\u4ee4\uff1a<\/p>\n<ul>\n<li>sudo service apache2 start\/stop\/restart \u8fd0\u884c\/\u5173\u95ed\/\u91cd\u542fApache\u670d\u52a1\u5668\uff1b<\/li>\n<li>sudo service apache2 status \u67e5\u770bApache\u670d\u52a1\u5668\u7684\u72b6\u6001\u3002<\/li>\n<\/ul>\n<h5><a class=\"md-header-anchor md-print-anchor\" href=\"af:\/\/n265\" name=\"header-n265\"> <\/a>2.3 Mysql\u6570\u5e93\u7684\u5b89\u88c5<\/h5>\n<p>LAMP\u4e2d\u7684M\u662f\u6307Mysql\u6570\u636e\u5e93\uff0cMySQL\u662f\u4e00\u4e2a\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff0c\u7531\u745e\u5178MySQL AB \u516c\u53f8\u5f00\u53d1\uff0c\u76ee\u524d\u5c5e\u4e8e Oracle \u65d7\u4e0b\u4ea7\u54c1\u3002MySQL \u662f\u6700\u6d41\u884c\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u4e4b\u4e00\uff0c\u5728 WEB \u5e94\u7528\u65b9\u9762\uff0cMySQL\u662f\u6700\u597d\u7684 RDBMS (Relational Database Management System\uff0c\u5173\u7cfb\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf) \u5e94\u7528\u8f6f\u4ef6\u4e4b\u4e00\u3002\u4e0b\u9762\u5c31\u6765\u5b89\u88c5Mysql\u6570\u636e\u5e93\uff1a<br \/>\n\u6267\u884c\u5b89\u88c5Mysql\u7684\u547d\u4ee4\uff08Ubuntu\u4e0b\u9762\uff09\uff1a<br \/>\nsudo apt install mysql-server<br \/>\n\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u8f93\u5165Mysql\u7684\u5bc6\u7801\uff0c\u4e00\u5b9a\u8981\u8bb0\u4f4f\uff0c\u540e\u9762\u767b\u9646\u6570\u636e\u5e93\u65f6\u8981\u4f7f\u7528\u3002<br \/>\n\u5b89\u88c5\u5b8c\u4e4b\u540e\u8981\u8fdb\u884c\u6d4b\u8bd5\uff0c\u5e38\u89c1\u7684Mysql\u547d\u4ee4\uff1a<\/p>\n<ul>\n<li>\u767b\u9646Mysql\uff1amysql -uroot -p<\/li>\n<li>\u505c\u6b62MySQL\u6570\u636e\u5e93\u670d\u52a1\uff1asudo systemctl stop mysql.service<\/li>\n<li>\u542f\u52a8MySQL\u6570\u636e\u5e93\u670d\u52a1\uff1asudo systemctl start mysql.service<\/li>\n<li>\u91cd\u542fMySQL\u6570\u636e\u5e93\u670d\u52a1\uff1asudo systemctl restart mysql.service<\/li>\n<li>\u67e5\u770bMySQL\u8fd0\u884c\u72b6\u6001\uff1a sudo systemctl status mysql.service<\/li>\n<\/ul>\n<p>\u53e6\u5916\uff0cMysql\u7684\u914d\u7f6e\u6587\u4ef6\u5730\u5740\u662f\uff1a<br \/>\n\/etc\/mysql\/mysql.conf.d\/mysqld.cnf<\/p>\n<h5><a class=\"md-header-anchor md-print-anchor\" href=\"af:\/\/n281\" name=\"header-n281\"> <\/a>2.4 PHP\u8bed\u8a00\u7684\u5b89\u88c5<\/h5>\n<p>LAMP\u4e2d\u7684P\u6307\u7684\u662f\u811a\u672c\u8bed\u8a00\uff0c\u5982PHP\u3001PERL\u7b49\uff0c\u6b64\u6b21\u5c31\u4ee5\u5b89\u88c5PHP\u4e3a\u4f8b\uff0cPHP\u662f\u4e00\u79cd\u5f00\u6e90\u811a\u672c\u8bed\u8a00\uff0c\u8fd0\u884c\u5728\u670d\u52a1\u7aef\uff0c\u8bed\u6cd5\u4e0eC\u8bed\u8a00\u76f8\u4f3c\uff0c\u4e3b\u8981\u9002\u7528\u4e8eWEB\u5f00\u53d1\u9886\u57df\u3002\u4e3a\u4ec0\u4e48\u9009\u62e9PHP\u8bed\u8a00\uff0c\u56e0\u4e3a\u4f7f\u7528\u8d77\u6765\u7b80\u5355\uff0c\u4e0eC\u8bed\u8a00\u76f8\u4f3c\uff0c\u7f51\u4e0a\u5f88\u591a\u5730\u65b9\u8bf4\uff0cPHP\u662f\u4e16\u754c\u4e0a\u6700\u597d\u7684\u8bed\u8a00\uff0c\u4e0b\u9762\u5c31\u6765\u5c1d\u8bd5\u5b89\u88c5PHP\u3002<br \/>\n\u5b89\u88c5PHP\u4ee5\u53caAPACHE\u7684\u6269\u5c55\u5305\uff0c\u8fd0\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<br \/>\nsudo apt install php<br \/>\nsudo apt install libapache2-mod-php<br \/>\n\u7cfb\u7edf\u4f1a\u81ea\u52a8\u9009\u62e9\u5e76\u5b89\u88c5\u6700\u65b0\u7684PHP\u7a0b\u5e8f<br \/>\n\u6d4b\u8bd5\u5df2\u7ecf\u5b89\u88c5\u597d\u7684PHP\u7a0b\u5e8f\uff1a<br \/>\n\u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650\uff08sudo\uff09\u8fdb\u5165\/var\/www\/html\/\u6587\u4ef6\u5939\u4e0b\uff0c\u521b\u5efa\u4e00\u4e2aPHP\u6587\u4ef6\uff0c\u5e76\u8bbf\u95ee\uff1a<br \/>\ncd \/var\/www\/html<br \/>\nvim test.php<br \/>\ntest.php\u6587\u4ef6\u7684\u5185\u5bb9\uff1a<br \/>\n<code>&lt;? php<br \/>\nphpinfo()<span style=\"font-family: 'PT Serif', 'Times New Roman', Times, serif;\">;<\/span><br \/>\n?&gt;<\/code><br \/>\n\u7136\u540e\u7528\u6d4f\u89c8\u5668\u6253\u5f00\u8bbf\u95ee\uff1a<a class=\"url\" href=\"http:\/\/localhost\/test.php\" target=\"_blank\" rel=\"noopener\">http:\/\/localhost\/test.php<\/a>\uff0c\u5982\u679c\u80fd\u6b63\u5e38\u6253\u5f00\uff0c\u5c31\u8bf4\u660ePHP\u5df2\u7ecf\u914d\u7f6e\u597d\u4e86\u3002<\/p>\n<h5><a class=\"md-header-anchor md-print-anchor\" href=\"af:\/\/n286\" name=\"header-n286\"> <\/a>2.5 Mysql\u53ef\u89c6\u5316\u7684\u7ba1\u7406\u5de5\u5177PhpMyAdmin \u5b89\u88c5<\/h5>\n<p>phpMyAdmin \u662f\u4e00\u4e2a\u4ee5PHP\u4e3a\u57fa\u7840\uff0c\u4ee5Web-Base\u65b9\u5f0f\u67b6\u6784\u5728\u7f51\u7ad9\u4e3b\u673a\u4e0a\u7684MySQL\u7684\u6570\u636e\u5e93\u7ba1\u7406\u5de5\u5177\uff0c\u8ba9\u7ba1\u7406\u8005\u53ef\u7528Web\u63a5\u53e3\u7ba1\u7406MySQL\u6570\u636e\u5e93\u3002\u501f\u7531\u6b64Web\u63a5\u53e3\u53ef\u4ee5\u6210\u4e3a\u4e00\u4e2a\u7b80\u6613\u65b9\u5f0f\u8f93\u5165\u7e41\u6742SQL\u8bed\u6cd5\u7684\u8f83\u4f73\u9014\u5f84\uff0c\u5c24\u5176\u8981\u5904\u7406\u5927\u91cf\u8d44\u6599\u7684\u6c47\u5165\u53ca\u6c47\u51fa\u66f4\u4e3a\u65b9\u4fbf\u3002\u4f7f\u7528phpMyAdmin\u7ba1\u7406Mysql\u975e\u5e38\u65b9\u9762\uff0c\u56e0\u6b64\u4e0b\u9762\u5c31\u6765\u5b89\u88c5phpMyAdmin\uff1a<br \/>\n\u5b89\u88c5phpMyAdmin\u7684\u547d\u4ee4\uff1a<br \/>\nsudo apt install phpmyadmin<br \/>\n\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u4ee5\u56fe\u5f62\u5316\u7684\u65b9\u5f0f\uff0c\u8fdb\u884c\u7f51\u7ad9\u670d\u52a1\u5668\u548c\u6570\u636e\u5e93\u7684\u914d\u7f6e\uff1a<\/p>\n<ul>\n<li>\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u8ba9\u9009\u62e9\u6240\u4f7f\u7528\u7684WEB\u670d\u52a1\u5668\uff0c\u6709apache2\u548clighttpd\uff0c\u6b64\u5904\u9009\u62e9apache2\uff1b<\/li>\n<li>\u7d27\u63a5\u7740\uff0c\u4f1a\u8ba9\u914d\u7f6e\u6570\u636e\u5e93\uff0c\u70b9\uff02\u662f\uff02\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u8fd0\u884cdbconfig-common\u6765\u914d\u7f6e\uff0c\u5f53\u7136\u5982\u679c\u4f60\u662f\u6570\u636e\u5e93\u7ba1\u7406\u5458\u6216\u8005\u60f3\u624b\u52a8\u914d\u7f6e\u7684\u8bdd\uff0c\u53ef\u4ee5\u70b9\uff02\u5426\uff02\u3002<\/li>\n<li>\u4e3aphpmyadmin\u8bbe\u7f6e\u8fde\u63a5mysql\u7684\u5bc6\u7801\u3002<\/li>\n<\/ul>\n<p>\u5b89\u88c5\u5b8c\u540e\uff0cphpMyAdmin\u9ed8\u8ba4\u7684\u5b89\u88c5\u4f4d\u7f6e\u662f\u5728\/usr\/share\uff0c\u800c\u4e0d\u662f\/var\/www\u3002\u6240\u4ee5 \u9700\u8981\u5c06\u5176\u94fe\u63a5\u5230\/var\/www\/html\u6765\uff0c\u590d\u5236\u7684\u8bdd\u8c8c\u4f3c\u9700\u8981\u6539\u914d\u7f6e\u6587\u4ef6\uff0c\u76f8\u5f53\u9ebb\u70e6\uff0c\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<br \/>\nsudo ln -s \/usr\/share\/phpmyadmin \/var\/www\/phpmyadmin<br \/>\n\u6d4b\u8bd5phpMyAdmin\uff0c\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u9700\u8981\u6253\u5f00\u8fdb\u884c\u6d4b\u8bd5\uff0c\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u8bbf\u95ee\uff1a<br \/>\n<a class=\"url\" href=\"http:\/\/localhost\/phpmyadmin\" target=\"_blank\" rel=\"noopener\">http:\/\/localhost\/phpmyadmin<\/a><br \/>\n\u80fd\u6b63\u5e38\u6253\u5f00\uff0c\u8f93\u5165Mysql\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u8bbf\u95eeMysql\u6570\u636e\u5e93\uff0c\u5c31\u8868\u793a\u5b89\u88c5\u597d\u4e86\u3002<br \/>\n<strong>\u51fa\u73b0\u95ee\u9898<\/strong>\uff1a\u672c\u4eba\u5b89\u88c5\u540e\uff0c\u6253\u5f00phpMyAdmin\u65f6\uff0c\u51fa\u73b0\u4e86\u4e0b\u9762\u7684\u9519\u8bef\uff1a<br \/>\nThe mbstring extension is missing<br \/>\n\u89e3\u51b3\u529e\u6cd5\u4ee5\u662f\uff0c\u6253\u5f00php.ini\uff1a<br \/>\nsudo vim \/etc\/php\/7.0\/apache2\/php.ini<br \/>\n\u5c06\u5176\u4e2d\u7684extension=php_mbstring.dll\u6ce8\u91ca\u53bb\u6389<br \/>\n\u91cd\u542f\u670d\u52a1\u5668\uff1asudo service apache2 restart<br \/>\n\u81ea\u6b64\uff0cLAMP\u73af\u5883\u914d\u7f6e\u5b8c\u6bd5\uff0c\u901a\u8fc7\u6253\u5f00phpMyAdmin\u53ef\u4ee5\u770b\u51fa\uff0c\u670d\u52a1\u5668\u6ca1\u95ee\u9898\u4e86\uff0cPHP\u9875\u9762\u4e5f\u80fd\u8bbf\u95ee\uff0cMysql\u4e5f\u80fd\u8fde\u63a5\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LAMP\u662f\u4e00\u7ec4\u7528\u4e8e\u8fd0\u884c\u52a8\u6001\u7f51\u7ad9\u6216\u8005\u670d\u52a1\u5668\u7684\u81ea\u7531\u8f6f\u4ef6\u7684\u9996\u5b57\u6bcd\u7ec4\u5408\uff0c\u901a\u5e38\u4f7f\u7528PHP\u5efa\u7acb\u7f51\u7ad9\u6216\u670d\u52a1\u5668\u65f6\uff0c\u4f1a\u4f7f\u7528\u8fd9\u6837\u7684 &hellip; <a href=\"http:\/\/dachengge.com\/?p=7349\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u5728Linux\u73af\u5883\u4e0b\u642d\u5efaLAMP\u7684\u5c1d\u8bd5<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[38,39,75,78,80,82,88,89,90],"views":2050,"_links":{"self":[{"href":"http:\/\/dachengge.com\/index.php?rest_route=\/wp\/v2\/posts\/7349"}],"collection":[{"href":"http:\/\/dachengge.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dachengge.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dachengge.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/dachengge.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7349"}],"version-history":[{"count":0,"href":"http:\/\/dachengge.com\/index.php?rest_route=\/wp\/v2\/posts\/7349\/revisions"}],"wp:attachment":[{"href":"http:\/\/dachengge.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dachengge.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7349"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dachengge.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}