<?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://www.geeks7i.cool/</link>
        <description>这是一个由NotionNext生成的站点</description>
        <lastBuildDate>Mon, 04 Sep 2023 14:18:45 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <copyright>All rights reserved 2023, Gus7i</copyright>
        <item>
            <title><![CDATA[说说二分查找]]></title>
            <link>https://www.geeks7i.cool/article/1b33311b-a8db-4b3b-9628-dfbac09c52a2</link>
            <guid>https://www.geeks7i.cool/article/1b33311b-a8db-4b3b-9628-dfbac09c52a2</guid>
            <pubDate>Mon, 04 Sep 2023 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-1b33311ba8db4b3b9628dfbac09c52a2"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-71fdfb41f8454919951a1ba14cee57d9" data-id="71fdfb41f8454919951a1ba14cee57d9"><span><div id="71fdfb41f8454919951a1ba14cee57d9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#71fdfb41f8454919951a1ba14cee57d9" 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"><b>二分查找</b></span></span></h2><div class="notion-text notion-block-148f32d311284d19aff3693e75bf3415"><b>【引子】</b>给定【已排好序的】n个元素，现要在n个元素中找到某个值x。</div><div class="notion-text notion-block-2c20116c58a745b3a3bd8ef8b1771385">一般直接循环遍历所有值，依次匹配即可，但利用二分查找更快。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-0655d26ff1b54d08ab9f788206ecad5a" data-id="0655d26ff1b54d08ab9f788206ecad5a"><span><div id="0655d26ff1b54d08ab9f788206ecad5a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0655d26ff1b54d08ab9f788206ecad5a" 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"><b>标准解释</b></span></span></h3><div class="notion-text notion-block-0304eb926aca46578b94eaea04a38ba9">二分查找的思想：</div><div class="notion-text notion-block-1f611255c55443ae942ad85137718966">将n个元素分成个数大致相同的两半，用a[n/2]与目标值x比较。也就是用n个数的中间值为基准，如果x = [a/2]，则找到x,算法终止。如果x &lt; a[n/2]，则只要在数组a的左半部分继续搜索x。如果x &gt; a[n/2]，则只要在数组a的右半部分继续搜索x。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-6973f14bd4c046dca5cf0723d98b0eaa" data-id="6973f14bd4c046dca5cf0723d98b0eaa"><span><div id="6973f14bd4c046dca5cf0723d98b0eaa" class="notion-header-anchor"></div><a class="notion-hash-link" href="#6973f14bd4c046dca5cf0723d98b0eaa" 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"><b>俺的理解</b></span></span></h3><div class="notion-text notion-block-3b9a132be7184fe0818b9e7bbaf1a9cb">假定n个元素由小到大排好序~，现在要找其中的某个值x。二分查找就是要咱用这n个数的中间值来一步步向目标值x逼近（下面统称目标值为x，中间值为m）。怎么做到逼近呢？二分查找利用元素已排好序的这个特性，如果发现x比m小，就往m的左边查找。如果发现x比m大，就往m的右边寻找。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-5bc62143f16847f38fe1b6e9d08215cd"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column"><img src="https://raw.githubusercontent.com/geeks7i/img/main/img/Typora-imgimage-20230904212203106.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-292d962820ff4065bd1500a91e5f5bde">咱假设x比m小来说事。嘿嘿，那咱就可以确定x是在m的左边！那么下一次查找就从m左边的数字中找，因为m右边的数肯定比x大呀，所以咱就能缩小查找范围，m以右的数字、包括m咱也不要了。下一次逼近到更小的范围，用更小范围的中间值，继续上面的动作！最后查找范围逼近到最小，咱就找到了x：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-75498d9a676b45b5b7d0d594552375dd"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column"><img src="https://raw.githubusercontent.com/geeks7i/img/main/img/Typora-imgimage-20230904214122345.png" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-9f1070a714844596a6fea67f301f9d0c">一路上，由于m知道x比自己大还是小这个重要提示，经过对x的一步步的左右逼进，x所在的范围慢慢缩小，m终于找到了x。</div><div class="notion-text notion-block-9995814a7de44885a81032c18adc866b">二分查找也很像是猜数字游戏，1~100，咱每次都猜中间值，而裁判会告诉我们猜大了还是猜小了~</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-e0149fe1ef5d49eaad9a4609f9e318bc" data-id="e0149fe1ef5d49eaad9a4609f9e318bc"><span><div id="e0149fe1ef5d49eaad9a4609f9e318bc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e0149fe1ef5d49eaad9a4609f9e318bc" title="具体算法(Golang)"><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"><b>具体算法(Golang)</b></span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-12789129e9304b1db6704535c5765b42" data-id="12789129e9304b1db6704535c5765b42"><span><div id="12789129e9304b1db6704535c5765b42" class="notion-header-anchor"></div><a class="notion-hash-link" href="#12789129e9304b1db6704535c5765b42" title="从1到n的字符串拼接，求字符串长度？"><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"><b>从1到n的字符串拼接，求字符串长度？</b></span></span></h3><div class="notion-text notion-block-58a67724174e4b25bff51db1a6a47366">不是二分查找，是今儿算法课上的一道题，作为分治策略的引子</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-f70230500fd9491bbf0e27ddb30e2865"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column"><img src="https://raw.githubusercontent.com/geeks7i/img/main/img/Typora-imgimage-20230904195307970.png" alt="notion image" loading="lazy" decoding="async"/></div></figure></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[高级运维工程需要掌握的技能]]></title>
            <link>https://www.geeks7i.cool/article/27e23b5d-fcdc-46f0-99b2-883a805c5339</link>
            <guid>https://www.geeks7i.cool/article/27e23b5d-fcdc-46f0-99b2-883a805c5339</guid>
            <pubDate>Mon, 24 Jul 2023 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-27e23b5dfcdc46f099b2883a805c5339"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-54a92063a825485a8317039d40a3b22e">想成为合格运维工程师，Linux运维高级工程师要掌握以下技能：</div><div class="notion-text notion-block-6f6360f833324525a2a1beb5dda8e779">1、Linux 系统基础⼊门-Linux的基础知识内容，和命令使用，以及用户和权限等核⼼知识点</div><div class="notion-text notion-block-b839a891a11e4e90be473851b42930d9">2、Linux 系统管理和进阶-Linux从进程、资源、任务、⽂件、软件包、磁盘等管理⽅法</div><div class="notion-text notion-block-39ee4e8ef9d84111a4246218d7bf3110">3、Linux 企业常用服务-企业级常用服务如DNS、FTP、Http、mail</div><div class="notion-text notion-block-7f11a83004c44154a836dc26b5f4ef6f">4、Linux 企业级安全原理和防范技巧以及网络和安全-Linux安全架构、安全威胁模型、以及加密、解密等原理，常见攻击和防范⼿段</div><div class="notion-text notion-block-472ec2ff714c44a484086ebc205353c9">5、Shell 编程⼊门及进阶-Shell脚本基本用法以及进阶，从基础到精通，需要学习一些企业级常见脚本用法</div><div class="notion-text notion-block-83a18089584e4f43b86a5c3a2d2ee5fa">6、MySQL 应用原理及管理⼊门-Mysql安装、管理、授权、增删改查</div><div class="notion-text notion-block-4b73365dee1d452f868e3d11274244d6">7、http 服务代理缓存加速-http ⾼级协议应用、缓存、web服务nginx</div><div class="notion-text notion-block-db3ab6737fa247dabe1f18291cc6b21b">8、企业级负载集群-企业级4层负载均衡LVS、和7层负载均衡nginx以及haproxy的应用</div><div class="notion-text notion-block-a26f7631902644a98eeee44fcc6ec73f">9、企业级⾼可用集群-⾼可用集群原理，实现以keepalived为核⼼的⾼可用集群，以及主从高可用、双主</div><div class="notion-text notion-block-817114e2eb1f4c599f3ffce85c69ef3a">10、运维监控zabbix-企业级监控体系以及zabbix流⾏开源监控系统的功用及架构</div><div class="notion-text notion-block-c5dda5a45e374cc19488bc85d2237063">11、云计算运维自动化-ansible、puppet等运维自动化解决方案</div><div class="notion-text notion-block-f2730851403c4cd593a953b4b20690d8">12、WEB 服务体系架构-WEB服务体系架构，JSP体系、tomcat、CDN、缓存原理、压测、评估</div><div class="notion-text notion-block-39348227f0d149dfa1acf10fb5b2d7f0">13、⼤型互联⽹集群架构和实战⽅案-LB集群：nginx、Haproxy、LVS HA集群、动静分离</div><div class="notion-text notion-block-2f6fcc5f9a8542fd87a92cc3077a9a72">14、MySQL DBA 实战技能和优化-数据库参数优化、分库分表、备份方案、数据恢复策略、主从复制、读写分离、连接池及sharding技术、MHA等</div><div class="notion-text notion-block-860097a1ecee4edbbdda5798d904c2fa">15、企业级云计算Openstack-Keystone、Glance、Nova核⼼组件、网络模块、块存储服务等</div><div class="notion-text notion-block-c32519f56d454ce1b1d52d9043c187d5">16、企业级⼤数据Hadoop 运维实战-列式数据库HBase基础原理、安装配置及其应⽤、Zookeeper集群构建、hadoop实现Namenode⾼可⽤</div><div class="notion-text notion-block-42a617f9229b498a834f386ef247e997">17、企业级虚拟化KVM 实战-KVM环境：KVM的安装、配置及应⽤</div><div class="notion-text notion-block-6380fd68b248448db84044ac29afd253">18、NoSQL 企业级应用-Nosql 应用，如redis、MongoDB 复制、集群等⾼级应用</div><div class="notion-text notion-block-ae06854310144a1ba3801cdd8f7cd5c6">19、企业级日志收集系统ELK 实战-海量数据日志收集系统Elasticsearch+Logstash+kibana 应用</div><div class="notion-text notion-block-17525f7fe3cd4d15abea50770aa86d3b">20、可持续化集成-Jenkins+github企业级应用</div><div class="notion-text notion-block-66aa982f255549ce995758c9abd11a2f">21、虚拟化容器Docker-Linux 轻量虚拟化Docker ，Docker 的原理和安装，配置以及应用</div><div class="notion-text notion-block-6097a91f40ec484d8f7ced52a192ef09">22、企业级K8S实战-组件功能、安装、配置、企业级应用场景和常见故障分析</div><div class="notion-text notion-block-02bbdee3f9bb47799cb2165eed20d37c">23、Linux 系统调优实战-从内存、CPU、进程调度、磁盘IO、⽹络参数等全面讲解Linux系统调优</div><div class="notion-text notion-block-d0476f8480b349c8bd26553da52da26e">24、Python 编程基础⼊门-python安装、逻辑判断、模块使用等</div><div class="notion-text notion-block-3906d3cacbcb449f9c4839687af4ecc3">25、个人综合能力提升-表达能力、团队协作能力、执行能力、胜任力等</div><div class="notion-text notion-block-f3c6df28238548838be12dd433e7c6ef">以上25条技能，每一条大概价值2K，你的工资多少，在这个行业，就取决于你会多少。要想挣钱，你要先值钱。 </div><div class="notion-text notion-block-e7b5855675a34491847be90bd0dd27b2">原文链接：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://blog.csdn.net/chj_1224365967/article/details/107537182">https://blog.csdn.net/chj_1224365967/article/details/107537182</a></div><div class="notion-blank notion-block-57e4785b7d6d42a58254b6e9c5fbec90"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[如何成为优秀开发人员：关于自学能力]]></title>
            <link>https://www.geeks7i.cool/article/e92a3784-0710-4781-b138-3c343772706b</link>
            <guid>https://www.geeks7i.cool/article/e92a3784-0710-4781-b138-3c343772706b</guid>
            <pubDate>Sat, 15 Jul 2023 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-e92a378407104781b1383c343772706b"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-a3fc92aa2026422ebdbb4a25191b6382" data-id="a3fc92aa2026422ebdbb4a25191b6382"><span><div id="a3fc92aa2026422ebdbb4a25191b6382" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a3fc92aa2026422ebdbb4a25191b6382" title="如何成为优秀开发人员[2]：关于自学能力"><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://program-think.blogspot.com/2009/01/2.html"><b>如何成为优秀开发人员[2]：关于自学能力</b></a></span></span></h2><div class="notion-text notion-block-f793a3f7aff84cbcbf03bb227222d779"><b>文章目录</b></div><div class="notion-text notion-block-56b1335e426041558355251deb96485b"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://program-think.blogspot.com/2009/01/2.html#head-1">★自学的重要性</a></div><div class="notion-text notion-block-7f153b80787748a399c46b6657035e5c"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://program-think.blogspot.com/2009/01/2.html#head-2">★自学的主动性</a></div><div class="notion-text notion-block-05239841ad494d48ab8c0d59d73e6b9f"><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://program-think.blogspot.com/2009/01/2.html#head-3">★自学的常用招数</a></div><div class="notion-text notion-block-ba6b8f8ff60848198570478398b9e056">通过本系列<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://program-think.blogspot.com/2009/01/1.html">上一篇帖子</a>，你应该已经搞清楚自己是否【确实】有兴趣从事软件开发工作。现在我们来聊一下开发人员的自学能力（终于开始介绍实质性的东东了）。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-8d6c7181a74d4852a62eafa1379e1070" data-id="8d6c7181a74d4852a62eafa1379e1070"><span><div id="8d6c7181a74d4852a62eafa1379e1070" class="notion-header-anchor"></div><a class="notion-hash-link" href="#8d6c7181a74d4852a62eafa1379e1070" 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"><b>★自学的重要性</b></span></span></h3><div class="notion-text notion-block-3e0bbc99dc3e4de7b9f280541004ed4e">为啥我把“自学能力”排到“兴趣”之后捏？因为大伙儿都明白，IT这行知识的更新速度巨快。有很多新玩意儿在你读书的时候还没有发明出来呢？退一步讲，即使某个新技术在你上学的时候已经发明出来，你的计算机老师也未必会教你（或许他/她自己也不懂）。再退一步讲，即使你上学时的计算机老师比较牛，会把当时新出来的某个技术教给你，但是你将来工作中需要用到的新技术未必就当年老师教给你那个......</div><div class="notion-text notion-block-717d96aaf976459b96fd06b8fb61e8c7">上面啰嗦了一大堆，无非想说，你工作中终归会需要用到某个新技术是你以前没学过的。所以，自学能力是非常重要滴。以此相对照的是：国内的大多数开发人员都比较缺乏自学能力（这个也跟国内的教育体制有关）。所以，对于立志成为优秀开发人员你，需要先搞定自学能力这个东东。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-8cef6ddd380347b69789929c79522c91" data-id="8cef6ddd380347b69789929c79522c91"><span><div id="8cef6ddd380347b69789929c79522c91" class="notion-header-anchor"></div><a class="notion-hash-link" href="#8cef6ddd380347b69789929c79522c91" 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"><b>★自学的主动性</b></span></span></h3><div class="notion-text notion-block-f84e25c6e8ea41d78674ef17a20dceb4">我把国内的开发人员按照自学的主动性不同，分为如下几类（你顺便想想自己属于哪一类）：</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-6ea401d7a0ef47fb9e41fee8d6d2f1b7" data-id="6ea401d7a0ef47fb9e41fee8d6d2f1b7"><span><div id="6ea401d7a0ef47fb9e41fee8d6d2f1b7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#6ea401d7a0ef47fb9e41fee8d6d2f1b7" 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"><b>◇抗拒自学者</b></span></span></h4><div class="notion-text notion-block-cf62417edafd45d791d92e73ced88729">这类人不愿意自学（部分人是由于懒惰、另一些是由于抵触新事物）。当工作中要用到某项新技术而需要自学时，他/她就找若干理由推诿。我估计这类人占的比例不多，万一你正好属于这种人，那还是趁早改行，别在这个行业浪费青春了（因此也别再继续看这个帖子了）。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-ed05e82fd57d4ebb826d6071bcd99040" data-id="ed05e82fd57d4ebb826d6071bcd99040"><span><div id="ed05e82fd57d4ebb826d6071bcd99040" class="notion-header-anchor"></div><a class="notion-hash-link" href="#ed05e82fd57d4ebb826d6071bcd99040" 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"><b>◇被动自学者</b></span></span></h4><div class="notion-text notion-block-ab55a55974334af2809089b3d4c534c3">这类人平时没事不会想到去自学新东西。只有当上司逼着他去学某某技术，他才勉为其难地去学。我建议这类人也不用继续看这个系列的帖子了，找个凉快的地方呆着去吧。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-7deee18baacb4c58b9e4a179248f4e33" data-id="7deee18baacb4c58b9e4a179248f4e33"><span><div id="7deee18baacb4c58b9e4a179248f4e33" class="notion-header-anchor"></div><a class="notion-hash-link" href="#7deee18baacb4c58b9e4a179248f4e33" 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"><b>◇需求驱动型自学者</b></span></span></h4><div class="notion-text notion-block-e27a093fcf3d49a2aa4a98fa15c16c8a">这类人自学的动机和方向是基于需求驱动。比如因为工作中要用到 XX框架、XX库、XX软件，然后就利用业余时间找资料去看。如果你属于这类人，就得考虑考虑向第4类人转型。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-8f0827c333b24a8ba03d89856662813c" data-id="8f0827c333b24a8ba03d89856662813c"><span><div id="8f0827c333b24a8ba03d89856662813c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#8f0827c333b24a8ba03d89856662813c" 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"><b>◇计划型自学者</b></span></span></h4><div class="notion-text notion-block-8c71ff7e50d24b69a7d36537c02a94f1">这类人自学的动机和方向是基于自己的规划。【定期】看看自己的知识结构有什么缺陷、将来自己想朝什么方向发展、最近哪个新东西将来会用得上 ......然后给自己定一个学习计划。</div><div class="notion-text notion-block-68547a1ae6d8439786ba6eae6fe3c8c2">如果你属于这类人，恭喜你。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-8a206000728f448face22b83f3b6a63c" data-id="8a206000728f448face22b83f3b6a63c"><span><div id="8a206000728f448face22b83f3b6a63c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#8a206000728f448face22b83f3b6a63c" 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"><b>★自学的常用招数</b></span></span></h3><div class="notion-text notion-block-1ebb6455858342bf88959d794153448d">现在，咱们来聊聊和自学有关的几个【常用】招数。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-66b1f484bbe341009b518ea35a11d298" data-id="66b1f484bbe341009b518ea35a11d298"><span><div id="66b1f484bbe341009b518ea35a11d298" class="notion-header-anchor"></div><a class="notion-hash-link" href="#66b1f484bbe341009b518ea35a11d298" 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"><b>◇搜索引擎</b></span></span></h4><div class="notion-text notion-block-3a45dcd1dff1407f830890d0d11c7b1b">由于使用搜索引擎是互联网时代的</div><div class="notion-text notion-block-34faaadb59654f9aa461284f388988af"><b>必备</b></div><div class="notion-text notion-block-99478b28fe4647ab9266749ee6698f45">基本功，搜索引擎的重要性我就不多废话了（千万别跟我说你还不懂得用搜索引擎啊）。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-919e8706e7ad480fbde197db87e5717d" data-id="919e8706e7ad480fbde197db87e5717d"><span><div id="919e8706e7ad480fbde197db87e5717d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#919e8706e7ad480fbde197db87e5717d" 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"><b>◇百科类网站</b></span></span></h4><div class="notion-text notion-block-7e10d3033e19463ea9113cfb11f64e07">此处所说的“百科类”例如：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://zh.wikipedia.org/">中文维基百科</a>、<a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://baike.baidu.com/">百度百科</a>...</div><div class="notion-text notion-block-5f2582dbd9214a21a3ed8912eccd3b5f">百科类网站，顾名思义，就是拿来当百科全书使的。当你听说某个时髦的新术语，但又不甚了解，这时候就可以用上百科类网站了。各种专业术语一般都可以在百科类网站上查到比较具体的解释。不过百科类网站的功能也就仅限于此，当你需要深入了解某个技术时，它是远远不够的。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-48e88c948fe7492197e7aed13e7fdb58" data-id="48e88c948fe7492197e7aed13e7fdb58"><span><div id="48e88c948fe7492197e7aed13e7fdb58" class="notion-header-anchor"></div><a class="notion-hash-link" href="#48e88c948fe7492197e7aed13e7fdb58" title="◇订阅“BBS、Mailing List、Blog”"><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"><b>◇订阅“BBS、Mailing List、Blog”</b></span></span></h4><div class="notion-text notion-block-c038b2969dab419cb456e6cd9ee4d855">这3种东东的特点是具有一定的交互性，而且大都支持软件订阅。通过订阅一些专业的、针对某个领域的“BBS、Mailing List、Blog”，你可以了解该领域的实时动态、了解该领域的热点话题、了解该领域的发展方向。你自己如果碰到疑难杂症，还可以在上面找人问（运气好的话还能交几个朋友）。</div><div class="notion-text notion-block-5f4c3df96c28414e87bcd5dce50ff328">为啥我特地强调【订阅】捏？因为使用订阅可以让信息自动跑到你面前，省去了打开浏览器挨个访问网站的麻烦（因此也节省了时间）。这3种东东的局限性是：难以通过它们【系统性】地掌握某个比较复杂的技术（比如你要学习某个有一定复杂度的编程语言）。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-694de91090364f1cbf30893cb193994b" data-id="694de91090364f1cbf30893cb193994b"><span><div id="694de91090364f1cbf30893cb193994b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#694de91090364f1cbf30893cb193994b" 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"><b>◇看书（包括电子书和纸版书）</b></span></span></h4><div class="notion-text notion-block-721c68e698cc442380f4fa09cd87db69">   当你要系统性地掌握某个比较复杂的技术时，首选方法是：找一本针对性的<b>好书</b>。由于每一个具体的领域，都有N本书可供选择，这时候如何取舍就非常重要。如果你选的书比较差，不但看起来吃力，甚至会把你带到沟里。这时候你就得利用搜索引擎或者专门的网站（例如<a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://www.douban.com/">豆瓣</a>、<a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://www.amazon.com/">亚马逊</a>）来识别好书与坏书。关于如何鉴别一本书的好坏，我在帖子《<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://program-think.blogspot.com/2009/01/choose-it-book.html">如何选择 IT 技术书籍</a>》里有深入讨论，这里就不再啰嗦了。</div><div class="notion-text notion-block-e45ac62527da48d487e9b877fda743a7">   再来说说电子书和纸版书。首先电子书的资源非常多，大部分国外出版的IT书都可以在Internet上找到免费的电子版。另外还有电子书还有如下好处：便于携带、能全文搜索、能共享、能备份、还省钱。从目前的发展趋势看，电子书占据主流地位只是一个时间问题。基于上述理由，所以我很喜欢看电子书（可惜大多数人都没有看电子书的习惯）。你如果还没有形成看电子书习惯的话，要开始培养了。</div><div class="notion-text notion-block-9c2b72d899364b21a527f3d0feb46295">   说完电子版和纸版，再来聊聊中文版和英文版。英文版相对中文版的优势就如同电子版相对纸版的优势一样明显。国内懂开发又文笔好的IT作家寥寥无几，导致国内出版的IT技术书籍要么翻译国外（翻译过程一般会导致1-2年的滞后、翻译质量还未必好），要么粗制滥造。所以，你如果不能流利地阅读英文书，赶紧恶补英语吧！</div><div class="notion-text notion-block-c890c182a3e9422c87d75f694b72fc05">上述4个招数，如能熟练运用，从此自学无忧矣！</div><div class="notion-text notion-block-7a4b192d8fa64e78b9fa2269423a23dc">下一个话题，准备聊一下“<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://program-think.blogspot.com/2009/01/3.html">设定个人发展目标和计划</a>”。</div><div class="notion-text notion-block-4dea7f3eed4a4a3da1124edfc6172818"><b>版权声明</b>本博客所有的原创文章，作者皆保留版权。转载必须包含本声明，保持本文完整，并以超链接形式注明作者<a target="_blank" rel="noopener noreferrer" class="notion-link" href="mailto:program.think@gmail.com">编程随想</a>和本文原始地址：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://program-think.blogspot.com/2009/01/2.html">https://programthink.blogspot.com/2009/01/2.html</a></div><div class="notion-blank notion-block-2c307432d16f4b5d9d058f7d717e051d"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[怎么突然远程连接不上linux虚拟机了？]]></title>
            <link>https://www.geeks7i.cool/article/3619eb5f-068b-4d4a-b563-65a802f8fd53</link>
            <guid>https://www.geeks7i.cool/article/3619eb5f-068b-4d4a-b563-65a802f8fd53</guid>
            <pubDate>Sat, 15 Jul 2023 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-3619eb5f068b4d4ab56365a802f8fd53"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-089be873ed1c478d920447c0d7d9ceb5" data-id="089be873ed1c478d920447c0d7d9ceb5"><span><div id="089be873ed1c478d920447c0d7d9ceb5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#089be873ed1c478d920447c0d7d9ceb5" title="我的tabby和Xshell都连接不到linux虚拟机了"><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">我的tabby和Xshell都连<b>接不到linux虚拟机了</b></span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-476d10df3b28491aa737ae2dd72bb8ed" data-id="476d10df3b28491aa737ae2dd72bb8ed"><span><div id="476d10df3b28491aa737ae2dd72bb8ed" class="notion-header-anchor"></div><a class="notion-hash-link" href="#476d10df3b28491aa737ae2dd72bb8ed" 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"><b>问题提出</b></span></span></h3><div class="notion-text notion-block-d3a0f6bc11334434a23b715515e3e76f">我用<a class="notion-link" href="/a1991a1a6003425e8bda38d2d7ff8d52">tabby</a>和Xshell都无法远程连接我的VM上的Linux虚拟机，平日连接都能正常连接。而且windows本机也ping不通原来用来配置ssh的Linux虚拟机ip地址。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-5d064f3984fd44ea915f1d3c14834538"><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%2F4afdb889-5068-414a-882e-6191c2f8d37d%2Fimage-20230715123731424.png?table=block&amp;id=5d064f39-84fd-44ea-915f-1d3c14834538" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-76998cd420784807b7f30a9868181263">我猜想会不会是虚拟机的ip地址自动发生了改变，于是使用ifconfig想查看ip地址。如下图，使用ifconfig都无法查看主机的地址，看不到ens33的任何信息。</div><div class="notion-text notion-block-a950fb618b74418791d8e39a6b7662d7">于是使用ifconfig ens33查看他的信息，看不到他的ip</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-4f3d4e58a92041dc8eb475aafc712318"><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%2F292cf241-9354-49cf-9faa-2236929470f2%2Fimage-20230715123927148.png?table=block&amp;id=4f3d4e58-a920-41dc-8eb4-75aafc712318" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-2f016928e05043dab4bbf0717ebaff98">使用ifup ens33，显示连接激活失败，（网上找的方法，这时还不知道什么意思）</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-4b6d611bd9124f1ba41d66a0be508447"><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%2F383ecc9f-1150-498b-8946-98ba23d0042f%2Fimage-20230715124142544.png?table=block&amp;id=4b6d611b-d912-4f1b-a41d-66a0be508447" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-c4a8aaf6d9014777b713ca0fb2b0e15c"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1ff1f2cd1aaa460fa1cf41b471824eb1" data-id="1ff1f2cd1aaa460fa1cf41b471824eb1"><span><div id="1ff1f2cd1aaa460fa1cf41b471824eb1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1ff1f2cd1aaa460fa1cf41b471824eb1" 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"><b>解决方法</b></span></span></h3><div class="notion-text notion-block-1fb07e7f90b24c98b2bf17cb2b049a97">再次运行ifconfig，就能看到ens33，以及他地ip地址了。windows主机也能ping通linux虚拟机的ip地址，Tabby也能远程连接到linux虚拟机~</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-d927f4a157244ba0be2dfca1762f96fd"><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%2F1416a7d1-1720-419a-80e5-21e888a9137e%2Fimage-20230715124842757.png?table=block&amp;id=d927f4a1-5724-4ba0-be2d-fca1762f96fd" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-70322fa7d80d419885c77523175eba42">这时<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://access.redhat.com/discussions/6278791">google出来的方法</a>，两条神奇的命令解决了我的困惑，但我还不知道numcli指令的用法。</div><div class="notion-blank notion-block-3ebd9f81d619412db1522c535c4637c5"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-4a4fd8c93dd540ec9751ee65814e7621" data-id="4a4fd8c93dd540ec9751ee65814e7621"><span><div id="4a4fd8c93dd540ec9751ee65814e7621" class="notion-header-anchor"></div><a class="notion-hash-link" href="#4a4fd8c93dd540ec9751ee65814e7621" 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"><b>举一反三</b></span></span></h3><div class="notion-text notion-block-3f110ddaf0b3400dbd885cad04730f91"><b>nmcli说明</b>：</div><div class="notion-text notion-block-82e078422fe84c9d8f5e4999ece26dee">nmcli命令来自英文词组“NetworkManager command-line”的缩写意为网络管理客户端，其功能是用于基于命令行配置网卡参数。nmcli与nmtui命令工具配置过的参数会直接写入到网卡服务配置文件中，永久生效。</div><div class="notion-text notion-block-518677448bf54a0a89a8a37b46a0e6dd">语法：</div><div class="notion-text notion-block-361ea67e4f0743ac97936956a80df85d">nmcli [OPTIONS] OBJECT { COMMAND | help }</div><div class="notion-text notion-block-4ae236b2b5f84b1aadce282d9401d885"><b>选项</b>：</div><div class="notion-text notion-block-5d009312a1bd498abc66aab8d78b3022"><b>实例</b>：</div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker本地显示存在的镜像，却删不了这个镜像？]]></title>
            <link>https://www.geeks7i.cool/article/0bf5226a-3f26-4f1e-b15b-297d0eeebc9f</link>
            <guid>https://www.geeks7i.cool/article/0bf5226a-3f26-4f1e-b15b-297d0eeebc9f</guid>
            <pubDate>Thu, 13 Jul 2023 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-0bf5226a3f264f1eb15b297d0eeebc9f"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-23fafd8c0d284a1fac9aba4827d470e2" data-id="23fafd8c0d284a1fac9aba4827d470e2"><span><div id="23fafd8c0d284a1fac9aba4827d470e2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#23fafd8c0d284a1fac9aba4827d470e2" 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><div class="notion-text notion-block-27adf76541e44c10be5f4de580a14ef7">如下图，docker images显示本地的确有ubuntu:latest镜像，且在没有基于该镜像创建的容器下，无法删除该镜像。报错信息：no such image。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-0bdb8e3f252f48f3bf20b6641b91d2aa"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://github.com/geeks7i/imgRoom/blob/main/imgages/image-20230713180908570.png?raw=true" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-a9f5abac019140be9d35ab77c5e1dc6f" data-id="a9f5abac019140be9d35ab77c5e1dc6f"><span><div id="a9f5abac019140be9d35ab77c5e1dc6f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a9f5abac019140be9d35ab77c5e1dc6f" 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"><b>解决方法</b></span></span></h3><div class="notion-text notion-block-d5d5e7f5d01044b1875bc6cfade53475">在设置这个系统时，我最初安装了标准 CentOS 存储库 ( ) 中可用的旧版本 docker，<code class="notion-inline-code">yum install centos</code>而不是添加 docker 存储库并安装<code class="notion-inline-code">docker-ce</code>。尽管我现在使用的是最新版本，但在<code class="notion-inline-code">/var/lib/docker</code>升级之前旧版本肯定引入了一些错误数据。最后我删除了所有本地镜像和容器数据并重新开始：</div><div class="notion-text notion-block-f97ce5d811b0494786828e820a34fece">出现这个问题的原因可能是我最初安装Centos中集成的旧版本docker，而不是直接安装最新版本。这样一来在更新Docker之前，Docker旧版本有可能在/var/lib/docker写入了一些错误的数据。所以下面就删除了所有本地的镜像和容器数据，重新启动Docker。</div><blockquote class="notion-quote notion-block-5ddf8e155b0b4f7fbfa174680570db4a"><div>注意：该操作将删除本地所有的镜像和容器信息。</div></blockquote><div class="notion-blank notion-block-e02885b1850a4cd8954a2ea060da443a"> </div></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>