{"id":21245,"date":"2020-02-01T22:46:57","date_gmt":"2020-02-01T14:46:57","guid":{"rendered":"http:\/\/4563.org\/?p=21245"},"modified":"2020-02-01T22:46:57","modified_gmt":"2020-02-01T14:46:57","slug":"%e4%ba%91%e7%ad%8f%e7%9a%84nat%e7%9a%84%e7%a3%81%e7%9b%98%e6%80%8e%e4%b9%88%e5%8f%aa%e6%9c%8916g%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=21245","title":{"rendered":"\u4e91\u7b4f\u7684NAT\u7684\u78c1\u76d8\u600e\u4e48\u53ea\u670916g\uff1f"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>fat00119<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-13 23:31:12\t<\/p>\n<h3>\u4e91\u7b4f\u7684NAT\u7684\u78c1\u76d8\u600e\u4e48\u53ea\u670916g\uff1f<\/h3>\n<p>  \t\t\u8bf4\u597d\u7684200g\u5462<\/p>\n<p>  https:\/\/cdn-i.imguz.cn\/2020\/01\/13\/image.png\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>etc<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-14 00:12:47\t<\/p>\n<h3><\/h3>\n<p>  \t\tzxxx \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-14 00:10<br \/>  \u5f00\u673a\u81ea\u52a8\u6302\u8f7d\uff0c\u662f\u4e0d\u662f\u9700\u8981\u81ea\u52a8\u6302\u8f7d\u7684\u811a\u672c\uff1f<\/p>\n<p> wget -O disk.sh http:\/\/download.bt.cn\/tools\/disk.sh &amp;&amp; bash disk.sh \/www<\/p>\n<p>  \u4e00\u952e\u6302\u8f7d\u5230\/www\u4e0b\u9762\uff0c\u811a\u672c\u6700\u540e\u7684\u76ee\u5f55\u53ef\u4ee5\u4fee\u6539:lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>CloudRaft<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-13 23:35:03\t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 CloudRaft \u4e8e 2020-1-13 23:45 \u7f16\u8f91 <\/p>\n<p> \u60a8\u597d\uff0c\u9700\u8981\u81ea\u884c\u6302\u8f7d\u78c1\u76d8<br \/>  https:\/\/iuimg.com\/images\/2020\/01\/13\/L4Eu.png<br \/>  \u547d\u4ee4\u5982\u4e0b\uff1a<br \/>  mkdir -p \/storage<br \/>  mkfs.ext4 \/dev\/vdb<br \/>  mount \/dev\/vdb \/storage<\/p>\n<p>  \u53c2\u8003\u6837\u4f8b<br \/>  # mkdir -p \/storage<br \/>  # mkfs.ext4 \/dev\/vdb<br \/>  mke2fs 1.42.9 (28-Dec-2013)<br \/>  Filesystem label=<br \/>  OS type: Linux<br \/>  Block size=4096 (log=2)<br \/>  Fragment size=4096 (log=2)<br \/>  Stride=0 blocks, Stripe width=0 blocks<br \/>  13107200 inodes, 52428800 blocks<br \/>  2621440 blocks (5.00%) reserved for the super user<br \/>  First data block=0<br \/>  Maximum filesystem blocks=2199912448<br \/>  1600 block groups<br \/>  32768 blocks per group, 32768 fragments per group<br \/>  8192 inodes per group<br \/>  Superblock backups stored on blocks: <br \/>  &nbsp; &nbsp; &nbsp; &nbsp; 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, <br \/>  &nbsp; &nbsp; &nbsp; &nbsp; 4096000, 7962624, 11239424, 20480000, 23887872<\/p>\n<p>  Allocating group tables: done&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; <br \/>  Writing inode tables: done&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; <br \/>  Creating journal (32768 blocks): done<br \/>  Writing superblocks and filesystem accounting information: done&nbsp; &nbsp;<\/p>\n<p>  # mount \/dev\/vdb \/storage<br \/>  # df -h<br \/>  Filesystem&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;SizeUsed Avail Use% Mounted on<br \/>  \/dev\/mapper\/centos-root&nbsp; &nbsp;17G1.2G&nbsp; &nbsp;16G&nbsp; &nbsp;7% \/<br \/>  devtmpfs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;227M&nbsp; &nbsp;0227M&nbsp; &nbsp;0% \/dev<br \/>  tmpfs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;238M&nbsp; &nbsp;0238M&nbsp; &nbsp;0% \/dev\/shm<br \/>  tmpfs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;238M4.5M234M&nbsp; &nbsp;2% \/run<br \/>  tmpfs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;238M&nbsp; &nbsp;0238M&nbsp; &nbsp;0% \/sys\/fs\/cgroup<br \/>  \/dev\/vda1&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;1014M188M827M19% \/boot<br \/>  tmpfs&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;48M&nbsp; &nbsp;0&nbsp; &nbsp;48M&nbsp; &nbsp;0% \/run\/user\/0<br \/>  \/dev\/vdb&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;197G&nbsp; &nbsp;61M187G&nbsp; &nbsp;1% \/storage  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u521d\u590f\u79d1\u6280<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-13 23:32:22\t<\/p>\n<h3><\/h3>\n<p>  \t\tguazai\u6302\u8f7d\u554a\u6302\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>fat00119<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-13 23:34:20\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u521d\u590f\u79d1\u6280 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-13 23:32<br \/>  guazai\u6302\u8f7d\u554a\u6302<\/p>\n<p> \u9ebb\u70e6\u5927\u4f6c\u8bf4\u8be6\u7ec6\u70b9 \u4e4b\u524d\u6ca1\u73a9\u8fc7\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>fat00119<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-14 00:08:33\t<\/p>\n<h3><\/h3>\n<p>  \t\tCloudRaft \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-13 23:35<br \/>  \u60a8\u597d\uff0c\u9700\u8981\u81ea\u884c\u6302\u8f7d\u78c1\u76d8<\/p>\n<p>  \u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<p> \u53ef\u4ee5\u4e86 \u8c22\u8c22\u8001\u677f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>zxxx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-14 00:10:44\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5f00\u673a\u81ea\u52a8\u6302\u8f7d\uff0c\u662f\u4e0d\u662f\u9700\u8981\u81ea\u52a8\u6302\u8f7d\u7684\u811a\u672c\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>dragonfsky<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-14 00:14:45\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u597d\u50cf\u5f88\u9999\u7684\u6837\u5b50\u554a \u6574\u4e0d\u6574\u53f0\u5462\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>tomcb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-14 00:17:07\t<\/p>\n<h3><\/h3>\n<p>  \t\tzxxx \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-14 00:10<br \/>  \u5f00\u673a\u81ea\u52a8\u6302\u8f7d\uff0c\u662f\u4e0d\u662f\u9700\u8981\u81ea\u52a8\u6302\u8f7d\u7684\u811a\u672c\uff1f<\/p>\n<p> \u52a0\u5230\/etc\/fstab\u91cc\uff0c\u5f00\u673a\u81ea\u52a8\u6302\u8f7d\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>etc<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-14 00:17:12\t<\/p>\n<h3><\/h3>\n<p>  \t\tdragonfsky \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-14 00:14<br \/>  \u597d\u50cf\u5f88\u9999\u7684\u6837\u5b50\u554a \u6574\u4e0d\u6574\u53f0\u5462<\/p>\n<p> \u7684\u786e\u5f88\u9999:lol\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>fat00119 \u5927\u4f6c\u6709\u8bdd\u8bf4 : &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\/21245"}],"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=21245"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/21245\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21245"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}