{"id":507829,"date":"2021-06-21T15:29:02","date_gmt":"2021-06-21T07:29:02","guid":{"rendered":"http:\/\/4563.org\/?p=507829"},"modified":"2021-06-21T15:29:02","modified_gmt":"2021-06-21T07:29:02","slug":"oracle%e7%94%b2%e9%aa%a8%e6%96%87%e4%ba%91%e5%bf%98%e8%ae%b0root%e5%af%86%e7%a0%81%e4%bf%9d%e5%a7%86%e7%ba%a7%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=507829","title":{"rendered":"oracle\u7532\u9aa8\u6587\u4e91\u5fd8\u8bb0root\u5bc6\u7801\u4fdd\u59c6\u7ea7\u6559\u7a0b"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>801N<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>oracle\u7532\u9aa8\u6587\u4e91\u5fd8\u8bb0root\u5bc6\u7801\u4fdd\u59c6\u7ea7\u6559\u7a0b<\/h3>\n<p>  \t\t\u4e00\u3001\u51c6\u5907\u5bc6\u94a5<br \/>  \u9996\u5148\u51c6\u5907\u4e00\u53f0Linux\u7cfb\u7edf\u7684VPS\u7528\u4e8e\u8f6c\u53d1\u53ca\u8ba4\u8bc1VNC\uff0c\u5728SSH\u4e2d\u6267\u884cssh-keygen\uff0c\u7136\u540e\u4e00\u76f4\u56de\u8f66\uff0c\u751f\u6210\u5f53\u524d\u7cfb\u7edf\u7684\u516c\u94a5\u53ca\u79c1\u94a5\uff1b\u6240\u6709\u7684\u9009\u9879\u9ed8\u8ba4\u5373\u53ef\uff0c\u8fd9\u91cc\u4e3a\u4e86\u65b9\u4fbf\u7528\u4e0d\u7740\u8bbe\u7f6e\u5bc6\u7801\uff0c\u6bd5\u7adf\u4e0d\u662f\u4f5c\u4e3a\u516c\u5f00\u4f7f\u7528\u7684\u3002\u5728\u751f\u6210\u5b8c\u6210\u540e\u5c06\/root\/.ssh\/\u76ee\u5f55\u4e0bid_rsa.pub\u4fdd\u5b58\u4e0b\u6765\uff0c\u5c06\u5176\u4e2d\u7684\u516c\u94a5\u5185\u5bb9\u590d\u5236\u4e0b\u6765\u3002<\/p>\n<p>  # ssh-keygen<br \/>  Generating public\/private rsa key pair.<br \/>  Enter file in which to save the key (\/root\/.ssh\/id_rsa): <br \/>  Enter passphrase (empty for no passphrase): <br \/>  Enter same passphrase again: <br \/>  Your identification has been saved in \/root\/.ssh\/id_rsa.<br \/>  Your public key has been saved in \/root\/.ssh\/id_rsa.pub.<br \/>  The key fingerprint is:<br \/>  SHA256:NAzBTKkheYA47KD\/R0\/uOF6udAw4RgBMq7hpXCK9krw root@web-24499<br \/>  The key&#8217;s randomart image is:<br \/>  +&#8212;&#8212;-+<br \/>  |*+oo ++o&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;|<br \/>  |=o+.o +o&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;|<br \/>  |+o o.o+&nbsp; &nbsp;&nbsp; &nbsp;|<br \/>  |+o &#8230; . .&nbsp; &nbsp;&nbsp; &nbsp; |<br \/>  |+o..+ . S&nbsp; &nbsp;&nbsp; &nbsp;|<br \/>  |+++o ..o.&nbsp; &nbsp;&nbsp; &nbsp;|<br \/>  |=+.. ..++&nbsp; &nbsp;&nbsp; &nbsp;|<br \/>  |&#8230; ..o=o&nbsp; &nbsp;&nbsp; &nbsp;|<br \/>  | E&nbsp; &nbsp;o++o&nbsp; &nbsp;&nbsp; &nbsp;|<br \/>  +&#8212;&#8212;&#8212;+<br \/>  # <br \/>  \u4e8c\u3001\u8bbe\u7f6eVNC<br \/>  \u8fdb\u5165\u7532\u9aa8\u6587\u7684\u63a7\u5236\u53f0\uff0c\u6253\u5f00\u5b9e\u4f8b\u7684\u9762\u677f\uff0c\u5728\u5de6\u4e0b\u89d2\u627e\u5230\u63a7\u5236\u53f0\u8fde\u63a5\uff0c\u70b9\u51fb\u521b\u5efa\u63a7\u5236\u53f0\u8fde\u63a5\u3002<\/p>\n<p>  \u9009\u62e9\u7c98\u8d34SSH\u5bc6\u94a5\uff0c\u5c06\u521a\u624d\u751f\u6210\u7684id_rsa.pub\u4e2d\u7684\u516c\u94a5\u5185\u5bb9\u7c98\u8d34\u8fdb\u53bb\uff0c\u5f53\u7136\u76f4\u63a5\u628a.pub\u4e0a\u4f20\u4e0a\u53bb\u4e5f\u53ef\u4ee5\u3002<\/p>\n<p>  \u521b\u5efa\u597d\u540e\uff0c\u9009\u62e9\u83dc\u5355\u4e2d\u7684\u590d\u5236Linux\/Mac\u7684\u4e32\u884c\u63a7\u5236\u53f0\u8fde\u63a5\uff0c\u5c06\u590d\u5236\u51fa\u6765\u7684\u5185\u5bb9\u7c98\u8d34\u5728\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u3002<\/p>\n<p>  \u4e09\u3001\u5f00\u542fLinux\/Mac\u7684\u4e32\u884c\u63a7\u5236\u53f0\u8fde\u63a5<br \/>  \u968f\u540e\u4f60\u53ef\u4ee5\u9009\u62e9\u76f4\u63a5\u590d\u5236\u5230ssh\u7684console\u53bb\u6267\u884c\uff0c\u4e5f\u53ef\u4ee5\u653e\u8fdb\u4e00\u4e2a.sh\u811a\u672c\u4e2d\u6267\u884c\uff0c\u6548\u679c\u662f\u76f8\u540c\u7684\uff1b\u6267\u884c\u540e\u53ef\u4ee5\u770b\u5230\u7531\u4e8e\u662f\u5bfc\u51fa\u516c\u94a5\u7684VPS\uff0c\u9996\u6b21\u8fde\u63a5\u4e24\u6b21\u786e\u8ba4\u7684\u8be2\u95ee\u76f4\u63a5\u8f93\u5165yes\u5373\u53ef\uff0c\u65e0\u9700\u4f60\u6307\u5b9a\u79c1\u94a5\u5373\u53ef\u901a\u8fc7\u7cfb\u7edf\u7684\u79c1\u94a5\u5b8c\u6210\u8ba4\u8bc1\u3002<\/p>\n<p>  \u56db\u3001\u8fdb\u5165\u62ef\u6551\u6a21\u5f0f<\/p>\n<p>  \u6309esc\u53ef\u4ee5\u8fdb\u5165KVM VIETUAL MACHINE<\/p>\n<p>  \u5728\u542f\u52a8\u865a\u62df\u673a\u51fa\u73b0\u5982\u4e0b\u754c\u9762\u7684\u65f6\u5019\u5c31\u6309\u201ce\u201d\u952e\u8fdb\u5165\u7f16\u8f91\u9009\u9879<\/p>\n<p>  \u6309 \u2193\u952e\u4e00\u76f4\u5230\u5e95\u90e8\u627e\u5230\u201cLANG=zh_CN.UTF-8\u201d\u8fd9\u53e5\uff0c\u5728UTF-8\u884c\u7f16\u8f91\u4fee\u6539\u4e24\u5904\uff0c\u9996\u76f8\u5c06ro\u6539\u4e3arw\uff0c\u5373\u53ea\u8bfb\u6539\u4e3a\u53ef\u8bfb\u5199\u6743\u9650\uff0c\u7136\u540e\u5728\u5c3e\u90e8\u52a0\u5165 init=\/bin\/sh<\/p>\n<p>  \u7136\u540e\u6309Ctrl+x\u3002<\/p>\n<p>  \u6267\u884cpasswd\u547d\u4ee4\uff0c\u4fee\u6539root\u5bc6\u7801\uff0c\u5bc6\u7801\u8981\u8f93\u5165\u4e24\u6b21\u8981\u6c42\u4e24\u6b21\u5bc6\u7801\u8981\u4e00\u81f4\u3002<\/p>\n<p>  \u5982\u679c\u4e4b\u524d\u7cfb\u7edf\u542f\u7528\u4e86selinux\uff0c\u5fc5\u987b\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5426\u5219\u5c06\u65e0**\u5e38\u542f\u52a8\u7cfb\u7edf\uff1atouch \/.autorelabel\u3002\u7136\u540e\u6267\u884c\u547d\u4ee4exec \/sbin\/init\u6765\u6b63\u5e38\u542f\u52a8\uff0c\u6216\u8005\u7528\u547d\u4ee4exec \/sbin\/reboot\u91cd\u542f\u5c31OK\u4e86\u3002<\/p>\n<p>  \u56fe\u7247\u7c98\u8d34\u4e0d\u663e\u793a\uff0c\u53ef\u4ee5\u79fb\u6b65\u6211\u535a\u5ba2\u67e5\u770b<br \/>  https:\/\/yinhanghao.com\/\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>BQQ<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u524d\u6392\u7559\u540d\uff0c\u8fd9\u662f\u8981\u706b\u7684\u5e16\u5b50\u3002<\/p>\n<p>  \u7b7e\u540d\u5e7f\u544a\u4f4d\u62db\u79df\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>jmmes<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tmjj\u6551\u661f\u5927\u4f6c\u51fa\u73b0\u4e86\uff01https:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u71d5\u5341\u4e09\u4e36<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tmark. \u4e00\u822c\u6211\u90fd\u662f\u5c71\u9e21\u91cd\u5efa :lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u9e3f\u661f\u5c14\u514b<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u725b\u903c\uff0c\u6211\u6b63\u5728\u627e\u8fd9\u4e2a\u6559\u7a0b\uff0c\u4f60\u7adf\u7136\u5c31\u53d1\u51fa\u6765\u4e86\u3002:lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>ban<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7ee7\u51fa\u73b03\u4f4dmjj\u91cd\u5efa\u5c0f\u9e21\u5f15\u5bfc\u5377\u6ca1\u6709\u514d\u8d39\u6807\u7b7e\u4e4b\u540e\uff0c\u8fd9\u4e2a\u975e\u5e38\u6709\u5fc5\u8981\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>cxuqry<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tmark\uff0c\u597d\u4e1c\u897f\u6536\u85cf\u4e86\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>801N \u5927\u4f6c\u6709\u8bdd\u8bf4 : orac&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/507829"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=507829"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/507829\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=507829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=507829"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=507829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}