{"id":792,"date":"2017-07-02T09:27:39","date_gmt":"2017-07-02T01:27:39","guid":{"rendered":"http:\/\/www.shuran.cn\/?p=792"},"modified":"2017-07-02T09:27:39","modified_gmt":"2017-07-02T01:27:39","slug":"linux%e4%b8%8bssh%e8%bf%9c%e7%a8%8b%e8%bf%9e%e6%8e%a5%e6%96%ad%e5%bc%80%e5%90%8e%e8%ae%a9%e7%a8%8b%e5%ba%8f%e7%bb%a7%e7%bb%ad%e8%bf%90%e8%a1%8c%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.shuran.cn\/?p=792","title":{"rendered":"Linux\u4e0bSSH\u8fdc\u7a0b\u8fde\u63a5\u65ad\u5f00\u540e\u8ba9\u7a0b\u5e8f\u7ee7\u7eed\u8fd0\u884c\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>\n\t\u5728\u4e0b\u8f7d\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4e0d\u5c0f\u5fc3\u628aSSH\u8fdc\u7a0b\u8fde\u63a5\u5173\u95ed\u4e86\uff0c\u8fd9\u4e2a\u65f6\u5019\u4e0b\u8f7d\u4e5f\u4f1a\u4e2d\u65ad\n<\/p>\n<p>\n\t\u5fc5\u987b\u91cd\u65b0\u767b\u5f55\u5230\u7cfb\u7edf\uff0c\u518d\u6b21\u624b\u52a8\u6267\u884c\u547d\u4ee4\uff0c\u624d\u80fd\u7ee7\u7eed\u4e0b\u8f7d\u4e4b\u524d\u672a\u4e0b\u8f7d\u5b8c\u6210\u7684\u6587\u4ef6\u3002\n<\/p>\n<p>\n\t\u6709\u6ca1\u6709\u529e\u6cd5\u5728SSH\u8fdc\u7a0b\u8fde\u63a5\u88ab\u65ad\u5f00\u6216\u8005\u5173\u95ed\u7684\u65f6\u5019\uff0c\u7cfb\u7edf\u91cc\u9762\u7684\u4e0b\u8f7d\u7a0b\u5e8f\u8fd8\u80fd\u7ee7\u7eed\u8fd0\u884c\uff1f\n<\/p>\n<p><p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\">\u89e3\u51b3\u529e\u6cd5\uff1a\uff08\u4ee5CentOS\u7cfb\u7edf\u4e3a\u4f8b\uff09<\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\">1\u3001\u5b89\u88c5screen\u547d\u4ee4<\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\tyum&nbsp; install screen&nbsp;&nbsp;&nbsp;<span style=\"font-size:13px;background-color:transparent;\">#\u5b89\u88c5<\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\">2\u3001screen -S&nbsp; mysql5.5&nbsp;<\/span><strong><span style=\"color:#FF0000;\">&nbsp;&nbsp;<span style=\"font-size:13px;background-color:transparent;\">#\u521b\u5efascreen\u4f1a\u8bdd\uff0c\u81ea\u5b9a\u4e49screen\u865a\u62df\u7ec8\u7aef\u7684\u540d\u79f0\uff0cmysql5.5\u53ef\u4ee5\u6539\u4e3a\u4f60\u60f3\u8981\u7684\u540d\u79f0<\/span><\/span><\/strong>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\">3\u3001\u8fdb\u5165\/home\u76ee\u5f55\uff0c\u4f7f\u7528wget\u547d\u4ee4\u4e0b\u8f7d<a href=\"http:\/\/lib.csdn.net\/base\/mysql\" class=\"replace_word\" target=\"_blank\">MySQL<\/a>-5.5.25.tar.gz<\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\tcd&nbsp; \/home\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\twget http:\/\/<a href=\"http:\/\/lib.csdn.net\/base\/mysql\" class=\"replace_word\" target=\"_blank\">mysql<\/a>.mirror.kangaroot<a href=\"http:\/\/lib.csdn.net\/base\/dotnet\" class=\"replace_word\" target=\"_blank\">.net<\/a>\/Downloads\/MySQL-5.5\/mysql-5.5.25.tar.gz&nbsp;&nbsp;&nbsp;<span style=\"font-size:13px;background-color:transparent;\">#\u4e0b\u8f7d\uff08\u9700\u8981\u5148\u5b89\u88c5wget\u4e0b\u4e0b\u8f7d\u547d\u4ee4\uff09<\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\">4\u3001<a href=\"http:\/\/lib.csdn.net\/base\/softwaretest\" class=\"replace_word\" target=\"_blank\">\u6d4b\u8bd5<\/a><\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\">\u5173\u95edSSH\u8fdc\u7a0b\u8fde\u63a5\u7a97\u53e3\uff0c\u7136\u540e\u91cd\u65b0\u767b\u5f55<\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\"><span style=\"font-size:14px;line-height:26px;\">screen -r mysql5.5<\/span><span style=\"font-size:14px;line-height:26px;\">&nbsp;<\/span><span style=\"background-color:transparent;line-height:26px;\">#\u67e5\u770b\u4e4b\u524d\u7684\u4e0b\u8f7d\u4f1a\u8bdd\u865a\u62df\u7ec8\u7aef<\/span><br \/>\n<\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\"><span style=\"background-color:transparent;line-height:26px;\"><br \/>\n<\/span><\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\">\u53ef\u4ee5\u770b\u5230\u4e0b\u8f7d\u8fd8\u5728\u7ee7\u7eed\u8fdb\u884c\uff0c\u76ee\u7684\u8fbe\u5230\uff01<\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<strong><span style=\"font-size:13px;background-color:transparent;\">\u6269\u5c55\u9605\u8bfb\uff1a<\/span><\/strong>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<strong><span style=\"font-size:13px;background-color:transparent;\">screen -ls&nbsp; #\u67e5\u770b\u6240\u6709screen\u4f1a\u8bdd<\/span><\/strong>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<strong><span style=\"font-size:13px;background-color:transparent;\">\u6309\u952e\u76d8\u4e0a\u9762\u7684Ctrl+a\uff0c\u7136\u540e\u518d\u6309d&nbsp;&nbsp;&nbsp;&nbsp; #\u4fdd\u5b58\u5f53\u524d\u7684screen\u4f1a\u8bdd<\/span><\/strong>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<strong><span style=\"font-size:13px;background-color:transparent;\">exit&nbsp;&nbsp; #\u9000\u51fascreen<\/span><\/strong>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<span style=\"font-size:13px;background-color:transparent;\"><span style=\"background-color:transparent;line-height:26px;\"><\/span><\/span>\n\t<\/p>\n<p style=\"font-family:Arial;font-size:14px;\">\n\t\t<strong><span style=\"font-size:13px;background-color:transparent;\">screen -wipe&nbsp; mysql5.5&nbsp;&nbsp; #\u5220\u9664\u4f1a\u8bdd<\/span><\/strong>\n\t<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e0b\u8f7d\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4e0d\u5c0f\u5fc3\u628aSSH\u8fdc\u7a0b\u8fde\u63a5\u5173\u95ed\u4e86\uff0c\u8fd9\u4e2a\u65f6\u5019\u4e0b\u8f7d\u4e5f\u4f1a\u4e2d\u65ad \u5fc5\u987b\u91cd\u65b0\u767b\u5f55\u5230\u7cfb\u7edf\uff0c\u518d\u6b21\u624b\u52a8\u6267\u884c\u547d\u4ee4\uff0c\u624d\u80fd\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.shuran.cn\/?p=792\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-792","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts\/792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=792"}],"version-history":[{"count":1,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts\/792\/revisions"}],"predecessor-version":[{"id":793,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=\/wp\/v2\/posts\/792\/revisions\/793"}],"wp:attachment":[{"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shuran.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}