{"id":591,"date":"2008-04-27T13:36:46","date_gmt":"2008-04-27T13:36:46","guid":{"rendered":"https:\/\/out.cat\/?p=591"},"modified":"2008-04-27T13:36:46","modified_gmt":"2008-04-27T13:36:46","slug":"%e8%bd%ac%e7%a7%bbwordpress%e6%95%b0%e6%8d%ae%e5%88%b0dreamhost","status":"publish","type":"post","link":"https:\/\/out.cat\/?p=591","title":{"rendered":"SSH\u8f6c\u79fb\u535a\u5ba2\u6570\u636e\u5e93"},"content":{"rendered":"<p>netfirms\u7a7a\u95f4\u5230\u671f\u540e\uff0c\u56e0\u4e3a\u88ab\u5c01\u9501\u7684\u7f18\u6545\uff0c\u6211\u4e70\u4e86dreamhost\u7684\u7a7a\u95f4\uff0c\u4e8e\u662f\u9700\u8981\u628awordpress\u7684\u6570\u636e\u8f6c\u79fb\u5230dreamhost\u3002<br \/>\n\u5728google\u67e5\u9605\u4e86\u5927\u91cf\u8d44\u6599\uff0c\u5e76\u4e14\u6478\u7d22\u4e86\u4e24\u5929\u540e\uff0c\u7ec8\u4e8e\u6210\u529f\u8f6c\u79fb\u6570\u636e\u5e93\u53ca\u6574\u4e2a\u7f51\u7ad9\u3002<br \/>\n1\u3001\u628a\u7f51\u7ad9\u9875\u9762\u642c\u8fc1\u5230dreamhost\u3002\u6ca1\u6709\u4ec0\u4e48\u53ef\u8bf4\u7684\uff0c\u7528ssh\u767b\u5f55\u540e\uff0cgzip\u538b\u7f29\u539f\u7f51\u7ad9\u6570\u636e\uff0c\u7136\u540eftp\u4e0b\u8f7d\uff0cftp\u4e0a\u4f20,gzip\u89e3\u538b\u7f29\u3002\u987a\u4fbf\u8bf4\u4e00\u53e5\uff0cdreamhost\u7684webftp\u5f88\u5feb\uff0c\u5f88\u5f3a\u5927\u3002<br \/>\n2\u3001\u4e0b\u8f7d\u6570\u636e\u5e93\u3002\u6211\u7528ssh\u767b\u5f55netfirms\u540e\u7528\u4e0b\u5217\u547d\u4ee4\u4ea7\u751f\u5907\u4efd\uff1a<br \/>\n<span style=\"font-family: Arial; font-size: x-small;\">mysqldump -e &#8211;force &#8211;quick -h mysqlhost -u Username -pPassword DatabseName &gt; dbBackupFile.sql<\/span><br \/>\n\uff08\u76f8\u5e94Username\uff0cPassword\uff0cDatabaseName\u8981\u6362\u6210netfirms\u6570\u636e\u5e93\u7684\u76f8\u5173\u540d\u5b57\uff09<br \/>\n\u4e0d\u6599\u5907\u4efd\u7684\u6570\u636e\u6709\u4e71\u7801\u3002\u53ea\u597dphpadmin\u767b\u5f55\u540e\uff0c\u7528expert\u7684\u65b9\u5f0f\u4e0b\u8f7d\u6570\u636e\u5907\u4efd\uff0c\u5f00\u59cb\u51e0\u6b21\u88abGFW\u4e2d\u9014\u622a\u65ad\uff0c\u4e0b\u8f7d\u4e0d\u5b8c\u5168\uff0c\u6700\u540e\u53ea\u80fd\u7528\u4ee3\u7406\u767b\u5f55\u7f51\u9875\u540e\u4e0b\u8f7d\u3002<br \/>\n3\u3001\u8f6c\u79fb\u6570\u636e\u5e93\u3002<br \/>\n\u628a\u5907\u4efd\u6570\u636e<span style=\"font-family: Arial; font-size: x-small;\">dbBackupFile.sql<\/span>\u4e0a\u4f20\u5230dreamhost\uff0c\u7136\u540essh\u767b\u5f55dreamhost\u540e\u7528\u4e0b\u5217\u547d\u4ee4\u6062\u590d\u6570\u636e\u5e93\uff1a<br \/>\n<span style=\"font-family: Arial; font-size: x-small;\">mysql &#8211;force &#8211;quick -h mysqlhost -u Username -pPassword DatabaseName &lt; dbBackupFile.sql\u3002<\/span><br \/>\n\uff08\u76f8\u5e94Username\uff0cPassword\uff0cDatabaseName\u8981\u6362\u6210dreamhost\u6570\u636e\u5e93\u7684\u76f8\u5173\u540d\u5b57\uff09<br \/>\n4\u3001\u6ce8\u610f\uff1a\u73b0\u5728wordpress 2.5\u7248\u672c\u4e2d\uff0c\u5df2\u7ecf\u4e0d\u9700\u8981\u4fee\u6539wp-db.php\u6587\u4ef6\u4e86\u3002<br \/>\n5\u3001\u53d1\u6d4b\u8bd5\u8d34\uff0c\u4eab\u53d7\u72ec\u7acb\u535a\u5ba2\u5e26\u6765\u7684\u81ea\u7531\u5427\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>netfirms\u7a7a\u95f4\u5230\u671f\u540e\uff0c\u56e0\u4e3a&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[86,93,735],"class_list":["post-591","post","type-post","status-publish","format-standard","hentry","category-2","tag-dreamhost","tag-93","tag-735"],"_links":{"self":[{"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/posts\/591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/out.cat\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=591"}],"version-history":[{"count":0,"href":"https:\/\/out.cat\/index.php?rest_route=\/wp\/v2\/posts\/591\/revisions"}],"wp:attachment":[{"href":"https:\/\/out.cat\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/out.cat\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/out.cat\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}