<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>NotionNext BLOG</title>
        <link>https://notionnext-66.4everland.app//</link>
        <description>这是一个由NotionNext生成的站点</description>
        <lastBuildDate>Mon, 13 May 2024 15:06:15 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en-US</language>
        <copyright>All rights reserved 2024, 王傅里</copyright>
        <item>
            <title><![CDATA[Kylin x86 ISO UDF安装失败]]></title>
            <link>https://notionnext-66.4everland.app//article/6c0cca4a-bab3-49a5-a126-8a3ef2e50f82</link>
            <guid>https://notionnext-66.4everland.app//article/6c0cca4a-bab3-49a5-a126-8a3ef2e50f82</guid>
            <pubDate>Wed, 09 Aug 2023 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-6c0cca4abab349a5a1268a3ef2e50f82"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><a target="_blank" rel="noopener noreferrer" href="https://github.com/storaged-project/blivet/pull/1084/files" class="notion-external notion-external-block notion-row notion-block-8e784cb447ff466bb12079ddc4a2dc32"><div class="notion-external-image"><svg viewBox="0 0 260 260"><g><path d="M128.00106,0 C57.3172926,0 0,57.3066942 0,128.00106 C0,184.555281 36.6761997,232.535542 87.534937,249.460899 C93.9320223,250.645779 96.280588,246.684165 96.280588,243.303333 C96.280588,240.251045 96.1618878,230.167899 96.106777,219.472176 C60.4967585,227.215235 52.9826207,204.369712 52.9826207,204.369712 C47.1599584,189.574598 38.770408,185.640538 38.770408,185.640538 C27.1568785,177.696113 39.6458206,177.859325 39.6458206,177.859325 C52.4993419,178.762293 59.267365,191.04987 59.267365,191.04987 C70.6837675,210.618423 89.2115753,204.961093 96.5158685,201.690482 C97.6647155,193.417512 100.981959,187.77078 104.642583,184.574357 C76.211799,181.33766 46.324819,170.362144 46.324819,121.315702 C46.324819,107.340889 51.3250588,95.9223682 59.5132437,86.9583937 C58.1842268,83.7344152 53.8029229,70.715562 60.7532354,53.0843636 C60.7532354,53.0843636 71.5019501,49.6441813 95.9626412,66.2049595 C106.172967,63.368876 117.123047,61.9465949 128.00106,61.8978432 C138.879073,61.9465949 149.837632,63.368876 160.067033,66.2049595 C184.49805,49.6441813 195.231926,53.0843636 195.231926,53.0843636 C202.199197,70.715562 197.815773,83.7344152 196.486756,86.9583937 C204.694018,95.9223682 209.660343,107.340889 209.660343,121.315702 C209.660343,170.478725 179.716133,181.303747 151.213281,184.472614 C155.80443,188.444828 159.895342,196.234518 159.895342,208.176593 C159.895342,225.303317 159.746968,239.087361 159.746968,243.303333 C159.746968,246.709601 162.05102,250.70089 168.53925,249.443941 C219.370432,232.499507 256,184.536204 256,128.00106 C256,57.3066942 198.691187,0 128.00106,0 Z M47.9405593,182.340212 C47.6586465,182.976105 46.6581745,183.166873 45.7467277,182.730227 C44.8183235,182.312656 44.2968914,181.445722 44.5978808,180.80771 C44.8734344,180.152739 45.876026,179.97045 46.8023103,180.409216 C47.7328342,180.826786 48.2627451,181.702199 47.9405593,182.340212 Z M54.2367892,187.958254 C53.6263318,188.524199 52.4329723,188.261363 51.6232682,187.366874 C50.7860088,186.474504 50.6291553,185.281144 51.2480912,184.70672 C51.8776254,184.140775 53.0349512,184.405731 53.8743302,185.298101 C54.7115892,186.201069 54.8748019,187.38595 54.2367892,187.958254 Z M58.5562413,195.146347 C57.7719732,195.691096 56.4895886,195.180261 55.6968417,194.042013 C54.9125733,192.903764 54.9125733,191.538713 55.713799,190.991845 C56.5086651,190.444977 57.7719732,190.936735 58.5753181,192.066505 C59.3574669,193.22383 59.3574669,194.58888 58.5562413,195.146347 Z M65.8613592,203.471174 C65.1597571,204.244846 63.6654083,204.03712 62.5716717,202.981538 C61.4524999,201.94927 61.1409122,200.484596 61.8446341,199.710926 C62.5547146,198.935137 64.0575422,199.15346 65.1597571,200.200564 C66.2704506,201.230712 66.6095936,202.705984 65.8613592,203.471174 Z M75.3025151,206.281542 C74.9930474,207.284134 73.553809,207.739857 72.1039724,207.313809 C70.6562556,206.875043 69.7087748,205.700761 70.0012857,204.687571 C70.302275,203.678621 71.7478721,203.20382 73.2083069,203.659543 C74.6539041,204.09619 75.6035048,205.261994 75.3025151,206.281542 Z M86.046947,207.473627 C86.0829806,208.529209 84.8535871,209.404622 83.3316829,209.4237 C81.8013,209.457614 80.563428,208.603398 80.5464708,207.564772 C80.5464708,206.498591 81.7483088,205.631657 83.2786917,205.606221 C84.8005962,205.576546 86.046947,206.424403 86.046947,207.473627 Z M96.6021471,207.069023 C96.7844366,208.099171 95.7267341,209.156872 94.215428,209.438785 C92.7295577,209.710099 91.3539086,209.074206 91.1652603,208.052538 C90.9808515,206.996955 92.0576306,205.939253 93.5413813,205.66582 C95.054807,205.402984 96.4092596,206.021919 96.6021471,207.069023 Z" fill="#161614"></path></g></svg></div><div class="notion-external-description"><div class="notion-external-title">Add a basic read-only support for UDF filesystem</div><div class="notion-external-subtitle"><span>Updated <!-- -->Dec 9, 2022</span></div></div></a><a target="_blank" rel="noopener noreferrer" href="https://github.com/rhinstaller/anaconda/pull/4549/files" class="notion-external notion-external-block notion-row notion-block-46dcdf354edc4bbbb96635da28765ea9"><div class="notion-external-image"><svg viewBox="0 0 260 260"><g><path d="M128.00106,0 C57.3172926,0 0,57.3066942 0,128.00106 C0,184.555281 36.6761997,232.535542 87.534937,249.460899 C93.9320223,250.645779 96.280588,246.684165 96.280588,243.303333 C96.280588,240.251045 96.1618878,230.167899 96.106777,219.472176 C60.4967585,227.215235 52.9826207,204.369712 52.9826207,204.369712 C47.1599584,189.574598 38.770408,185.640538 38.770408,185.640538 C27.1568785,177.696113 39.6458206,177.859325 39.6458206,177.859325 C52.4993419,178.762293 59.267365,191.04987 59.267365,191.04987 C70.6837675,210.618423 89.2115753,204.961093 96.5158685,201.690482 C97.6647155,193.417512 100.981959,187.77078 104.642583,184.574357 C76.211799,181.33766 46.324819,170.362144 46.324819,121.315702 C46.324819,107.340889 51.3250588,95.9223682 59.5132437,86.9583937 C58.1842268,83.7344152 53.8029229,70.715562 60.7532354,53.0843636 C60.7532354,53.0843636 71.5019501,49.6441813 95.9626412,66.2049595 C106.172967,63.368876 117.123047,61.9465949 128.00106,61.8978432 C138.879073,61.9465949 149.837632,63.368876 160.067033,66.2049595 C184.49805,49.6441813 195.231926,53.0843636 195.231926,53.0843636 C202.199197,70.715562 197.815773,83.7344152 196.486756,86.9583937 C204.694018,95.9223682 209.660343,107.340889 209.660343,121.315702 C209.660343,170.478725 179.716133,181.303747 151.213281,184.472614 C155.80443,188.444828 159.895342,196.234518 159.895342,208.176593 C159.895342,225.303317 159.746968,239.087361 159.746968,243.303333 C159.746968,246.709601 162.05102,250.70089 168.53925,249.443941 C219.370432,232.499507 256,184.536204 256,128.00106 C256,57.3066942 198.691187,0 128.00106,0 Z M47.9405593,182.340212 C47.6586465,182.976105 46.6581745,183.166873 45.7467277,182.730227 C44.8183235,182.312656 44.2968914,181.445722 44.5978808,180.80771 C44.8734344,180.152739 45.876026,179.97045 46.8023103,180.409216 C47.7328342,180.826786 48.2627451,181.702199 47.9405593,182.340212 Z M54.2367892,187.958254 C53.6263318,188.524199 52.4329723,188.261363 51.6232682,187.366874 C50.7860088,186.474504 50.6291553,185.281144 51.2480912,184.70672 C51.8776254,184.140775 53.0349512,184.405731 53.8743302,185.298101 C54.7115892,186.201069 54.8748019,187.38595 54.2367892,187.958254 Z M58.5562413,195.146347 C57.7719732,195.691096 56.4895886,195.180261 55.6968417,194.042013 C54.9125733,192.903764 54.9125733,191.538713 55.713799,190.991845 C56.5086651,190.444977 57.7719732,190.936735 58.5753181,192.066505 C59.3574669,193.22383 59.3574669,194.58888 58.5562413,195.146347 Z M65.8613592,203.471174 C65.1597571,204.244846 63.6654083,204.03712 62.5716717,202.981538 C61.4524999,201.94927 61.1409122,200.484596 61.8446341,199.710926 C62.5547146,198.935137 64.0575422,199.15346 65.1597571,200.200564 C66.2704506,201.230712 66.6095936,202.705984 65.8613592,203.471174 Z M75.3025151,206.281542 C74.9930474,207.284134 73.553809,207.739857 72.1039724,207.313809 C70.6562556,206.875043 69.7087748,205.700761 70.0012857,204.687571 C70.302275,203.678621 71.7478721,203.20382 73.2083069,203.659543 C74.6539041,204.09619 75.6035048,205.261994 75.3025151,206.281542 Z M86.046947,207.473627 C86.0829806,208.529209 84.8535871,209.404622 83.3316829,209.4237 C81.8013,209.457614 80.563428,208.603398 80.5464708,207.564772 C80.5464708,206.498591 81.7483088,205.631657 83.2786917,205.606221 C84.8005962,205.576546 86.046947,206.424403 86.046947,207.473627 Z M96.6021471,207.069023 C96.7844366,208.099171 95.7267341,209.156872 94.215428,209.438785 C92.7295577,209.710099 91.3539086,209.074206 91.1652603,208.052538 C90.9808515,206.996955 92.0576306,205.939253 93.5413813,205.66582 C95.054807,205.402984 96.4092596,206.021919 96.6021471,207.069023 Z" fill="#161614"></path></g></svg></div><div class="notion-external-description"><div class="notion-external-title">fix the failure to mount ISO with UDF filesystem</div><div class="notion-external-subtitle"><span>Updated <!-- -->Sep 26, 2023</span></div></div></a><div class="notion-blank notion-block-da49758d726f42fcae110c9bc3f68d50"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-197be3d61c4e4aa0be4621b87abfb1ba" data-id="197be3d61c4e4aa0be4621b87abfb1ba"><span><div id="197be3d61c4e4aa0be4621b87abfb1ba" class="notion-header-anchor"></div><a class="notion-hash-link" href="#197be3d61c4e4aa0be4621b87abfb1ba" title="Root Cause"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Root Cause</span></span></h2><div class="notion-text notion-block-239f75595069429fb507dafa175a122a">anaconda不支持udf文件系统</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-8c516be195354c02a9d967b8853d96c1" data-id="8c516be195354c02a9d967b8853d96c1"><span><div id="8c516be195354c02a9d967b8853d96c1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#8c516be195354c02a9d967b8853d96c1" title="Solution"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Solution</span></span></h2><div class="notion-text notion-block-47d49a77930f423a8b67eedf2aa46f46">修改anaconda,生成新的<a class="notion-link" href="/294d1f66fba64c1abee8b10433b2b14f">updates.img</a></div><div class="notion-blank notion-block-bc6e621382284403bdae5f54e7176a7d"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[电源DPM]]></title>
            <link>https://notionnext-66.4everland.app//article/5281c7c3-73a6-4b9e-b072-2fc88b322224</link>
            <guid>https://notionnext-66.4everland.app//article/5281c7c3-73a6-4b9e-b072-2fc88b322224</guid>
            <pubDate>Mon, 13 May 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-5281c7c373a64b9eb0722fc88b322224"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-eeeda528f3664819989aea2cde0482dd" data-id="eeeda528f3664819989aea2cde0482dd"><span><div id="eeeda528f3664819989aea2cde0482dd" class="notion-header-anchor"></div><a class="notion-hash-link" href="#eeeda528f3664819989aea2cde0482dd" title="实验"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">实验</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-7e7ba8ac4c3942d1ab6a00fcec9feb0c" data-id="7e7ba8ac4c3942d1ab6a00fcec9feb0c"><span><div id="7e7ba8ac4c3942d1ab6a00fcec9feb0c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#7e7ba8ac4c3942d1ab6a00fcec9feb0c" title="如何进入挂起/"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">如何进入挂起/</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-06faa9fdaeaf424da42c041ca1b7852d" data-id="06faa9fdaeaf424da42c041ca1b7852d"><span><div id="06faa9fdaeaf424da42c041ca1b7852d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#06faa9fdaeaf424da42c041ca1b7852d" title="Centos"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Centos</span></span></h4><div class="notion-text notion-block-1133736ffd704634b6bfd8db75eded67">挂起</div><div class="notion-text notion-block-b685c73bc75648df80fd4e3547761503">systemctl suspend </div><div class="notion-text notion-block-19bf1030542c441a8fa248a92d79a565">休眠</div><div class="notion-text notion-block-c478c07a3a0b4fce8aa25e81c80caf39">systemctl hibernate</div><div class="notion-text notion-block-376f61ece2144950828657fa070cf5f6">恢复</div><div class="notion-blank notion-block-64003b227df04667b26dd42b3b4a549d"> </div><div class="notion-blank notion-block-64617dcefbd54b03a41bdbd010ae1a38"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-e3037d6399cf48b7877a212ebdb24de5" data-id="e3037d6399cf48b7877a212ebdb24de5"><span><div id="e3037d6399cf48b7877a212ebdb24de5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e3037d6399cf48b7877a212ebdb24de5" title="术语"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">术语</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-6a598f04d8664ced879e5fc84b4c1db2" data-id="6a598f04d8664ced879e5fc84b4c1db2"><span><div id="6a598f04d8664ced879e5fc84b4c1db2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#6a598f04d8664ced879e5fc84b4c1db2" title="CPU C-State(CPU C状态)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">CPU C-State(CPU C状态)</span></span></h3><div class="notion-text notion-block-4856910793814bdbb9af21874bfd0162">CPU C状态是指处理器（CPU）的不同功耗状态，也称为C-states（C0、C1、C2、C3、C4等）。这些C状态表示CPU在不同的工作负载条件下的不同能耗级别和响应时间。</div><div class="notion-text notion-block-e36358f221d24e09a8bae935fc9fb83d">通常会有几个选项可供选择，例如C0、C1、C3、C6等，其中C0是最高功耗状态，C6是最低功耗状态。请注意，不同的计算机和CPU可能会提供不同的C状态选项</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-0f9f80f882c641588467d1e53905a52a" data-id="0f9f80f882c641588467d1e53905a52a"><span><div id="0f9f80f882c641588467d1e53905a52a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0f9f80f882c641588467d1e53905a52a" title="内核参数"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">内核参数</span></span></h4><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-cfe4d5a32bcb429f80845fb71875f7de" data-id="cfe4d5a32bcb429f80845fb71875f7de"><span><div id="cfe4d5a32bcb429f80845fb71875f7de" class="notion-header-anchor"></div><a class="notion-hash-link" href="#cfe4d5a32bcb429f80845fb71875f7de" title="ACPI Processor States(ACPI P状态)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">ACPI Processor States(ACPI P状态)</span></span></h3><div class="notion-text notion-block-8014429168a64f5494bd391c4f35a1b6">是指处理器（CPU）的不同功耗状态，用于实现动态调整处理器频率和电压以实现节能和性能平衡。P状态是ACPI（Advanced Configuration and Power Interface）标准中定义的一部分。</div><div class="notion-blank notion-block-ab96f12d7eb34d59babb2cdcde3e4f31"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker构建基于Centos镜像删除不需要的systemd服务]]></title>
            <link>https://notionnext-66.4everland.app//article/64745250-a4ea-4165-8533-14d850695b49</link>
            <guid>https://notionnext-66.4everland.app//article/64745250-a4ea-4165-8533-14d850695b49</guid>
            <pubDate>Fri, 13 May 2022 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-64745250a4ea4165853314d850695b49"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BIOS]]></title>
            <link>https://notionnext-66.4everland.app//article/10ada132-1796-49bd-a5cb-e60e96f40f56</link>
            <guid>https://notionnext-66.4everland.app//article/10ada132-1796-49bd-a5cb-e60e96f40f56</guid>
            <pubDate>Fri, 13 May 2022 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-10ada132179649bda5cbe60e96f40f56"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-2ed2bdeefa27408ca6de2cffc79f890c" data-id="2ed2bdeefa27408ca6de2cffc79f890c"><span><div id="2ed2bdeefa27408ca6de2cffc79f890c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2ed2bdeefa27408ca6de2cffc79f890c" title="What is BIOS"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">What is <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/BIOS">BIOS</a></span></span></h2><div class="notion-text notion-block-7811c45d67264c129a156c7c06775d0a"><b>IOS</b> (<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Help:IPA/English">/ˈbaɪɒs, -oʊs/</a>, <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Help:Pronunciation_respelling_key"><em>BY-oss, -⁠ohss</em></a>; an <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Acronym">acronym</a> for <b>Basic Input/Output System</b> and also known as the <b>System BIOS</b>, <b>ROM BIOS</b>, <b>BIOS ROM</b> or <b>PC BIOS</b>) is <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Firmware">firmware</a> used to perform <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Computer_hardware">hardware</a> initialization during the <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Booting">booting</a> process (power-on startup)</div><div class="notion-text notion-block-cb2b471dc24049b380fc496ff2ed52d3">Originally, BIOS firmware was stored in a <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Read-only_memory">ROM</a> chip on the PC motherboard.</div><div class="notion-blank notion-block-c3301358cebe4e43bb81d2e4d315853b"> </div><div class="notion-text notion-block-0918fab2e72c4fe5ac803b9c574782d9">BIOS(Basic Input Output System) 基本输入输出系统，是加载在计算机主板芯片上最基本的程序代码。它保存着计算机最重要的基本输入输出的程序、开机后自检程序和系统自启动程序。其主要功能是为计算机提供最底层的、最直接的硬件设置和控制，寻找启动设备，启动系统或其他预引导环境等。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-3552948db5954b7caa5440ff1dccb7a3" data-id="3552948db5954b7caa5440ff1dccb7a3"><span><div id="3552948db5954b7caa5440ff1dccb7a3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3552948db5954b7caa5440ff1dccb7a3" title="BIOS识别硬件"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">BIOS识别硬件</span></span></h2><div class="notion-text notion-block-084990254b564e5880d222842993cb9a">BIOS（基本输入/输出系统）是计算机上的一种固件，负责在计算机启动时执行硬件初始化并将控制权交给操作系统。它同时充当硬件和操作系统之间的桥梁，使得操作系统可以与硬件进行通信。</div><div class="notion-text notion-block-8fa2ebcda36f4c37acf97b1b014c32d3">在计算机启动时，BIOS会执行自检（称为POST，即加电自检），检测并识别连接到计算机的设备。设备识别主要依赖设备的硬件ID，这些ID通常存储在设备的ROM（只读存储器）中。硬件ID可以包括设备制造商、设备型号、序列号等信息。</div><div class="notion-text notion-block-4c3a3b70da634134b984154fdc8e7adc">对于某些设备（如硬盘、光驱、键盘、鼠标等），BIOS可以直接检测并识别它们。然而，对于其他设备（如显卡、声卡、网络适配器等），BIOS通常只识别其类别，而具体的设备名称和功能需要在操作系统层面识别和处理。</div><div class="notion-text notion-block-09b3ef132f444fb6a2a91c396c0eb1bf">BIOS识别设备名称的过程如下：</div><ol start="1" class="notion-list notion-list-numbered notion-block-12330740af1e48939342993e4ac01977"><li>计算机加电后，BIOS首先执行POST，检查系统硬件。</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-07c55eff900c4c47ad3b0ec8bf55bc7f"><li>BIOS扫描系统总线（如PCI、PCIe、ISA、USB等），查询连接到总线的设备。</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-698387a91ea24b648f8d6867934701e6"><li>对于每个找到的设备，BIOS会读取其硬件ID，该ID通常存储在设备的ROM中。</li></ol><ol start="4" class="notion-list notion-list-numbered notion-block-a5d35b9eb2b9474bb1da6a04b70c337c"><li>BIOS根据识别到的设备信息，对硬件进行初始化并进行基本配置。</li></ol><div class="notion-text notion-block-3d4e76038e924b4f96ec78e45439b1c4">需要注意的是，BIOS仅负责基本硬件的初始化和识别。具体设备的驱动和高级功能将在操作系统加载并安装相应驱动程序后才能正常工作。在操作系统层面，设备管理器可以提供详细的设备名称和状态信息。</div><div class="notion-callout notion-red_background_co notion-block-9bb59435dcd54562ae45d79db1d56f70"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="📌">📌</span></div><div class="notion-callout-text">ROM(固件)更新可能会导致设备名称发生变化</div></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-d7da4180b6e24a1a81e2ba7f316646e5" data-id="d7da4180b6e24a1a81e2ba7f316646e5"><span><div id="d7da4180b6e24a1a81e2ba7f316646e5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#d7da4180b6e24a1a81e2ba7f316646e5" title="POST (Power-on self-test)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Power-on_self-test">POST</a> (Power-on self-test)</span></span></h2><div class="notion-text notion-block-8b95c17805274cab9ba07e11afa29579">A <b>power-on self-test</b> (<b>POST</b>) is a process performed by <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Firmware">firmware</a> or <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Software">software</a> routines immediately after a computer or other digital electronic device is powered on</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-60455fa9bb6943539af8acc237de3571" data-id="60455fa9bb6943539af8acc237de3571"><span><div id="60455fa9bb6943539af8acc237de3571" class="notion-header-anchor"></div><a class="notion-hash-link" href="#60455fa9bb6943539af8acc237de3571" title="Option ROMs"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Option ROMs</span></span></h3><div class="notion-text notion-block-b4e64173a2084001a68ccb761531ac59">BIOS may hand some of these duties to other programs designed to initialize very specific <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Peripheral_device">peripheral devices</a>, notably for video and <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/SCSI">SCSI</a> initialization. These other duty-specific programs are generally known collectively as <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Option_ROM">option ROMs</a> or individually as the <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Video_BIOS">video BIOS</a>, SCSI BIOS, etc.</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-67e646da2481418f81dbf2d731d28522" data-id="67e646da2481418f81dbf2d731d28522"><span><div id="67e646da2481418f81dbf2d731d28522" class="notion-header-anchor"></div><a class="notion-hash-link" href="#67e646da2481418f81dbf2d731d28522" title="principal duties"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">principal duties</span></span></h3><div class="notion-text notion-block-55ed22ceb49e4641b419c2b32ac01d97">The principal duties of the main BIOS during POST are as follows:</div><ul class="notion-list notion-list-disc notion-block-275a0616ebc2426c84e393114a2ab15b"><li>verify CPU registers</li></ul><ul class="notion-list notion-list-disc notion-block-0adcde85c6e54343ae6edd56b2b6b276"><li>verify the integrity of the BIOS code itself</li></ul><ul class="notion-list notion-list-disc notion-block-02e5cd7ec53e458b883d64c9a460b53a"><li>verify some basic components like DMA, timer, interrupt controller</li></ul><ul class="notion-list notion-list-disc notion-block-e8c7bdd3271e4875b5c93bc3049472e6"><li>initialize, size, and verify system <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Main_memory">main memory</a></li></ul><ul class="notion-list notion-list-disc notion-block-56d957f6335f4e1ea29fde982d148005"><li>initialize BIOS</li></ul><ul class="notion-list notion-list-disc notion-block-4ba1a33c94a74209bd18dd01da3e7094"><li>pass control to other specialized extension BIOSes (if installed)</li></ul><ul class="notion-list notion-list-disc notion-block-69332ebc2328495db815b58815b02132"><li>identify, organize, and select which devices are available for booting</li></ul><div class="notion-text notion-block-ef44483174ad49f6b65a9ed6dd8c817a">The functions above are served by the POST in all BIOS versions back to the very first. In later BIOS versions, POST will also:</div><ul class="notion-list notion-list-disc notion-block-fdcb929d4b024cc99108124bb2077a38"><li>initialize <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Chipset">chipset</a></li></ul><ul class="notion-list notion-list-disc notion-block-1d61747b1b074769bfeaa9526366da3b"><li>discover, initialize, and catalog all <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/System_bus">system buses</a> and devices</li></ul><ul class="notion-list notion-list-disc notion-block-c537aa1cf2bb4e59b2fbf677438ee484"><li>provide a <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/User_interface">user interface</a> for system&#x27;s configuration</li></ul><ul class="notion-list notion-list-disc notion-block-9843e6e260354db8aabf2c59e235a186"><li>construct whatever system environment is required by the target <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Operating_system">operating system</a></li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-2d79d99009394aae844f3ad38340720e" data-id="2d79d99009394aae844f3ad38340720e"><span><div id="2d79d99009394aae844f3ad38340720e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2d79d99009394aae844f3ad38340720e" title="How BIOS Works"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">How BIOS Works</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-9438be895f834ad1844be99f664b60b1" data-id="9438be895f834ad1844be99f664b60b1"><span><div id="9438be895f834ad1844be99f664b60b1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#9438be895f834ad1844be99f664b60b1" title="reset vector"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Reset_vector">reset vector</a></span></span></h3><div class="notion-text notion-block-a56324dd2a784ecd98ab6882b6c04ab6">In <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Computing">computing</a>, the <b>reset vector</b> is the default location a <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Central_processing_unit">central processing unit</a> will go to find the first <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Instruction_(computer_science)">instruction</a> it will execute after a <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Reset_(computing)">reset</a>. The reset vector is a <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Pointer_(computer_programming)">pointer</a> or <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Memory_address">address</a>, where the CPU should always begin as soon as it is able to execute instructions. The address is in a section of <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Non-volatile_memory">non-volatile memory</a> initialized to contain instructions to start the operation of the CPU, as the first step in the process of <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://en.wikipedia.org/wiki/Booting">booting</a> the system containing the CPU.</div><div class="notion-blank notion-block-ae1c00e6225a4fa6ac46582073418ee3"> </div><div class="notion-text notion-block-3f66017ec9cd40b0acec09d4b8a02039">The BIOS has 4 main functions:</div><div class="notion-text notion-block-57c036f78a884dbeb3fe5f8edbacc7d1"><b>POST - </b>Test computer hardware insuring hardware is properly functioning before starting process of loading Operating System.</div><div class="notion-text notion-block-0c28f54b2efe4e5dae27c98dd0d0d015"><b>Bootstrap Loader - </b>Process of locating the operating system. If capable Operating system located BIOS will pass the control to it.</div><div class="notion-text notion-block-a65932a232ca47ad9c182df1073049d6"><b>BIOS - </b>Software / Drivers which interfaces between the operating system and your hardware. When running DOS or Windows you are using complete BIOS support.</div><div class="notion-text notion-block-6dc86a9ec4e14ab38ae4a934825fdf54"><b>CMOS Setup - </b>Configuration program. Which allows you to configure hardware settings including system settings such as computer passwords, time, and date.</div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-e284d42c5fb440faa69312e18d5611eb" href="http://flint.cs.yale.edu/feng/cos/resources/BIOS/"><div><div class="notion-bookmark-title">How BIOS Works</div><div class="notion-bookmark-description">What new: What are the interested properties? - Feedback from BIOS and Device Driver hackers The Machine Model Every computer with a motherboard includes a special chip referred to as the BIOS or ROM BIOS ( Read Only Memory Basic Input/Output System). The BIOS includes instructions on how to load basic computer hardware.</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-text">http://flint.cs.yale.edu/feng/cos/resources/BIOS/</div></div></div></a></div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-32584168afdf464a9cc74a2fededb57d" href="https://computer.howstuffworks.com/bios.htm"><div><div class="notion-bookmark-title">How BIOS Works</div><div class="notion-bookmark-description">One of the most common uses of Flash memory is for the basic input/output system of your computer, commonly known as the BIOS. On virtually every system available, the BIOS makes sure all the other chips, hard drives, ports and CPU function together.</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/image/https%3A%2F%2Fcomputer.howstuffworks.com%2Ffavicon.ico?table=block&amp;id=32584168-afdf-464a-9cc7-4a2fededb57d&amp;t=32584168-afdf-464a-9cc7-4a2fededb57d" alt="How BIOS Works" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://computer.howstuffworks.com/bios.htm</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fcdn.hswstatic.com%2Fgif%2Fbios-ch.jpg?table=block&amp;id=32584168-afdf-464a-9cc7-4a2fededb57d&amp;t=32584168-afdf-464a-9cc7-4a2fededb57d" alt="How BIOS Works" loading="lazy" decoding="async"/></div></a></div><div class="notion-blank notion-block-3a06f17f1c4345879f55916d11b5b9bf"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-54a450e5c2b848e78c941d2cc12d1d94" data-id="54a450e5c2b848e78c941d2cc12d1d94"><span><div id="54a450e5c2b848e78c941d2cc12d1d94" class="notion-header-anchor"></div><a class="notion-hash-link" href="#54a450e5c2b848e78c941d2cc12d1d94" title="How to read/write all BIOS settings from Linux CLI?"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://superuser.com/questions/1148731/how-to-read-write-all-bios-settings-from-linux-cli">How to read/write all BIOS settings from Linux CLI?</a></span></span></h2><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-de43545fa75f4da1b593e2b3cd0fc5f8" data-id="de43545fa75f4da1b593e2b3cd0fc5f8"><span><div id="de43545fa75f4da1b593e2b3cd0fc5f8" class="notion-header-anchor"></div><a class="notion-hash-link" href="#de43545fa75f4da1b593e2b3cd0fc5f8" title="Where is the CMOS setup utility stored?"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://superuser.com/questions/786547/where-is-the-cmos-setup-utility-stored">Where is the CMOS setup utility stored?</a></span></span></h2><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-16ab66c0e3bb4bde809829350be4697d" data-id="16ab66c0e3bb4bde809829350be4697d"><span><div id="16ab66c0e3bb4bde809829350be4697d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#16ab66c0e3bb4bde809829350be4697d" title="CMOS"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://www.bilibili.com/read/cv223159">CMOS</a></span></span></h2><div class="notion-text notion-block-2ef9e7af622d4c5c861e1d40afa2449d">在计算机领域，CMOS常指保存计算机基本启动信息（如日期、时间、启动设置等）的芯片。有时人们会把CMOS和BIOS混称，其实CMOS是主板上的一块可读写的并行或串行FLASH芯片，是用来保存<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://baike.baidu.com/item/BIOS">BIOS</a>
的硬件配置和用户对某些参数的设定。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-a1bc0f26c19a4233a338dd0cbd5d67cc" data-id="a1bc0f26c19a4233a338dd0cbd5d67cc"><span><div id="a1bc0f26c19a4233a338dd0cbd5d67cc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a1bc0f26c19a4233a338dd0cbd5d67cc" title="使用命令行修改服务器BIOS"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">使用命令行修改服务器BIOS</span></span></h2><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-c89f39b943b2465a8ad5acf8df61c6f3" href="https://huataihuang.gitbooks.io/cloud-atlas/content/server/firmware/modify_bios_through_linux_command.html"><div><div class="notion-bookmark-title">通过linux命令行修改服务器BIOS配置</div><div class="notion-bookmark-description">Dell Poweredge可以通过一个名为 syscfg工具来修改BIOS配置，并且可以批量修改，无需直接访问服务器。（ How to change Dell&#x27;s BIOS settings from a Linux command-line ） 安装软件包 # cd ; wget -q -O - http://linux.dell.com/repo/hardware/bootstrap.cgi | bash # yum install srvadmin-hapi # wget ftp://ftp.us.dell.com/sysman/dtk_2.5_80_Linux.iso # mkdir dtk # mount -o loop dtk_2.5_80_Linux.iso dtk/ # cd dtk/isolinux/ # cp SA.2 ~/SA.2.gz # cd;</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/image/https%3A%2F%2Fgstatic.gitbook.com%2Fimages%2Fb1c4c86ca817a71628d2debe73be9a64.ico?table=block&amp;id=c89f39b9-43b2-465a-8ad5-acf8df61c6f3&amp;t=c89f39b9-43b2-465a-8ad5-acf8df61c6f3" alt="通过linux命令行修改服务器BIOS配置" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://huataihuang.gitbooks.io/cloud-atlas/content/server/firmware/modify_bios_through_linux_command.html</div></div></div></a></div><div></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-d833d4e222894e5ea9be8371cc23fe12" data-id="d833d4e222894e5ea9be8371cc23fe12"><span><div id="d833d4e222894e5ea9be8371cc23fe12" class="notion-header-anchor"></div><a class="notion-hash-link" href="#d833d4e222894e5ea9be8371cc23fe12" title="Clod Boot"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Clod Boot</span></span></h2><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-2e52e9c83256466ab27f7db73dbfa960" data-id="2e52e9c83256466ab27f7db73dbfa960"><span><div id="2e52e9c83256466ab27f7db73dbfa960" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2e52e9c83256466ab27f7db73dbfa960" title="Warm Boot"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Warm Boot</span></span></h2><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-321ba566a044426da4efd7175dcedef7" data-id="321ba566a044426da4efd7175dcedef7"><span><div id="321ba566a044426da4efd7175dcedef7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#321ba566a044426da4efd7175dcedef7" title="设置Boot Menu"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">设置Boot Menu</span></span></h2><div class="notion-text notion-block-b930f91e3aee4f249e26f2e5b4efec29">Boot Option 的Network对应的是Network Driver BBS中的网卡</div><div class="notion-blank notion-block-78cd2e4ec9cc40a38451a3c2b3973309"> </div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-711fcc857c4c4288b05e693c13e5dd5a"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:406px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F97511978-2ff6-4d77-b217-1b3cde8cd948%2FUntitled.png?table=block&amp;id=711fcc85-7c4c-4288-b05e-693c13e5dd5a&amp;t=711fcc85-7c4c-4288-b05e-693c13e5dd5a&amp;width=406&amp;cache=v2" alt="notion image" loading="lazy" decoding="async"/></div></figure><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-8648e3f08ddf4568bff481e0b0d8ffdb"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:267px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F629ff112-aed5-4417-9e2a-fbac2473faa1%2FUntitled.png?table=block&amp;id=8648e3f0-8ddf-4568-bff4-81e0b0d8ffdb&amp;t=8648e3f0-8ddf-4568-bff4-81e0b0d8ffdb&amp;width=267&amp;cache=v2" alt="notion image" loading="lazy" decoding="async"/></div></figure><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-ff82a102f171402cb2ed0fbd5e84cdeb"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:410px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F34576511-315c-4cef-8add-9b6a190248d8%2FUntitled.png?table=block&amp;id=ff82a102-f171-402c-b2ed-0fbd5e84cdeb&amp;t=ff82a102-f171-402c-b2ed-0fbd5e84cdeb&amp;width=410&amp;cache=v2" alt="notion image" loading="lazy" decoding="async"/></div></figure><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-1beb4fe15a0d4b1c86f4947b4b896bf6" data-id="1beb4fe15a0d4b1c86f4947b4b896bf6"><span><div id="1beb4fe15a0d4b1c86f4947b4b896bf6" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1beb4fe15a0d4b1c86f4947b4b896bf6" title="设置网卡PXE"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">设置网卡PXE</span></span></h2><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-ec748f2ea20e4899b5766afd0d3306ee" data-id="ec748f2ea20e4899b5766afd0d3306ee"><span><div id="ec748f2ea20e4899b5766afd0d3306ee" class="notion-header-anchor"></div><a class="notion-hash-link" href="#ec748f2ea20e4899b5766afd0d3306ee" title="设置Boot Mode"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">设置Boot Mode</span></span></h2><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-d4e205cdb17b4358a1e5ac1b9a5d52bc" data-id="d4e205cdb17b4358a1e5ac1b9a5d52bc"><span><div id="d4e205cdb17b4358a1e5ac1b9a5d52bc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#d4e205cdb17b4358a1e5ac1b9a5d52bc" title="设置BMC（IPMI）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">设置BMC（IPMI）</span></span></h2><div class="notion-blank notion-block-0a628084beec4f249ca924c52c2ce790"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-0c2501bbef0645a4ac2ee5e348b7c849" data-id="0c2501bbef0645a4ac2ee5e348b7c849"><span><div id="0c2501bbef0645a4ac2ee5e348b7c849" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0c2501bbef0645a4ac2ee5e348b7c849" title="Remote BIOS Configuration (RBC)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://gerrit.openbmc-project.xyz/plugins/gitiles/openbmc/docs/+/919a7b6816a5f16aa72d298e81e0756d95d5031e/designs/remote-bios-configuration.md">Remote BIOS Configuration (RBC)</a></span></span></h2><div class="notion-blank notion-block-1c05e6d29f894c27b1e65e17260eab3d"> </div><div class="notion-text notion-block-26cbb658d96745459a37c68704c90ab7"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://www.lifewire.com/bios-basic-input-output-system-2625820#toc-what-is-the-bios-used-for">https://www.lifewire.com/bios-basic-input-output-system-2625820#toc-what-is-the-bios-used-for</a></div><div class="notion-text notion-block-7cf43396a7464c1f81c8ed840f23b93d"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://blog.csdn.net/weiyuanke/article/details/8905912">https://blog.csdn.net/weiyuanke/article/details/8905912</a></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[noVNC 控制台]]></title>
            <link>https://notionnext-66.4everland.app//article/5f69a0ca-7723-4163-9913-8c89f99e1b4b</link>
            <guid>https://notionnext-66.4everland.app//article/5f69a0ca-7723-4163-9913-8c89f99e1b4b</guid>
            <pubDate>Mon, 13 May 2024 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-5f69a0ca7723416399138c89f99e1b4b"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-341bfbb7de6a434b86d7afb9560a1020" data-id="341bfbb7de6a434b86d7afb9560a1020"><span><div id="341bfbb7de6a434b86d7afb9560a1020" class="notion-header-anchor"></div><a class="notion-hash-link" href="#341bfbb7de6a434b86d7afb9560a1020" title="背景"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">背景</span></span></h2><div class="notion-blank notion-block-a4ddd4235a4e44a6b5bcb5484ad4999d"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-5cba560665e24aa7b12aad316dcf24e6" data-id="5cba560665e24aa7b12aad316dcf24e6"><span><div id="5cba560665e24aa7b12aad316dcf24e6" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5cba560665e24aa7b12aad316dcf24e6" title="websockify与noVNC"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">websockify与noVNC</span></span></h2><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-579009b2dee541e7a01e5e8cd7864fb7" href="https://datawookie.dev/blog/2021/08/websockify-novnc-behind-an-nginx-proxy/"><div><div class="notion-bookmark-title">Websockify &amp; noVNC behind an NGINX Proxy</div><div class="notion-bookmark-description">At Fathom Data we are developing a framework which will enable remote access to Linux desktops via a browser. There&#x27;s nothing new to this idea. However, we have a very specific application in mind, so we need to roll our own solution. Importantly, there need to be multiple independent connections catering for a group of users.</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/image/https%3A%2F%2Fdatawookie.dev%2Ffavicon.ico?table=block&amp;id=579009b2-dee5-41e7-a01e-5e8cd7864fb7&amp;t=579009b2-dee5-41e7-a01e-5e8cd7864fb7" alt="Websockify &amp; noVNC behind an NGINX Proxy" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://datawookie.dev/blog/2021/08/websockify-novnc-behind-an-nginx-proxy/</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fdatawookie.dev%2Fblog%2F2021%2F08%2Fwebsockify-novnc-behind-an-nginx-proxy%2Ffeatured.png?table=block&amp;id=579009b2-dee5-41e7-a01e-5e8cd7864fb7&amp;t=579009b2-dee5-41e7-a01e-5e8cd7864fb7" alt="Websockify &amp; noVNC behind an NGINX Proxy" loading="lazy" decoding="async"/></div></a></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-e5ab3d7b502343bd8c330149eb971b63"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F015073da-9ede-4d4c-9878-cd92508ed792%2FUntitled.png?table=block&amp;id=e5ab3d7b-5023-43bd-8c33-0149eb971b63&amp;t=e5ab3d7b-5023-43bd-8c33-0149eb971b63&amp;width=1414&amp;cache=v2" alt="notion image" loading="lazy" decoding="async"/></div></figure><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-4fa4e7b6c78f4d95b7be17ab936281a5" data-id="4fa4e7b6c78f4d95b7be17ab936281a5"><span><div id="4fa4e7b6c78f4d95b7be17ab936281a5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#4fa4e7b6c78f4d95b7be17ab936281a5" title="OpenStack NoVNC"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">OpenStack NoVNC</span></span></h2><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-0652ee43cd7d4bbf892522b104241edf" href="https://cloud.tencent.com/developer/article/1560474"><div><div class="notion-bookmark-title">09-nova的模块及novnc详解</div><div class="notion-bookmark-description">对外提供rest接口的处理 对传入的参数进行合法性校验和约束限制 对请求的资源进行配额（quota）的校验和预留 资源的创建，更新，删除查询等 虚拟机生命周期的入口 可水平扩展部署(可以有多个节点) 选择策略 基于内存权重的选择。 散列：在候选的一个大小范围内的主机中，随机选择一个主机。 Filter：对主机进行过滤的实体，支持自研扩展 scheduler_default_filters配置新写的filter。 scheduler_available_filters指定扩展的filter目录的收集函数。 指定主机创建，迁移时候该调度失效 数据库操作。解耦其他组件(nova-compute)数据库访问。 Nova复杂流程控制，如创建，冷迁移，热迁移，虚拟机规格调整，虚拟机重建。 其他组件的依赖。如nova-compute需要依赖nova-conductor启动成功后才能启动成功。 其他组件的心跳定时写入。Nova-compute，nova-conductor，nova-scheduler，nova-console，nova-consoleauth。 可水平扩展部署 虚拟机各生命周期操作的真正执行者(会调用对应的hypervisor的driver）。 底层对接不同虚拟化的平台(kvm,vmware,xen，FusionCompute,hyperv等）。 内置周期性任务，完成资源刷新，虚拟机状态同步等功能。 资源管理模块(resource_tracker)配合插件机制，完成资源的统计。 Claim模块完成资源的分配和释放。 在访问VNC-Server的时候需要对应的VNC-Client，现在浏览器里已经集成了VNC的功能，可以直接通过浏览器来进行访问。 1 将公网(public network)和私网(private network)隔离 2 VNC client运行在公网上，VNCServer运行在私网上，VNC Proxy作为中间的桥梁将二者连接起来 3 VNC Proxy通过token对VNC Client进行验证 4 VNC Proxy不仅仅使得私网的访问更加安全，而且将具体的VNC Server的实现分离，可以支持不同Hypervisor的VNC Server但不影响用户体验 1 在Controller节点上部署nova-consoleauth 进程，用于Token验证 2 在Controller节点上部署nova-novncproxy 服务，用户的VNC Client会直接连接这个服务 3 Controller节点一般有两张网卡，连接到两个网络，一张用于外部访问，我们称为public network，或者API network，这张网卡的IP地址是外网IP，如图中172.24.1.1，另外一张网卡用于openstack各个模块之间的通信，称为management network，一般是内网IP，如图中10.10.10.2 4 在Compute节点上部署nova-compute，在nova.conf文件中有下面的配置 #nova vnc proxy是通过内网IP来访问vnc server的，所以nova-compute会告知vnc proxy用这个IP来连接我。 novncproxy_base_url=http://192.168.150.10:6080/vnc_auto.html #允许任何主机来访问novnc novncproxy_host=0.0.0.0 #代理端口 novncproxy_port=6080 #代理客户端 vncserver_proxyclient_address=controller #VNC Server的监听地址 vncserver_listen=0.0.0.0 1 用户从浏览器里面打开连接到虚拟机的VNC Client 2 浏览器向nova-api发送请求，要求返回访问vnc的url 3 nova-api调用nova-compute的get vnc console方法，要求返回连接VNC的信息 4 nova-compute调用libvirt的get vnc console函数 5 libvirt会通过解析虚拟机运行的/etc/libvirt/qemu/instance-00000011.xml文件来获得VNC Server的信息 6 libvirt将host, port等信息以json格式返回给nova-compute 7 nova-compute会随机生成一个UUID作为Token 8 ...</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-text">https://cloud.tencent.com/developer/article/1560474</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fimgcache.qq.com%2Fopen_proj%2Fproj_qcloud_v2%2Fcommunity%2Fportal%2Fcss%2Fimg%2Fwechat-qr.jpg?table=block&amp;id=0652ee43-cd7d-4bbf-8925-22b104241edf&amp;t=0652ee43-cd7d-4bbf-8925-22b104241edf" alt="09-nova的模块及novnc详解" loading="lazy" decoding="async"/></div></a></div><div class="notion-blank notion-block-2186ce6672db4e46924993baafe6e881"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-6c489dae2ea64019a57a6281f36394a0" data-id="6c489dae2ea64019a57a6281f36394a0"><span><div id="6c489dae2ea64019a57a6281f36394a0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#6c489dae2ea64019a57a6281f36394a0" title="websockify使用"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">websockify使用</span></span></h2><div class="notion-text notion-block-e1a6b231f85545d4ab993dbff0a6528a"><b>git clone </b><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com.cnpmjs.org/novnc/websockify.git">https://github.com.cnpmjs.org/novnc/websockify.git</a></div><div class="notion-blank notion-block-2528314c551b4955961a2e9e0a839eaf"> </div><div class="notion-blank notion-block-9d62645bad0846f7bb3c1eadedf62bae"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-f7819745a8e248d4989ae9bc4ddbcfb8" data-id="f7819745a8e248d4989ae9bc4ddbcfb8"><span><div id="f7819745a8e248d4989ae9bc4ddbcfb8" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f7819745a8e248d4989ae9bc4ddbcfb8" title="ZStack Websockify的使用"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">ZStack Websockify的使用</span></span></h2><div class="notion-callout notion-red_background_co notion-block-c5752bd604384af28aecc714a594410e"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="📌">📌</span></div><div class="notion-callout-text">Websockify的作用是把vnc协议转成websocket协议</div></div><div class="notion-callout notion-red_background_co notion-block-91e65b8862bb4ca489807234f97eb63d"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="📌">📌</span></div><div class="notion-callout-text">ZStack在console proxy中集成了websockify用于做云主机控制台(vnc).
1. websockify进程会有一个idleTime, 如果超过这个时间会自动关闭
2. websockify进程会在打开控制台的时候启动
3. websockify进程会根据打开的控制台数量, fork对应数量的进程</div></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ZStack Oauth2 SSO逻辑]]></title>
            <link>https://notionnext-66.4everland.app//article/484ee5a3-c3fe-4ad9-a44b-30624f807559</link>
            <guid>https://notionnext-66.4everland.app//article/484ee5a3-c3fe-4ad9-a44b-30624f807559</guid>
            <pubDate>Wed, 13 Jul 2022 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-484ee5a3c3fe4ad9a44b30624f807559"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h4 class="notion-h notion-h3 notion-h-indent-0 notion-block-248589e0aad843e3836f830ace572352" data-id="248589e0aad843e3836f830ace572352"><span><div id="248589e0aad843e3836f830ace572352" class="notion-header-anchor"></div><a class="notion-hash-link" href="#248589e0aad843e3836f830ace572352" title="ZStack Oauth2/OIDC 时序图"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">ZStack Oauth2/OIDC 时序图</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-0 notion-block-9ef45bee076a493291a4d61e21efda1d" data-id="9ef45bee076a493291a4d61e21efda1d"><span><div id="9ef45bee076a493291a4d61e21efda1d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#9ef45bee076a493291a4d61e21efda1d" title="Oauth2 协议时序图"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Oauth2 协议时序图</span></span></h4><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-1a9d8fb33f194d6495b0f1642f7a13dc"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F938afbfa-037b-41a9-86a0-6b5c189d2b76%2F231ac328-70b0-410e-a784-34db88a95538%2FUntitled.png?table=block&amp;id=1a9d8fb3-3f19-4d64-95b0-f1642f7a13dc&amp;t=1a9d8fb3-3f19-4d64-95b0-f1642f7a13dc&amp;width=708&amp;cache=v2" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-160813d6716a4922b67b75950d684f70"> </div></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>