{"id":3669,"date":"2018-08-25T21:35:19","date_gmt":"2018-08-25T13:35:19","guid":{"rendered":"https:\/\/www.ldhost.cn\/jc\/?p=3669"},"modified":"2018-08-25T21:44:49","modified_gmt":"2018-08-25T13:44:49","slug":"%e4%b9%90%e9%81%93%e7%be%8e%e5%9b%bd%e4%b8%bb%e6%9c%ba%e5%bf%ab%e9%80%9f%e9%83%a8%e7%bd%b2python%e6%88%96ruby%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/www.ldhost.cn\/jc\/weberror\/3669.html","title":{"rendered":"\u7f8e\u56fdPython\u4e3b\u673a-\u5feb\u901f\u90e8\u7f72Python\u6216Ruby\u5e94\u7528\u7a0b\u5e8f"},"content":{"rendered":"<p>\u4e50\u9053<a href=\"https:\/\/www.ldhost.cn\/\" target=\"_blank\" rel=\"noopener\">\u7f8e\u56fd\u865a\u62df\u4e3b\u673a<\/a>\u652f\u6301\u4f7f\u7528\u5404\u79cd\u7248\u672c\u7684Ruby\u548cPython\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\u7684\u80fd\u529b\u3002\u6211\u4eec\u652f\u6301\u8fd9\u4e9b\u65b0\u529f\u80fd\u7684\u80fd\u529b\u5f97\u76ca\u4e8e\u6700\u8fd1\u5728Litespeed\u4e0a\u5f15\u5165mod_passenger\u652f\u6301\u3002<span id=\"more-3475\"><\/span><\/p>\n<p>\u8981\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\uff0c\u5c31\u50cf\u767b\u5f55cPanel\u4e00\u6837\u7b80\u5355\uff0c\u5728\u8f6f\u4ef6\u4e0b\u4f7f\u7528\u65b0\u7684\u00a0\u201cSetup Python App\u201d or \u201cSetup Ruby App\u201d\u9009\u9879<\/p>\n<p><a href=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3670\" src=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python1.jpg\" alt=\"Setup Python App\" width=\"717\" height=\"239\" srcset=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python1.jpg 717w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python1-300x100.jpg 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><\/p>\n<p>\u865a\u62df\u4e3b\u673a\u4e0a\u8bbe\u7f6ePython\u5e94\u7528\u7a0b\u5e8f\u65b9\u6cd5<\/p>\n<p>\u8981\u8bbe\u7f6ePython\u5e94\u7528\u7a0b\u5e8f\uff0c\u60a8\u5c06\u9009\u62e9\u201cSetup Python App\u201d\u9009\u9879\uff0c\u586b\u4e0a\u4f60\u5e0c\u671b\u5e94\u7528\u7a0b\u5e8f\u5b58\u653e\u7684\u4f4d\u7f6e\u4ee5\u53ca\u5e94\u7528\u7a0b\u5e8f\u7684URL\u3002<\/p>\n<p><a href=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3672\" src=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-2.jpg\" alt=\"Python\u5efa\u7ad9\" width=\"963\" height=\"301\" srcset=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-2.jpg 963w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-2-300x94.jpg 300w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-2-768x240.jpg 768w\" sizes=\"auto, (max-width: 963px) 100vw, 963px\" \/><\/a><\/p>\n<p>\u5b8c\u6210Python\u5e94\u7528\u7a0b\u5e8f\u8bbe\u7f6e\u540e\uff0c\u5b83\u5c06\u6dfb\u52a0\u5230\u5f53\u524d\u5b89\u88c5\u7684\u5e94\u7528\u7a0b\u5e8f\u5217\u8868\u4e2d<\/p>\n<p><a href=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3673\" src=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-3.jpg\" alt=\"Python\u865a\u62df\u4e3b\u673a\" width=\"880\" height=\"339\" srcset=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-3.jpg 880w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-3-300x116.jpg 300w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-3-768x296.jpg 768w\" sizes=\"auto, (max-width: 880px) 100vw, 880px\" \/><\/a><\/p>\n<p>\u60a8\u53ef\u4ee5\u4fee\u6539\u5e94\u7528\u7a0b\u5e8f\u7684URL\u53ca\u5b83\u6240\u5728\u7684\u6587\u4ef6\u5939\uff0c\u4e5f\u53ef\u4ee5\u5b89\u88c5\u5176\u4ed6modules\u6a21\u5757\uff0c\u4f8b\u5982\u6d41\u884c\u7684\uff1aDjango web framework<\/p>\n<p><a href=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/djangowebframework.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3674\" src=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/djangowebframework.jpg\" alt=\"Django web framework\" width=\"430\" height=\"204\" srcset=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/djangowebframework.jpg 430w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/djangowebframework-300x142.jpg 300w\" sizes=\"auto, (max-width: 430px) 100vw, 430px\" \/><\/a><\/p>\n<p>\u73b0\u5728\u5728\u4e50\u9053\u4e3b\u673a\u4e0a\u8f7b\u677e\u542f\u52a8\u548c\u8fd0\u884cPython\u5e94\u7528\u7a0b\u5e8f\u3002\u4e0d\u9700\u8981\u4fee\u6539.htaccess\u6587\u4ef6\u6216\u4efb\u4f55\u4e1c\u897f\u5c31\u76f4\u63a5\u8fdb\u5165\u60a8\u6b63\u5728\u5f00\u53d1\u6216\u90e8\u7f72\u7684\u5185\u5bb9\u3002<\/p>\n<p><a href=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3675\" src=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-4.jpg\" alt=\"python\u5b89\u88c5\" width=\"523\" height=\"203\" srcset=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-4.jpg 523w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-4-300x116.jpg 300w\" sizes=\"auto, (max-width: 523px) 100vw, 523px\" \/><\/a><\/p>\n<p>\u4e3b\u673a\u4e0a\u6709MySQL\u6570\u636e\u5e93\u548cPostgreSQL\u6570\u636e\u5e93\u4f9b\u4f60\u9009\u62e9\uff0c\u4f7f\u7528\u524d\u8bf7\u5148\u521b\u5efa\u4e0b\u6570\u636e\u5e93\uff0c\u7ba1\u7406\u9762\u677f\u4e2d\u521b\u5efa\u6570\u636e\u5e93\u65b9\u6cd5\uff1a<a href=\"https:\/\/www.ldhost.cn\/jc\/mysql\/198.html\" target=\"_blank\" rel=\"noopener\">www.ldhost.cn\/jc\/mysql\/198.html<\/a> \u521b\u5efa\u597d\u540e\u8bb0\u4e0b\u6570\u636e\u5e93\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u5b89\u88c5\u7f51\u7ad9\u65f6\u9700\u8981\u7528\u5230\uff0c\u6570\u636e\u5e93\u4e3b\u673a\u5730\u5740\u9ed8\u8ba4\u4e3a\uff1alocalhost \u3002<\/p>\n<p><a href=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3676\" src=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-5.jpg\" alt=\"\u521b\u5efapython\u6570\u636e\u5e93\" width=\"1272\" height=\"182\" srcset=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-5.jpg 1272w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-5-300x43.jpg 300w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-5-768x110.jpg 768w, https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2018\/08\/python-5-1024x147.jpg 1024w\" sizes=\"auto, (max-width: 1272px) 100vw, 1272px\" \/><\/a><\/p>\n<p>Ruby\u5e94\u7528\u7a0b\u5e8f\u90e8\u7f72\u65b9\u6cd5\u540cpython\uff0c\u4e0d\u5728\u8d58\u8ff0\u3002<\/p>\n<p>\u5982\u4f60\u9700\u8981<a href=\"https:\/\/www.ldhost.cn\/\" target=\"_blank\" rel=\"noopener\">python\u4e3b\u673a<\/a>\u6216Ruby\u4e3b\u673a\u8bf7\u5728<a href=\"https:\/\/www.ldhost.cn\/\" target=\"_blank\" rel=\"noopener\">www.ldhost.cn<\/a>\u00a0\u4e0a\u6ce8\u518c\u4f1a\u5458\u540e\u70b9\u51fb\u8d2d\u4e70\uff0c\u4e3b\u673a\u914d\u7f6e\uff1a\u7a7a\u95f4\u5927\u5c0f1.2G \u5bbd\u5e26\u7f51\u901f\uff1a100M\uff0ccPanel\u4e2d\u6587\u64cd\u4f5c\u9762\u677f\uff0c\u652f\u6301\u5728\u7ebf\u4e0a\u4f20\u3001\u89e3\u538b\u7f29\u7b49\uff0c\u7f8e\u56fd\u7a7a\u95f4 268\u5143\/\u5e74\u00a0<a href=\"http:\/\/z.ldhost.cn\/cart.php?a=add&amp;pid=163\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2826\" src=\"https:\/\/www.ldhost.cn\/jc\/wp-content\/uploads\/2010\/05\/gm251.jpg\" alt=\"\u70b9\u51fb\u8d2d\u4e70\" width=\"102\" height=\"30\" \/><\/a><\/p>\n<div><img decoding=\"async\" src=\"https:\/\/www.ldhost.cn\/images\/ad-845-3.png\" alt=\"\u56fe\u7247\u63cf\u8ff0\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>\u4e50\u9053\u7f8e\u56fd\u865a\u62df\u4e3b\u673a\u652f\u6301\u4f7f\u7528\u5404\u79cd\u7248\u672c\u7684Ruby\u548cPython\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\u7684\u80fd\u529b\u3002\u6211\u4eec\u652f\u6301\u8fd9\u4e9b\u65b0\u529f\u80fd\u7684\u80fd\u529b\u5f97\u76ca\u4e8e\u6700\u8fd1\u5728Litespeed\u4e0a\u5f15\u5165mod_passenger\u652f\u6301\u3002 \u8981\u90e8\u7f72\u5e94\u7528\u7a0b\u5e8f\uff0c\u5c31\u50cf\u767b\u5f55cPanel\u4e00\u6837\u7b80\u5355\uff0c\u5728\u8f6f\u4ef6\u4e0b\u4f7f\u7528\u65b0\u7684\u00a0\u201cSetup Python App\u201d or \u201cSetup Ruby App\u201d\u9009\u9879 \u865a\u62df\u4e3b\u673a\u4e0a\u8bbe\u7f6ePython\u5e94\u7528\u7a0b\u5e8f\u65b9\u6cd5 \u8981\u8bbe\u7f6ePython\u5e94\u7528\u7a0b\u5e8f\uff0c\u60a8\u5c06\u9009\u62e9\u201cSetup Python App\u201d\u9009\u9879\uff0c\u586b\u4e0a\u4f60\u5e0c\u671b\u5e94\u7528\u7a0b\u5e8f\u5b58\u653e\u7684\u4f4d\u7f6e\u4ee5\u53ca\u5e94\u7528\u7a0b\u5e8f\u7684URL\u3002 \u5b8c\u6210Python\u5e94\u7528\u7a0b\u5e8f\u8bbe\u7f6e\u540e\uff0c\u5b83\u5c06\u6dfb\u52a0\u5230\u5f53\u524d\u5b89\u88c5\u7684\u5e94\u7528\u7a0b\u5e8f\u5217\u8868\u4e2d \u60a8\u53ef\u4ee5\u4fee\u6539\u5e94\u7528\u7a0b\u5e8f\u7684URL\u53ca\u5b83\u6240\u5728\u7684\u6587\u4ef6\u5939\uff0c\u4e5f&#8230; <a href=\"https:\/\/www.ldhost.cn\/jc\/weberror\/3669.html\" class=\"readmore\">\u9605\u8bfb\u5168\u6587<span class=\"screen-reader-text\">\u7f8e\u56fdPython\u4e3b\u673a-\u5feb\u901f\u90e8\u7f72Python\u6216Ruby\u5e94\u7528\u7a0b\u5e8f<\/span><span class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-3669","post","type-post","status-publish","format-standard","hentry","category-weberror","content-layout-excerpt-thumb"],"_links":{"self":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts\/3669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/comments?post=3669"}],"version-history":[{"count":7,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts\/3669\/revisions"}],"predecessor-version":[{"id":3684,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts\/3669\/revisions\/3684"}],"wp:attachment":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/media?parent=3669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/categories?post=3669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/tags?post=3669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}