{"id":514,"date":"2017-12-13T11:06:42","date_gmt":"2017-12-13T03:06:42","guid":{"rendered":"https:\/\/blog.jsjs.org\/?p=514"},"modified":"2017-12-13T11:06:42","modified_gmt":"2017-12-13T03:06:42","slug":"%e4%b8%8d%e9%94%99%e7%9a%84linux%e4%b8%8b%e9%80%9a%e7%94%a8%e7%9a%84java%e7%a8%8b%e5%ba%8f%e5%90%af%e5%8a%a8%e8%84%9a%e6%9c%ac%ef%bc%88%e8%bd%ac%e8%bd%bd%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.jsjs.org\/?p=514","title":{"rendered":"\u4e0d\u9519\u7684linux\u4e0b\u901a\u7528\u7684java\u7a0b\u5e8f\u542f\u52a8\u811a\u672c\uff08\u8f6c\u8f7d\uff09"},"content":{"rendered":"<p>https:\/\/www.cnblogs.com\/langtianya\/p\/4164151.html<\/p>\n<p>&nbsp;<\/p>\n<p>\u867d\u7136\u5199\u8d77\u52a8shell\u7684\u9891\u7387\u975e\u5e38\u4e0d\u9ad8\u3002\u3002\u3002\u4f46\u662f\u6bcf\u6b21\u8981\u5199\u90fd\u8981\u5bf9\u4ed8\u4e00\u5927\u5806\u7684jar\u6587\u4ef6\u8def\u5f84\uff0c\u65b0\u52a0jar\u5305\u4e5f\u5fc5\u987b\u8981\u4fee\u6539\u8d77\u52a8shell\u3002<\/p>\n<p>\u5728\u7f51\u4e0a\u627e\u5230\u4e00\u4e2a\u633a\u597d\u7684\u901a\u7528shell\u811a\u672c\u3002<\/p>\n<p>\u53ea\u9700\u8981\u4fee\u6539\u4e00\u4e9b\u914d\u7f6e\u53d8\u91cf\uff0c\u5c31\u53ef\u4ee5\u7528\u6765\u505a\u8d77\u52a8\u811a\u672c\u4e86\u3002<\/p>\n<p>\u5e76\u4e14\u9664\u4e86\u80fd\u8d77\u52a8\u3001\u8fd8\u652f\u6301\u5173\u95ed\u3001\u91cd\u542f\u3001\u67e5\u770b\u662f\u5426\u6b63\u5728\u8fd0\u884c\u7684\u529f\u80fd\u3002<\/p>\n<p>\u539f\u6587\u5730\u5740\uff1ahttp:\/\/www.tudaxia.com\/archives\/10<\/p>\n<p>start\u51fd\u6570\u4e2d\uff0cnohup\u90e8\u5206\u5176\u5b9e\u4e5f\u53ef\u4ee5\u63d0\u51fa\u6765\u653e\u5165\u4e00\u4e2a\u914d\u7f6e\u53d8\u91cf\u4e2d\u3002\u8fd9\u91cc\u6ca1\u6709\u4fee\u6539\u76f4\u63a5\u8d34\u4e0a\u4f5c\u8005\u7684\u539f\u6587<\/p>\n<div class=\"cnblogs_code\">\n<div class=\"cnblogs_code_toolbar\"><span class=\"cnblogs_code_copy\"><a title=\"\u590d\u5236\u4ee3\u7801\"><img decoding=\"async\" src=\"https:\/\/common.cnblogs.com\/images\/copycode.gif\" alt=\"\u590d\u5236\u4ee3\u7801\" \/><\/a><\/span><\/div>\n<pre>#!\/bin\/sh\n#\u8be5\u811a\u672c\u4e3aLinux\u4e0b\u542f\u52a8java\u7a0b\u5e8f\u7684\u901a\u7528\u811a\u672c\u3002\u5373\u53ef\u4ee5\u4f5c\u4e3a\u5f00\u673a\u81ea\u542f\u52a8service\u811a\u672c\u88ab\u8c03\u7528\uff0c\n#\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u542f\u52a8java\u7a0b\u5e8f\u7684\u72ec\u7acb\u811a\u672c\u6765\u4f7f\u7528\u3002\n#\n#Author: tudaxia.com, Date: 2011\/6\/7\n#\n#\u8b66\u544a!!!\uff1a\u8be5\u811a\u672cstop\u90e8\u5206\u4f7f\u7528\u7cfb\u7edfkill\u547d\u4ee4\u6765\u5f3a\u5236\u7ec8\u6b62\u6307\u5b9a\u7684java\u7a0b\u5e8f\u8fdb\u7a0b\u3002\n#\u5728\u6740\u6b7b\u8fdb\u7a0b\u524d\uff0c\u672a\u4f5c\u4efb\u4f55\u6761\u4ef6\u68c0\u67e5\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5982\u7a0b\u5e8f\u6b63\u5728\u8fdb\u884c\u6587\u4ef6\u6216\u6570\u636e\u5e93\u5199\u64cd\u4f5c\uff0c\n#\u53ef\u80fd\u4f1a\u9020\u6210\u6570\u636e\u4e22\u5931\u6216\u6570\u636e\u4e0d\u5b8c\u6574\u3002\u5982\u679c\u5fc5\u987b\u8981\u8003\u8651\u5230\u8fd9\u7c7b\u60c5\u51b5\uff0c\u5219\u9700\u8981\u6539\u5199\u6b64\u811a\u672c\uff0c\n#\u589e\u52a0\u5728\u6267\u884ckill\u547d\u4ee4\u524d\u7684\u4e00\u7cfb\u5217\u68c0\u67e5\u3002\n#\n#\n###################################\n#\u73af\u5883\u53d8\u91cf\u53ca\u7a0b\u5e8f\u6267\u884c\u53c2\u6570\n#\u9700\u8981\u6839\u636e\u5b9e\u9645\u73af\u5883\u4ee5\u53caJava\u7a0b\u5e8f\u540d\u79f0\u6765\u4fee\u6539\u8fd9\u4e9b\u53c2\u6570\n###################################\n#JDK\u6240\u5728\u8def\u5f84\nJAVA_HOME=\"\/usr\/java\/jdk\"\n\n#\u6267\u884c\u7a0b\u5e8f\u542f\u52a8\u6240\u4f7f\u7528\u7684\u7cfb\u7edf\u7528\u6237\uff0c\u8003\u8651\u5230\u5b89\u5168\uff0c\u63a8\u8350\u4e0d\u4f7f\u7528root\u5e10\u53f7\nRUNNING_USER=root\n\n#Java\u7a0b\u5e8f\u6240\u5728\u7684\u76ee\u5f55\uff08classes\u7684\u4e0a\u4e00\u7ea7\u76ee\u5f55\uff09\nAPP_HOME=\/opt\/tudaxia\/test\/WEB-INF\n\n#\u9700\u8981\u542f\u52a8\u7684Java\u4e3b\u7a0b\u5e8f\uff08main\u65b9\u6cd5\u7c7b\uff09\nAPP_MAINCLASS=com.tudaxia.test.TestMain\n\n#\u62fc\u51d1\u5b8c\u6574\u7684classpath\u53c2\u6570\uff0c\u5305\u62ec\u6307\u5b9alib\u76ee\u5f55\u4e0b\u6240\u6709\u7684jar\nCLASSPATH=$APP_HOME\/classes\nfor i in \"$APP_HOME\"\/lib\/*.jar; do\n   CLASSPATH=\"$CLASSPATH\":\"$i\"\ndone\n\n#java\u865a\u62df\u673a\u542f\u52a8\u53c2\u6570\nJAVA_OPTS=\"-ms512m -mx512m -Xmn256m -Djava.awt.headless=true -XX:MaxPermSize=128m\"\n\n###################################\n#(\u51fd\u6570)\u5224\u65ad\u7a0b\u5e8f\u662f\u5426\u5df2\u542f\u52a8\n#\n#\u8bf4\u660e\uff1a\n#\u4f7f\u7528JDK\u81ea\u5e26\u7684JPS\u547d\u4ee4\u53cagrep\u547d\u4ee4\u7ec4\u5408\uff0c\u51c6\u786e\u67e5\u627epid\n#jps \u52a0 l \u53c2\u6570\uff0c\u8868\u793a\u663e\u793ajava\u7684\u5b8c\u6574\u5305\u8def\u5f84\n#\u4f7f\u7528awk\uff0c\u5206\u5272\u51fapid ($1\u90e8\u5206)\uff0c\u53caJava\u7a0b\u5e8f\u540d\u79f0($2\u90e8\u5206)\n###################################\n#\u521d\u59cb\u5316psid\u53d8\u91cf\uff08\u5168\u5c40\uff09\npsid=0\n\ncheckpid() {\n   javaps=`$JAVA_HOME\/bin\/jps -l | grep $APP_MAINCLASS`\n\n   if [ -n \"$javaps\" ]; then\n      psid=`echo $javaps | awk '{print $1}'`\n   else\n      psid=0\n   fi\n}\n\n###################################\n#(\u51fd\u6570)\u542f\u52a8\u7a0b\u5e8f\n#\n#\u8bf4\u660e\uff1a\n#1. \u9996\u5148\u8c03\u7528checkpid\u51fd\u6570\uff0c\u5237\u65b0$psid\u5168\u5c40\u53d8\u91cf\n#2. \u5982\u679c\u7a0b\u5e8f\u5df2\u7ecf\u542f\u52a8\uff08$psid\u4e0d\u7b49\u4e8e0\uff09\uff0c\u5219\u63d0\u793a\u7a0b\u5e8f\u5df2\u542f\u52a8\n#3. \u5982\u679c\u7a0b\u5e8f\u6ca1\u6709\u88ab\u542f\u52a8\uff0c\u5219\u6267\u884c\u542f\u52a8\u547d\u4ee4\u884c\n#4. \u542f\u52a8\u547d\u4ee4\u6267\u884c\u540e\uff0c\u518d\u6b21\u8c03\u7528checkpid\u51fd\u6570\n#5. \u5982\u679c\u6b65\u9aa44\u7684\u7ed3\u679c\u80fd\u591f\u786e\u8ba4\u7a0b\u5e8f\u7684pid,\u5219\u6253\u5370[OK]\uff0c\u5426\u5219\u6253\u5370[Failed]\n#\u6ce8\u610f\uff1aecho -n \u8868\u793a\u6253\u5370\u5b57\u7b26\u540e\uff0c\u4e0d\u6362\u884c\n#\u6ce8\u610f: \"nohup \u67d0\u547d\u4ee4 &gt;\/dev\/null 2&gt;&amp;1 &amp;\" \u7684\u7528\u6cd5\n###################################\nstart() {\n   checkpid\n\n   if [ $psid -ne 0 ]; then\n      echo \"================================\"\n      echo \"warn: $APP_MAINCLASS already started! (pid=$psid)\"\n      echo \"================================\"\n   else\n      echo -n \"Starting $APP_MAINCLASS ...\"\n      JAVA_CMD=\"nohup $JAVA_HOME\/bin\/java $JAVA_OPTS -classpath $CLASSPATH $APP_MAINCLASS &gt;\/dev\/null 2&gt;&amp;1 &amp;\"\n      su - $RUNNING_USER -c \"$JAVA_CMD\"\n      checkpid\n      if [ $psid -ne 0 ]; then\n         echo \"(pid=$psid) [OK]\"\n      else\n         echo \"[Failed]\"\n      fi\n   fi\n}\n\n###################################\n#(\u51fd\u6570)\u505c\u6b62\u7a0b\u5e8f\n#\n#\u8bf4\u660e\uff1a\n#1. \u9996\u5148\u8c03\u7528checkpid\u51fd\u6570\uff0c\u5237\u65b0$psid\u5168\u5c40\u53d8\u91cf\n#2. \u5982\u679c\u7a0b\u5e8f\u5df2\u7ecf\u542f\u52a8\uff08$psid\u4e0d\u7b49\u4e8e0\uff09\uff0c\u5219\u5f00\u59cb\u6267\u884c\u505c\u6b62\uff0c\u5426\u5219\uff0c\u63d0\u793a\u7a0b\u5e8f\u672a\u8fd0\u884c\n#3. \u4f7f\u7528kill -9 pid\u547d\u4ee4\u8fdb\u884c\u5f3a\u5236\u6740\u6b7b\u8fdb\u7a0b\n#4. \u6267\u884ckill\u547d\u4ee4\u884c\u7d27\u63a5\u5176\u540e\uff0c\u9a6c\u4e0a\u67e5\u770b\u4e0a\u4e00\u53e5\u547d\u4ee4\u7684\u8fd4\u56de\u503c: $?\n#5. \u5982\u679c\u6b65\u9aa44\u7684\u7ed3\u679c$?\u7b49\u4e8e0,\u5219\u6253\u5370[OK]\uff0c\u5426\u5219\u6253\u5370[Failed]\n#6. \u4e3a\u4e86\u9632\u6b62java\u7a0b\u5e8f\u88ab\u542f\u52a8\u591a\u6b21\uff0c\u8fd9\u91cc\u589e\u52a0\u53cd\u590d\u68c0\u67e5\u8fdb\u7a0b\uff0c\u53cd\u590d\u6740\u6b7b\u7684\u5904\u7406\uff08\u9012\u5f52\u8c03\u7528stop\uff09\u3002\n#\u6ce8\u610f\uff1aecho -n \u8868\u793a\u6253\u5370\u5b57\u7b26\u540e\uff0c\u4e0d\u6362\u884c\n#\u6ce8\u610f: \u5728shell\u7f16\u7a0b\u4e2d\uff0c\"$?\" \u8868\u793a\u4e0a\u4e00\u53e5\u547d\u4ee4\u6216\u8005\u4e00\u4e2a\u51fd\u6570\u7684\u8fd4\u56de\u503c\n###################################\nstop() {\n   checkpid\n\n   if [ $psid -ne 0 ]; then\n      echo -n \"Stopping $APP_MAINCLASS ...(pid=$psid) \"\n      su - $RUNNING_USER -c \"kill -9 $psid\"\n      if [ $? -eq 0 ]; then\n         echo \"[OK]\"\n      else\n         echo \"[Failed]\"\n      fi\n\n      checkpid\n      if [ $psid -ne 0 ]; then\n         stop\n      fi\n   else\n      echo \"================================\"\n      echo \"warn: $APP_MAINCLASS is not running\"\n      echo \"================================\"\n   fi\n}\n\n###################################\n#(\u51fd\u6570)\u68c0\u67e5\u7a0b\u5e8f\u8fd0\u884c\u72b6\u6001\n#\n#\u8bf4\u660e\uff1a\n#1. \u9996\u5148\u8c03\u7528checkpid\u51fd\u6570\uff0c\u5237\u65b0$psid\u5168\u5c40\u53d8\u91cf\n#2. \u5982\u679c\u7a0b\u5e8f\u5df2\u7ecf\u542f\u52a8\uff08$psid\u4e0d\u7b49\u4e8e0\uff09\uff0c\u5219\u63d0\u793a\u6b63\u5728\u8fd0\u884c\u5e76\u8868\u793a\u51fapid\n#3. \u5426\u5219\uff0c\u63d0\u793a\u7a0b\u5e8f\u672a\u8fd0\u884c\n###################################\nstatus() {\n   checkpid\n\n   if [ $psid -ne 0 ];  then\n      echo \"$APP_MAINCLASS is running! (pid=$psid)\"\n   else\n      echo \"$APP_MAINCLASS is not running\"\n   fi\n}\n\n###################################\n#(\u51fd\u6570)\u6253\u5370\u7cfb\u7edf\u73af\u5883\u53c2\u6570\n###################################\ninfo() {\n   echo \"System Information:\"\n   echo \"****************************\"\n   echo `head -n 1 \/etc\/issue`\n   echo `uname -a`\n   echo\n   echo \"JAVA_HOME=$JAVA_HOME\"\n   echo `$JAVA_HOME\/bin\/java -version`\n   echo\n   echo \"APP_HOME=$APP_HOME\"\n   echo \"APP_MAINCLASS=$APP_MAINCLASS\"\n   echo \"****************************\"\n}\n\n###################################\n#\u8bfb\u53d6\u811a\u672c\u7684\u7b2c\u4e00\u4e2a\u53c2\u6570($1)\uff0c\u8fdb\u884c\u5224\u65ad\n#\u53c2\u6570\u53d6\u503c\u8303\u56f4\uff1a{start|stop|restart|status|info}\n#\u5982\u53c2\u6570\u4e0d\u5728\u6307\u5b9a\u8303\u56f4\u4e4b\u5185\uff0c\u5219\u6253\u5370\u5e2e\u52a9\u4fe1\u606f\n###################################\ncase \"$1\" in\n   'start')\n      start\n      ;;\n   'stop')\n     stop\n     ;;\n   'restart')\n     stop\n     start\n     ;;\n   'status')\n     status\n     ;;\n   'info')\n     info\n     ;;\n  *)\n     echo \"Usage: $0 {start|stop|restart|status|info}\"\n     exit 1<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.cnblogs.com\/langtianya\/p\/4164151.html &nbsp; \u867d\u7136\u5199\u8d77\u52a8shell\u7684\u9891\u7387\u975e\u5e38\u4e0d\u9ad8\u3002\u3002\u3002\u4f46\u662f\u6bcf\u6b21\u8981\u5199\u90fd\u8981\u5bf9\u4ed8\u4e00\u5927\u5806\u7684jar\u6587\u4ef6\u8def\u5f84\uff0c\u65b0\u52a0jar\u5305\u4e5f\u5fc5\u987b\u8981\u4fee\u6539\u8d77\u52a8shell\u3002 \u5728\u7f51\u4e0a\u627e\u5230\u4e00\u4e2a\u633a\u597d\u7684\u901a\u7528shell\u811a\u672c\u3002 \u53ea\u9700\u8981\u4fee\u6539\u4e00\u4e9b\u914d\u7f6e\u53d8\u91cf\uff0c\u5c31\u53ef\u4ee5\u7528\u6765\u505a\u8d77\u52a8\u811a\u672c\u4e86\u3002 \u5e76\u4e14\u9664\u4e86\u80fd\u8d77\u52a8\u3001\u8fd8\u652f\u6301\u5173\u95ed\u3001\u91cd\u542f\u3001\u67e5\u770b\u662f\u5426\u6b63\u5728\u8fd0\u884c\u7684\u529f\u80fd\u3002 \u539f\u6587\u5730\u5740\uff1ahttp:\/\/www.tudaxia.com\/archives\/10 start\u51fd\u6570\u4e2d\uff0cnohup\u90e8\u5206\u5176\u5b9e\u4e5f\u53ef\u4ee5\u63d0\u51fa\u6765\u653e\u5165\u4e00\u4e2a\u914d\u7f6e\u53d8\u91cf\u4e2d\u3002\u8fd9\u91cc\u6ca1\u6709\u4fee\u6539\u76f4\u63a5\u8d34\u4e0a\u4f5c\u8005\u7684\u539f\u6587 #!\/bin\/sh #\u8be5\u811a\u672c\u4e3aLinux\u4e0b\u542f\u52a8java\u7a0b\u5e8f\u7684\u901a\u7528\u811a\u672c\u3002\u5373\u53ef\u4ee5\u4f5c\u4e3a\u5f00\u673a\u81ea\u542f\u52a8service\u811a\u672c\u88ab\u8c03\u7528\uff0c #\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u542f\u52a8java\u7a0b\u5e8f\u7684\u72ec\u7acb\u811a\u672c\u6765\u4f7f\u7528\u3002 # #Author: tudaxia.com, Date: 2011\/6\/7 # #\u8b66\u544a!!!\uff1a\u8be5\u811a\u672cstop\u90e8\u5206\u4f7f\u7528\u7cfb\u7edfkill\u547d\u4ee4\u6765\u5f3a\u5236\u7ec8\u6b62\u6307\u5b9a\u7684java\u7a0b\u5e8f\u8fdb\u7a0b\u3002 #\u5728\u6740\u6b7b\u8fdb\u7a0b\u524d\uff0c\u672a\u4f5c\u4efb\u4f55\u6761\u4ef6\u68c0\u67e5\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5982\u7a0b\u5e8f\u6b63\u5728\u8fdb\u884c\u6587\u4ef6\u6216\u6570\u636e\u5e93\u5199\u64cd\u4f5c\uff0c #\u53ef\u80fd\u4f1a\u9020\u6210\u6570\u636e\u4e22\u5931\u6216\u6570\u636e\u4e0d\u5b8c\u6574\u3002\u5982\u679c\u5fc5\u987b\u8981\u8003\u8651\u5230\u8fd9\u7c7b\u60c5\u51b5\uff0c\u5219\u9700\u8981\u6539\u5199\u6b64\u811a\u672c\uff0c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-514","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts\/514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=514"}],"version-history":[{"count":0,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts\/514\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}