Linux中国
1.73K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
在 Ubuntu 18.04 LTS 上使用 KVM 配置无头虚拟化服务器

使用 KVM,我们可以在几分钟之内,很轻松地将任意 Linux 服务器转换到一个完全的虚拟化环境中,以及部署不同种类的虚拟机,比如 GNU/Linux、*BSD、Windows 等等。Media

via https://linux.cn/article-10121-1.html
Linux 拥有了新的行为准则,但是许多人都对此表示不满

因为新行为准则的作者那富有争议的过去,现在这件事成为了热点话题。许多人都对这新的行为准则表示不满。Media

via https://linux.cn/article-10122-1.html
如何在 Linux 中找到并删除重复文件

如果你们像我一样,在类 Unix 操作系统中,大量多版本的相同文件放在不同的备份目录,你可以使用下面的工具找到并删除重复文件。Media

via https://linux.cn/article-10123-1.html
如何在 Linux 中找到并删除重复文件

如果你们像我一样,在类 Unix 操作系统中,大量多版本的相同文件放在不同的备份目录,你可以使用下面的工具找到并删除重复文件。Media

via https://linux.cn/article-10123-1.html
如何在 Linux 中找到并删除重复文件

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/16/170704e7dhu41fqsrqkzf1.png">Media</a>&#22312;&#32534;&#36753;&#25110;&#20462;&#25913;&#37197;&#32622;&#25991;&#20214;&#25110;&#26087;&#25991;&#20214;&#21069;&#65292;&#25105;&#32463;&#24120;&#20250;&#25226;&#23427;&#20204;&#22791;&#20221;&#21040;&#30828;&#30424;&#30340;&#26576;&#20010;&#22320;&#26041;&#65292;&#22240;&#27492;&#25105;&#22914;&#26524;&#24847;&#22806;&#22320;&#25913;&#38169;&#20102;&#36825;&#20123;&#25991;&#20214;&#65292;&#25105;&#21487;&#20197;&#20174;&#22791;&#20221;&#20013;&#24674;&#22797;&#23427;&#20204;&#12290;&#20294;&#38382;&#39064;&#26159;&#22914;&#26524;&#25105;&#24536;&#35760;&#28165;&#29702;&#22791;&#20221;&#25991;&#20214;&#65292;&#19968;&#27573;&#26102;&#38388;&#20043;&#21518;&#65292;&#25105;&#30340;&#30913;&#30424;&#20250;&#34987;&#36825;&#20123;&#22823;&#37327;&#37325;&#22797;&#25991;&#20214;&#22635;&#28385; —— &#25105;&#35273;&#24471;&#35201;&#20040;&#26159;&#25042;&#24471;&#28165;&#29702;&#36825;&#20123;&#26087;&#25991;&#20214;&#65292;&#35201;&#20040;&#26159;&#25285;&#24515;&#21487;&#33021;&#20250;&#21024;&#25481;&#37325;&#35201;&#25991;&#20214;&#12290;&#22914;&#26524;&#20320;&#20204;&#20687;&#25105;&#19968;&#26679;&#65292;&#22312;&#31867; Unix &#25805;&#20316;&#31995;&#32479;&#20013;&#65292;&#22823;&#37327;&#22810;&#29256;&#26412;&#30340;&#30456;&#21516;&#25991;&#20214;&#25918;&#22312;&#19981;&#21516;&#30340;&#22791;&#20221;&#30446;&#24405;&#65292;&#20320;&#21487;&#20197;&#20351;&#29992;&#19979;&#38754;&#30340;&#24037;&#20855;&#25214;&#21040;&#24182;&#21024;&#38500;&#37325;&#22797;&#25991;&#20214;&#12290;<strong>&#25552;&#37266;&#19968;&#21477;&#65306;</strong>&#22312;&#21024;&#38500;&#37325;&#22797;&#25991;&#20214;&#30340;&#26102;&#35831;&#23613;&#37327;&#23567;&#24515;&#12290;&#22914;&#26524;&#20320;&#19981;&#23567;&#24515;&#65292;&#20063;&#35768;&#20250;&#23548;&#33268;<a href="https://www.ostechnix.com/prevent-files-folders-accidental-deletion-modification-linux/">&#24847;&#22806;&#20002;&#22833;&#25968;&#25454;</a>&#12290;&#25105;&#24314;&#35758;&#20320;&#22312;&#20351;&#29992;&#36825;&#20123;&#24037;&#20855;&#30340;&#26102;&#20505;&#35201;&#29305;&#21035;&#27880;&#24847;&#12290;&#22312; Linux &#20013;&#25214;&#21040;&#24182;&#21024;&#38500;&#37325;&#22797;&#25991;&#20214;&#20986;&#20110;&#26412;&#25351;&#21335;&#30340;&#30446;&#30340;&#65292;&#25105;&#23558;&#35752;&#35770;&#19979;&#38754;&#30340;&#19977;&#20010;&#24037;&#20855;&#65306;RdfindFdupesFSlint&#36825;&#19977;&#20010;&#24037;&#20855;&#26159;&#33258;&#30001;&#24320;&#28304;&#30340;&#65292;&#19988;&#36816;&#34892;&#22312;&#22823;&#22810;&#25968;&#31867; Unix &#31995;&#32479;&#20013;&#12290;1. Rdfind<strong>Rdfind</strong> &#24847;&#21363; <strong>r</strong>edundant <strong>d</strong>ata <strong>find</strong>&#65288;&#20887;&#20313;&#25968;&#25454;&#26597;&#25214;&#65289;&#65292;&#26159;&#19968;&#20010;&#36890;&#36807;&#35775;&#38382;&#30446;&#24405;&#21644;&#23376;&#30446;&#24405;&#26469;&#25214;&#20986;&#37325;&#22797;&#25991;&#20214;&#30340;&#33258;&#30001;&#24320;&#28304;&#30340;&#24037;&#20855;&#12290;&#23427;&#26159;&#22522;&#20110;&#25991;&#20214;&#20869;&#23481;&#32780;&#19981;&#26159;&#25991;&#20214;&#21517;&#26469;&#27604;&#36739;&#12290;Rdfind &#20351;&#29992;<strong>&#25490;&#24207;</strong>&#31639;&#27861;&#26469;&#21306;&#20998;&#21407;&#22987;&#25991;&#20214;&#21644;&#37325;&#22797;&#25991;&#20214;&#12290;&#22914;&#26524;&#20320;&#26377;&#20004;&#20010;&#25110;&#32773;&#26356;&#22810;&#30340;&#30456;&#21516;&#25991;&#20214;&#65292;Rdfind &#20250;&#24456;&#26234;&#33021;&#30340;&#25214;&#21040;&#21407;&#22987;&#25991;&#20214;&#24182;&#35748;&#23450;&#21097;&#19979;&#30340;&#25991;&#20214;&#20026;&#37325;&#22797;&#25991;&#20214;&#12290;&#19968;&#26086;&#25214;&#21040;&#21103;&#26412;&#25991;&#20214;&#65292;&#23427;&#20250;&#21521;&#20320;&#25253…
什么是行为驱动的 Python?

使用 Python behave 框架的行为驱动开发模式可以帮助你的团队更好的协作和测试自动化。Media

via https://linux.cn/article-10124-1.html
Linux &#25317;&#26377;&#20102;&#26032;&#30340;&#34892;&#20026;&#20934;&#21017;&#65292;&#20294;&#26159;&#35768;&#22810;&#20154;&#37117;&#23545;&#27492;&#34920;&#31034;&#19981;&#28385;

Linux &#20869;&#26680;&#26377;&#20102;&#26032;&#30340;&#34892;&#20026;&#20934;&#21017;Code of Conduct(CoC)&#12290;&#20294;&#22312;&#36825;&#26465;&#34892;&#20026;&#20934;&#21017;&#34987;&#31614;&#32626;&#20197;&#21450;&#21457;&#24067;&#20165;&#20165; 30 &#20998;&#38047;&#20043;&#21518;&#65292;Linus Torvalds &#23601;&#26242;&#26102;&#31163;&#24320;&#20102; Linux &#20869;&#26680;&#30340;&#24320;&#21457;&#24037;&#20316;&#12290;&#22240;&#20026;&#26032;&#34892;&#20026;&#20934;&#21017;&#30340;&#20316;&#32773;&#37027;&#23500;&#26377;&#20105;&#35758;&#30340;&#36807;&#21435;&#65292;&#29616;&#22312;&#36825;&#20214;&#20107;&#25104;&#20026;&#20102;&#28909;&#28857;&#35805;&#39064;&#12290;&#35768;&#22810;&#20154;&#37117;&#23545;&#36825;&#26032;&#30340;&#34892;&#20026;&#20934;&#21017;&#34920;&#31034;&#19981;&#28385;&#12290;&#22914;&#26524;&#20320;&#36824;&#19981;&#20102;&#35299;&#36825;&#20214;&#20107;&#65292;&#35831;&#21442;&#38405; <a href="https://linux.cn/article-10022-1.html">Linus Torvalds &#23545;&#20110;&#33258;&#24049;&#20043;&#21069;&#30340;&#19981;&#33391;&#24577;&#24230;&#33268;&#27465;&#24182;&#24320;&#22987;&#20241;&#20551;&#65292;&#20197;&#25913;&#21892;&#33258;&#24049;&#30340;&#34892;&#20026;&#24577;&#24230;</a>Linux &#20869;&#26680;&#24320;&#21457;&#36981;&#23432;&#30340;&#26032;&#34892;&#20026;&#20934;&#21017;Linux &#20869;&#26680;&#24320;&#21457;&#32773;&#24182;&#19981;&#26159;&#20197;&#21069;&#27809;&#26377;&#38656;&#35201;&#36981;&#23432;&#30340;&#34892;&#20026;&#20934;&#21017;&#65292;&#20294;&#26159;&#20043;&#21069;&#30340;<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/CodeOfConflict?id=ddbd2b7ad99a418c60397901a0f3c997d030c65e">&#20914;&#31361;&#20934;&#21017;code of conflict</a>&#29616;&#22312;&#34987;&#26367;&#25442;&#25104;&#20102;&#20197;“&#32473;&#20869;&#26680;&#24320;&#21457;&#31038;&#21306;&#33829;&#36896;&#26356;&#21152;&#28909;&#24773;&#65292;&#26356;&#26041;&#20415;&#20182;&#20154;&#21442;&#19982;&#30340;&#27675;&#22260;”&#20026;&#30446;&#30340;&#30340;&#34892;&#20026;&#20934;&#21017;&#12290;“&#20026;&#33829;&#36896;&#19968;&#20010;&#24320;&#25918;&#24182;&#19988;&#28909;&#24773;&#30340;&#31038;&#21306;&#29615;&#22659;&#65292;&#25105;&#20204;&#65292;&#36129;&#29486;&#32773;&#19982;&#32500;&#25252;&#32773;&#65292;&#35768;&#35834;&#35753;&#27599;&#19968;&#20010;&#21442;&#19982;&#36827;&#25105;&#20204;&#39033;&#30446;&#21644;&#31038;&#21306;&#30340;&#20154;&#20139;&#21463;&#19968;&#20010;&#27809;&#26377;&#39578;&#25200;&#30340;&#20307;&#39564;&#12290;&#26080;&#20851;&#20110;&#20182;&#20204;&#30340;&#24180;&#32426;&#12289;&#20307;&#22411;&#12289;&#36523;&#20307;&#27531;&#30142;&#12289;&#31181;&#26063;&#12289;&#24615;&#21035;&#12289;&#24615;&#21035;&#35748;&#30693;&#19982;&#34920;&#36798;&#12289;&#31038;&#20250;&#32463;&#39564;&#12289;&#25945;&#32946;&#27700;&#24179;&#12289;&#31038;&#20250;&#25110;&#32773;&#32463;&#27982;&#22320;&#20301;&#12289;&#22269;&#31821;&#12289;&#22806;&#34920;&#12289;&#20154;&#31181;&#12289;&#20449;&#20208;&#12289;&#24615;&#35748;&#21516;&#21644;&#24615;&#21462;&#21521;&#12290;”&#20320;&#21487;&#20197;&#22312;&#36825;&#37324;&#38405;&#35835;&#25972;&#31687;&#34892;&#20026;&#20934;&#21017;&#65306;<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8a104f8b5867c682d994ffa7a74093c54469c11f">Linux &#34892;&#20026;&#20934;&#21017;</a>&#12290;Linus Torvalds &#26159;&#34987;&#36843;&#36947;&#27465;&#24182;&#19988;&#20241;&#20551;&#30340;&#21527;&#65311;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/16/122734pipmibdrptydzzi6.jpg">Linus Torvalds &#30340;&#36947;&#27465;</a>&#36825;&#20010;&#26032;&#30340;&#34892;&#20026;&#20934;&#21017;&#30001; Linus Torvalds &#21644; Greg Kroah-Hartman (&#20165;&#27425;&#20110; Torvalds…
&#20160;&#20040;&#26159;&#34892;&#20026;&#39537;&#21160;&#30340; Python&#65311;

&#20351;&#29992; Python behave &#26694;&#26550;&#30340;&#34892;&#20026;&#39537;&#21160;&#24320;&#21457;&#27169;&#24335;&#21487;&#20197;&#24110;&#21161;&#20320;&#30340;&#22242;&#38431;&#26356;&#22909;&#30340;&#21327;&#20316;&#21644;&#27979;&#35797;&#33258;&#21160;&#21270;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/16/182736st3x3b2gt8ct23ry.jpeg">Media</a>&#24744;&#26159;&#21542;&#21548;&#35828;&#36807;<a href="https://automationpanda.com/bdd/">&#34892;&#20026;&#39537;&#21160;&#24320;&#21457;</a>behavior-driven development&#65288;BDD&#65289;&#65292;&#24182;&#22909;&#22855;&#36825;&#26159;&#20010;&#20160;&#20040;&#19996;&#35199;&#65311;&#20063;&#35768;&#20320;&#21457;&#29616;&#20102;&#22242;&#38431;&#25104;&#21592;&#22312;&#35848;&#35770;“&#23273;&#29916;”&#65288;LCTT &#35793;&#27880;&#65306;“&#23273;&#29916;gherkin” &#26159;&#19968;&#31181;&#31616;&#21333;&#30340;&#33521;&#35821;&#25991;&#26412;&#35821;&#35328;&#65292;&#24037;&#20855; cucumber &#36890;&#36807;&#35299;&#37322;&#23427;&#26469;&#25191;&#34892;&#27979;&#35797;&#33050;&#26412;&#65292;&#35265;&#19979;&#25991;&#65289;&#65292;&#32780;&#20320;&#21364;&#19981;&#30693;&#25152;&#20113;&#12290;&#25110;&#35768;&#20320;&#26159;&#19968;&#20010; Python &#20154;Pythonista&#65292;&#27491;&#22312;&#23547;&#25214;&#26356;&#22909;&#30340;&#26041;&#27861;&#26469;&#27979;&#35797;&#20320;&#30340;&#20195;&#30721;&#12290; &#26080;&#35770;&#22312;&#20160;&#20040;&#24773;&#20917;&#19979;&#65292;&#20102;&#35299; BDD &#37117;&#21487;&#20197;&#24110;&#21161;&#24744;&#21644;&#24744;&#30340;&#22242;&#38431;&#23454;&#29616;&#26356;&#22909;&#30340;&#21327;&#20316;&#21644;&#27979;&#35797;&#33258;&#21160;&#21270;&#65292;&#32780; Python &#30340; <a href="https://behave.readthedocs.io/en/latest/">behave</a> &#26694;&#26550;&#26159;&#19968;&#20010;&#24456;&#22909;&#30340;&#36215;&#28857;&#12290;&#20160;&#20040;&#26159; BDD&#65311;&#22312;&#36719;&#20214;&#20013;&#65292;<em>&#34892;&#20026;</em>&#26159;&#25351;&#22312;&#26126;&#30830;&#23450;&#20041;&#30340;&#36755;&#20837;&#12289;&#21160;&#20316;&#21644;&#32467;&#26524;&#22330;&#26223;&#20013;&#21151;&#33021;&#26159;&#22914;&#20309;&#36816;&#36716;&#30340;&#12290; &#20135;&#21697;&#21487;&#20197;&#34920;&#29616;&#20986;&#26080;&#25968;&#30340;&#34892;&#20026;&#65292;&#20363;&#22914;&#65306;&#22312;&#32593;&#31449;&#19978;&#25552;&#20132;&#34920;&#21333;&#25628;&#32034;&#24819;&#35201;&#30340;&#32467;&#26524;&#20445;&#23384;&#25991;&#26723;&#36827;&#34892; REST API &#35843;&#29992;&#36816;&#34892;&#21629;&#20196;&#34892;&#30028;&#38754;&#21629;&#20196;&#26681;&#25454;&#20135;&#21697;&#30340;&#34892;&#20026;&#23450;&#20041;&#20135;&#21697;&#30340;&#21151;&#33021;&#21487;&#20197;&#26356;&#23481;&#26131;&#22320;&#25551;&#36848;&#20135;&#21697;&#65292;&#24182;&#23545;&#20854;&#36827;&#34892;&#24320;&#21457;&#21644;&#27979;&#35797;&#12290; BDD &#30340;&#26680;&#24515;&#26159;&#65306;&#20351;&#34892;&#20026;&#25104;&#20026;&#36719;&#20214;&#24320;&#21457;&#30340;&#28966;&#28857;&#12290;&#22312;&#24320;&#21457;&#26089;&#26399;&#20351;&#29992;&#31034;&#20363;&#35821;&#35328;&#30340;&#35268;&#33539;&#26469;&#23450;&#20041;&#34892;&#20026;&#12290;&#26368;&#24120;&#35265;&#30340;&#34892;&#20026;&#35268;&#33539;&#35821;&#35328;&#20043;&#19968;&#26159; Gherkin&#65292;Cucumber&#39033;&#30446;&#20013;&#30340;Given-When-Then&#22330;&#26223;&#26684;&#24335;&#12290; &#34892;&#20026;&#35268;&#33539;&#22522;&#26412;&#19978;&#26159;&#23545;&#34892;&#20026;&#22914;&#20309;&#24037;&#20316;&#30340;&#31616;&#21333;&#35821;&#35328;&#25551;&#36848;&#65292;&#20855;&#26377;&#19968;&#33268;&#24615;&#21644;&#28966;&#28857;&#30340;&#19968;&#20123;&#27491;&#24335;&#32467;&#26500;&#12290; &#36890;&#36807;&#23558;&#27493;&#39588;&#25991;&#26412;“&#31896;&#21512;”&#21040;&#20195;&#30721;&#23454;&#29616;&#65292;&#27979;&#35797;&#26694;&#26550;&#21487;&#20197;&#36731;&#26494;&#22320…
Minikube 入门:笔记本上的 Kubernetes

运行 Minikube 的分步指南。Media

via https://linux.cn/article-10125-1.html
Minikube &#20837;&#38376;&#65306;&#31508;&#35760;&#26412;&#19978;&#30340; Kubernetes

&#36816;&#34892; Minikube &#30340;&#20998;&#27493;&#25351;&#21335;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/17/214443rikxkirgmv4eti41.png">Media</a>&#22312; <a href="https://kubernetes.io/docs/tutorials/hello-minikube">Hello Minikube</a> &#25945;&#31243;&#39029;&#38754;&#19978; Minikube &#34987;&#23459;&#20256;&#20026;&#22522;&#20110; Docker &#36816;&#34892; Kubernetes &#30340;&#19968;&#31181;&#31616;&#21333;&#26041;&#27861;&#12290; &#34429;&#28982;&#35813;&#25991;&#26723;&#38750;&#24120;&#26377;&#29992;&#65292;&#20294;&#23427;&#20027;&#35201;&#26159;&#20026; MacOS &#32534;&#20889;&#30340;&#12290; &#20320;&#21487;&#20197;&#28145;&#20837;&#25366;&#25496;&#22312; Windows &#25110;&#26576;&#20010; Linux &#21457;&#34892;&#29256;&#19978;&#30340;&#20351;&#29992;&#35828;&#26126;&#65292;&#20294;&#23427;&#20204;&#19981;&#26159;&#24456;&#28165;&#26970;&#12290; &#35768;&#22810;&#25991;&#26723;&#37117;&#26159;&#38024;&#23545; Debian / Ubuntu &#29992;&#25143;&#30340;&#65292;&#27604;&#22914;<a href="https://github.com/kubernetes/minikube/blob/master/docs/drivers.md">&#23433;&#35013; Minikube &#30340;&#39537;&#21160;&#31243;&#24207;</a>&#12290;&#36825;&#31687;&#25351;&#21335;&#26088;&#22312;&#20351;&#24471;&#22312;&#22522;&#20110; RHEL/Fedora/CentOS &#30340;&#25805;&#20316;&#31995;&#32479;&#19978;&#26356;&#23481;&#26131;&#23433;&#35013; Minikube&#12290;&#20808;&#20915;&#26465;&#20214;&#20320;&#24050;&#32463;<a href="https://docs.docker.com/install">&#23433;&#35013;&#20102; Docker</a>&#12290;&#20320;&#30340;&#35745;&#31639;&#26426;&#26159;&#19968;&#20010;&#22522;&#20110; RHEL / CentOS / Fedora &#30340;&#24037;&#20316;&#31449;&#12290;&#20320;&#24050;&#32463;<a href="https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#kvm2-driver">&#23433;&#35013;&#20102;&#27491;&#24120;&#36816;&#34892;&#30340; KVM2 &#34394;&#25311;&#26426;&#31649;&#29702;&#31243;&#24207;</a>&#12290;&#20320;&#26377;&#19968;&#20010;&#21487;&#20197;&#24037;&#20316;&#30340; docker-machine-driver-kvm2&#12290; &#20197;&#19979;&#21629;&#20196;&#23558;&#23433;&#35013;&#35813;&#39537;&#21160;&#31243;&#24207;&#65306;<pre class="prettyprint linenums">curl -Lo docker-machine-driver-kvm2 https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-kvm2 \chmod +x docker-machine-driver-kvm2 \&& sudo cp docker-machine-driver-kvm2 /usr/local/bin/ \&& rm docker-machine-driver-kvm2</pre>&#19979;&#36733;&#12289;&#23433;&#35013;&#21644;&#21551;&#21160;Minikube1&#12289;&#20026;&#20320;&#35201;&#21363;&#23558;&#19979;&#36733;&#30340;&#20004;&#20010;&#25991;&#20214;&#21019;&#24314;&#19968;&#20010;&#30446;&#24405;&#65292;&#20004;&#20010;&#25991;&#20214;&#20998;&#21035;&#26159;&#65306;<a href="https://github.com/kubernetes/minikube/releases">minikube</a> &#21644; <a href="https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-binary-using-curl">kubectl</a>&#12290;2&#12289;&#25171;&#24320;&#32456;&#31471;&#31383;&#21475;&#24182;&#36816;&#34892;&#20197;&#19979;&#21629;&#20196;&#26469;&#23433;&#35013; minikube&#12290;<pre class="prettyprint linenums">curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64</pre>&#35831;&#27880;&#24847;&#65292;minikube &#29256;&#26412;&#65288;&#20363;&#22914;&#65292;minikube-linux-amd64&#65289;&#21487;&#33021;&#22240;&#35745;&#31639;&#26426;&#30340;&#35268;&#26684;&#32780;&#26377;&#25152;&#19981;&#21516;&#12290;3&#12289;chmod &#21152;&#25191;&#34892;&#26435;&#38480;&#12290;<pre class="prettyprint linenums">chmod +x minikube</pre>4&#12289;&#23558;&#25991;&#20214;&#31227;&#21160;&#21040; /usr/local/bin &#36335;&#24452;&#19979;&#65292;&#20197;&#20415;&#20320;&#33021;&#23558;&#20854;&#20316;&#20026;&#21629;&#20196;&#36816;&#34892;&#12290;<pre class="prettyprint linenums">mv minikube /usr/local/bin</pre>5&#12289;&#20351;&#29992;&#20197;&#19979;&#21629;&#20196;&#23433;&#35013; ku…
树莓派自建 NAS 云盘之——云盘构建

用自行托管的树莓派 NAS 云盘来保护数据的安全!Media

via https://linux.cn/article-10126-1.html
&#26641;&#33683;&#27966;&#33258;&#24314; NAS &#20113;&#30424;&#20043;——&#20113;&#30424;&#26500;&#24314;

&#29992;&#33258;&#34892;&#25176;&#31649;&#30340;&#26641;&#33683;&#27966; NAS &#20113;&#30424;&#26469;&#20445;&#25252;&#25968;&#25454;&#30340;&#23433;&#20840;&#65281;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/17/231845lcxls9emctcc6mbz.jpg">Media</a>&#22312;&#21069;&#38754;&#20004;&#31687;&#25991;&#31456;&#20013;&#65292;&#25105;&#20204;&#35752;&#35770;&#20102;&#29992;&#26641;&#33683;&#27966;&#25645;&#24314;&#19968;&#20010; NAS &#20113;&#30424;&#25152;&#38656;&#35201;&#30340;&#19968;&#20123; <a href="https://linux.cn/article-10104-1.html?utm_source=index&utm_medium=more">&#36719;&#30828;&#20214;&#29615;&#22659;&#21450;&#20854;&#25805;&#20316;&#27493;&#39588;</a>&#12290;&#25105;&#20204;&#36824;&#21046;&#23450;&#20102;&#36866;&#24403;&#30340; <a href="https://linux.cn/article-10112-1.html">&#22791;&#20221;&#31574;&#30053;</a> &#26469;&#20445;&#25252; NAS &#19978;&#30340;&#25968;&#25454;&#12290;&#26412;&#25991;&#20013;&#65292;&#25105;&#20204;&#23558;&#20171;&#32461;&#35752;&#35770;&#21033;&#29992; <a href="https://nextcloud.com/">Nestcloud</a> &#26469;&#26041;&#20415;&#24555;&#25463;&#30340;&#23384;&#20648;&#12289;&#33719;&#21462;&#20197;&#21450;&#20998;&#20139;&#20320;&#30340;&#25968;&#25454;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/17/231935uowcp6sfh2jezhpz.png">Media</a>&#24517;&#35201;&#30340;&#20934;&#22791;&#24037;&#20316;&#24819;&#35201;&#26041;&#20415;&#30340;&#20351;&#29992; Nextcloud&#65292;&#38656;&#35201;&#19968;&#20123;&#24517;&#35201;&#30340;&#20934;&#22791;&#24037;&#20316;&#12290;&#39318;&#20808;&#65292;&#20320;&#38656;&#35201;&#19968;&#20010;&#25351;&#21521; Nextcloud &#30340;&#22495;&#21517;&#12290;&#26041;&#20415;&#36215;&#35265;&#65292;&#26412;&#25991;&#23558;&#20351;&#29992; <strong>nextcloud.pi-nas.com</strong> &#12290;&#22914;&#26524;&#20320;&#26159;&#22312;&#23478;&#24237;&#32593;&#32476;&#37324;&#36816;&#34892;&#65292;&#20320;&#38656;&#35201;&#20026;&#35813;&#22495;&#21517;&#37197;&#32622; DNS &#26381;&#21153;&#65288;&#21160;&#24577;&#22495;&#21517;&#35299;&#26512;&#26381;&#21153;&#65289;&#24182;&#22312;&#36335;&#30001;&#22120;&#20013;&#24320;&#21551; 80 &#31471;&#21475;&#21644; 443 &#31471;&#21475;&#36716;&#21457;&#21151;&#33021;&#65288;&#22914;&#26524;&#38656;&#35201;&#20351;&#29992; https&#65292;&#21017;&#38656;&#35201;&#24320;&#21551; 443 &#31471;&#21475;&#36716;&#21457;&#65292;&#22914;&#26524;&#21482;&#29992; http&#65292;80 &#31471;&#21475;&#36275;&#20197;&#65289;&#12290;&#20320;&#21487;&#20197;&#20351;&#29992; <a href="https://sourceforge.net/p/ddclient/wiki/Home/">ddclient</a> &#22312;&#26641;&#33683;&#27966;&#20013;&#33258;&#21160;&#26356;&#26032; DNS&#12290;&#23433;&#35013; Nextcloud&#20026;&#20102;&#22312;&#26641;&#33683;&#27966;&#65288;&#21442;&#32771; <a href="https://linux.cn/article-10104-1.html?utm_source=index&utm_medium=more">&#31532;&#19968;&#31687;</a> &#20013;&#27493;&#39588;&#35774;&#32622;&#65289;&#20013;&#36816;&#34892; Nextcloud&#65292;&#39318;&#20808;&#29992;&#21629;&#20196; apt &#23433;&#35013; &#20197;&#19979;&#30340;&#19968;&#20123;&#20381;&#36182;&#36719;&#20214;&#21253;&#12290;<pre class="prettyprint linenums">sudo apt install unzip wget php apache2 mysql-server php-zip php-mysql php-dom php-mbstring php-gd php-curl</pre>&#20854;&#27425;&#65292;&#19979;&#36733; Nextcloud&#12290;&#22312;&#26641;&#33683;&#27966;&#20013;&#21033;&#29992; wget &#19979;&#36733;&#20854; <a href="https://nextcloud.com/install/#instructions-server">&#26368;&#26032;&#30340;&#29256;&#26412;</a>&#12290;&#22312; <a href="https://linux.cn/article-10104-1.html?utm_source=index&utm_medium=more">&#31532;&#19968;&#31687;</a> &#25991;&#31456;&#20013;&#65292;&#25105;&#20204;&#23558;&#20004;&#20010;&#30913;&#30424;&#39537;&#21160;&#22120;&#36830;&#25509;&#21040;&#26641;&#33683;&#27966;&#65292;&#19968;&#20010;&#29992;&#20110;&#23384;&#20648;&#24403;&#21069;&#2596…
三个开源的分布式追踪工具

这几个工具对复杂软件系统中的实时事件做了可视化,能帮助你快速发现性能问题。Media

via https://linux.cn/article-10127-1.html
&#19977;&#20010;&#24320;&#28304;&#30340;&#20998;&#24067;&#24335;&#36861;&#36394;&#24037;&#20855;

&#36825;&#20960;&#20010;&#24037;&#20855;&#23545;&#22797;&#26434;&#36719;&#20214;&#31995;&#32479;&#20013;&#30340;&#23454;&#26102;&#20107;&#20214;&#20570;&#20102;&#21487;&#35270;&#21270;&#65292;&#33021;&#24110;&#21161;&#20320;&#24555;&#36895;&#21457;&#29616;&#24615;&#33021;&#38382;&#39064;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/18/000511wi277hjm2vmo4oah.png">Media</a>&#20998;&#24067;&#24335;&#36861;&#36394;&#31995;&#32479;&#33021;&#22815;&#20174;&#22836;&#21040;&#23614;&#22320;&#36861;&#36394;&#36328;&#36234;&#20102;&#22810;&#20010;&#24212;&#29992;&#12289;&#26381;&#21153;&#12289;&#25968;&#25454;&#24211;&#20197;&#21450;&#20687;&#20195;&#29702;&#36825;&#26679;&#30340;&#20013;&#38388;&#20214;&#30340;&#20998;&#24067;&#24335;&#36719;&#20214;&#30340;&#35831;&#27714;&#12290;&#23427;&#33021;&#24110;&#21161;&#20320;&#26356;&#28145;&#20837;&#22320;&#29702;&#35299;&#31995;&#32479;&#20013;&#21040;&#24213;&#21457;&#29983;&#20102;&#20160;&#20040;&#12290;&#36861;&#36394;&#31995;&#32479;&#20197;&#22270;&#24418;&#21270;&#30340;&#26041;&#24335;&#65292;&#23637;&#31034;&#20986;&#27599;&#20010;&#24050;&#30693;&#27493;&#39588;&#20197;&#21450;&#26576;&#20010;&#35831;&#27714;&#22312;&#27599;&#20010;&#27493;&#39588;&#19978;&#30340;&#32791;&#26102;&#12290;&#29992;&#25143;&#21487;&#20197;&#36890;&#36807;&#36825;&#20123;&#23637;&#31034;&#26469;&#21028;&#26029;&#31995;&#32479;&#30340;&#21738;&#20010;&#29615;&#33410;&#26377;&#24310;&#36831;&#25110;&#38459;&#22622;&#65292;&#24403;&#35831;&#27714;&#22833;&#36133;&#26102;&#65292;&#36816;&#32500;&#21644;&#24320;&#21457;&#20154;&#21592;&#21487;&#20197;&#30475;&#21040;&#20934;&#30830;&#30340;&#38382;&#39064;&#28304;&#22836;&#65292;&#32780;&#19981;&#38656;&#35201;&#21435;&#27979;&#35797;&#25972;&#20010;&#31995;&#32479;&#65292;&#27604;&#22914;&#29992;&#20108;&#21449;&#26597;&#25214;&#26641;&#30340;&#26041;&#27861;&#21435;&#23450;&#20301;&#38382;&#39064;&#12290;&#22312;&#24320;&#21457;&#36845;&#20195;&#30340;&#36807;&#31243;&#20013;&#65292;&#36861;&#36394;&#31995;&#32479;&#36824;&#33021;&#22815;&#23637;&#31034;&#20986;&#21487;&#33021;&#24341;&#36215;&#24615;&#33021;&#21464;&#21270;&#30340;&#29615;&#33410;&#12290;&#36890;&#36807;&#24322;&#24120;&#34892;&#20026;&#30340;&#35686;&#21578;&#33258;&#21160;&#22320;&#24863;&#30693;&#21040;&#24615;&#33021;&#30340;&#36864;&#21270;&#65292;&#24635;&#26159;&#27604;&#23458;&#25143;&#21578;&#35785;&#20320;&#35201;&#22909;&#12290;&#36825;&#31181;&#36861;&#36394;&#26159;&#24590;&#20040;&#24037;&#20316;&#30340;&#21602;&#65311;&#32473;&#27599;&#20010;&#35831;&#27714;&#20998;&#37197;&#19968;&#20010;&#29305;&#27530; ID&#65292;&#36825;&#20010; ID &#36890;&#24120;&#20250;&#25554;&#20837;&#21040;&#35831;&#27714;&#22836;&#37096;&#20013;&#12290;&#23427;&#21807;&#19968;&#26631;&#35782;&#20102;&#23545;&#24212;&#30340;&#20107;&#21153;&#12290;&#19968;&#33324;&#25226;&#20107;&#21153;&#21483;&#20570;&#36394;&#36857;trace&#65292;“&#36394;&#36857;”&#26159;&#25972;&#20010;&#20107;&#21153;&#30340;&#25277;&#35937;&#27010;&#24565;&#12290;&#27599;&#19968;&#20010;“&#36394;&#36857;”&#30001;&#21333;&#20803;span&#32452;&#25104;&#65292;“&#21333;&#20803;”&#20195;&#34920;&#30528;&#19968;&#27425;&#35831;&#27714;&#20013;&#30495;&#27491;&#25191;&#34892;&#30340;&#25805;&#20316;&#65292;&#27604;&#22914;&#19968;&#27425;&#26381;&#21153;&#35843;&#29992;&#65292;&#19968;&#27425;&#25968;&#25454;&#24211;&#35831;&#27714;&#31561;&#12290;&#27599;&#19968;&#20010;“&#21333;&#20803;”&#20063;&#26377;&#33258;&#24049;&#21807;&#19968;&#30340; ID&#12290;“&#21333;&#20803;”&#20043;&#19979;&#20063;&#21487;&#20197;&#21019;&#24314;&#23376;“&#21333;&#20803;”&#65292;&#23376;“&#21333;&#20803;”&#21487;&#20197;&#26377;&#22810;&#20010;&#29238;“&#21333;&#20803;”&#12290;&#24403;&#19968;&#27425;&#20107;&#21153;&#65288;&#25110;&#32773;&#35828;&#36394;&#36857;&#65289;&#36816;&#34892;&#36807;&#20043;&#21518;&#65292;&#23601;&#…
使用 Python 为你的油箱加油

我来介绍一下我是如何使用 Python 来节省成本的。Media

via https://linux.cn/article-10128-1.html
&#20351;&#29992; Python &#20026;&#20320;&#30340;&#27833;&#31665;&#21152;&#27833;

&#25105;&#26469;&#20171;&#32461;&#19968;&#19979;&#25105;&#26159;&#22914;&#20309;&#20351;&#29992; Python &#26469;&#33410;&#30465;&#25104;&#26412;&#30340;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/18/003647fykfkj2p2kc57ezx.jpg">Media</a>&#25105;&#26368;&#36817;&#22312;&#24320;&#19968;&#36742;&#28903; 93 &#21495;&#27773;&#27833;&#30340;&#36710;&#23376;&#12290;&#26681;&#25454;&#27773;&#36710;&#21046;&#36896;&#21830;&#30340;&#35828;&#27861;&#65292;&#23427;&#21482;&#38656;&#35201;&#21152; 91 &#21495;&#27773;&#27833;&#23601;&#21487;&#20197;&#20102;&#12290;&#28982;&#32780;&#65292;&#22312;&#32654;&#22269;&#21482;&#33021;&#20080;&#21040; 87 &#21495;&#12289;89 &#21495;&#12289;93 &#21495;&#27773;&#27833;&#12290;&#32780;&#25105;&#23478;&#38468;&#36817;&#30340;&#27773;&#27833;&#30340;&#29289;&#20215;&#27700;&#24179;&#26159;&#27599;&#22686;&#21152;&#19968;&#21495;&#65292;&#27599;&#21152;&#20177;&#23601;&#35201;&#22810;&#20184; 30 &#32654;&#20998;&#65292;&#22240;&#27492;&#22914;&#26524;&#21152; 93 &#21495;&#27773;&#27833;&#65292;&#27599;&#21152;&#20177;&#23601;&#35201;&#22810;&#33457; 60 &#32654;&#20998;&#12290;&#20026;&#20160;&#20040;&#19981;&#33021;&#33410;&#30465;&#19968;&#20123;&#38065;&#21602;&#65311;&#19968;&#24320;&#22987;&#24456;&#31616;&#21333;&#65292;&#21482;&#38656;&#35201;&#20808;&#21152;&#28385; 93 &#21495;&#27773;&#27833;&#65292;&#28982;&#21518;&#22312;&#27833;&#37327;&#34920;&#26174;&#31034;&#27833;&#31665;&#21322;&#28385;&#30340;&#26102;&#20505;&#65292;&#29992; 89 &#21495;&#27773;&#27833;&#21152;&#28385;&#65292;&#23601;&#24471;&#21040;&#19968;&#25972;&#31665; 91 &#21495;&#27773;&#27833;&#20102;&#12290;&#20294;&#25509;&#19979;&#26469;&#23601;&#40635;&#28902;&#20102;&#65292;&#21097;&#19979;&#21322;&#31665; 91 &#21495;&#27773;&#27833;&#21152;&#19978;&#21322;&#31665; 93 &#21495;&#27773;&#27833;&#65292;&#21482;&#20250;&#21464;&#25104;&#19968;&#31665; 92 &#21495;&#27773;&#27833;&#65292;&#20877;&#25509;&#19979;&#26469;&#21602;&#65311;&#22914;&#26524;&#32487;&#32493;&#31639;&#19979;&#21435;&#65292;&#21482;&#20250;&#36234;&#26469;&#36234;&#28151;&#20081;&#12290;&#36825;&#20010;&#26102;&#20505; Python &#23601;&#27966;&#19978;&#29992;&#22330;&#20102;&#12290;&#25105;&#30340;&#26041;&#26696;&#26159;&#65292;&#21487;&#20197;&#26681;&#25454;&#27773;&#27833;&#30340;&#23454;&#26102;&#29366;&#24577;&#65292;&#19981;&#26029;&#21521;&#27833;&#31665;&#20013;&#21152;&#20837; 93 &#21495;&#27773;&#27833;&#25110;&#32773; 89 &#21495;&#27773;&#27833;&#65292;&#32780;&#26368;&#32456;&#30446;&#26631;&#26159;&#20351;&#27833;&#31665;&#20869;&#27773;&#27833;&#30340;&#21495;&#25968;&#19981;&#20302;&#20110; 91&#12290;&#25105;&#38656;&#35201;&#20570;&#30340;&#26159;&#21482;&#26159;&#36890;&#36807;&#19968;&#20123;&#31639;&#27861;&#26469;&#21028;&#26029;&#26032;&#26087;&#27773;&#27833;&#28151;&#21512;&#20043;&#21518;&#30340;&#21495;&#25968;&#12290;&#20351;&#29992;&#22810;&#39033;&#24335;&#26041;&#31243;&#25110;&#35768;&#20063;&#21487;&#20197;&#35299;&#20915;&#36825;&#20010;&#38382;&#39064;&#65292;&#20294;&#22914;&#26524;&#20351;&#29992; Python&#65292;&#22909;&#20687;&#21482;&#38656;&#35201;&#36827;&#34892;&#24490;&#29615;&#23601;&#21487;&#20197;&#20102;&#12290;<pre class="prettyprint linenums">#!/usr/bin/env python# octane.pyo = 93.0newgas = 93.0 # &#36825;&#20010;&#21464;&#37327;&#35760;&#24405;&#19978;&#19968;&#27425;&#21152;&#20837;&#30340;&#27773;&#27833;&#21495;&#25968;i = 1while i < 21: # 20 &#27425;&#36845;&#20195; (&#21152;&#27833;&#27425;&#25968;) if newgas == 89.0: # &#22914;&#26524;&#19978;&#19968;&#27425;&#21152;&#30340;&#26159; 89 &#21495;&#27773;&#27833;&#65292;&#25913;&#21152; 93 &#21495;&#27773;&#27833; newgas = 93.0 o = newgas/2 + o/2 # &#24403;&#27833;&#31665;&#21322;&#28385;&#30340;&#26102;&#20505;&#23601;&#21152;&#27833; else: # &#22914;&#26524;&#19978;&#19968;&#27425;&#21152;&#30340;&#26159; 93 &#21495;&#27773;&#27833;&#65292;&#21017;&…
如何在家中使用 SSH 和 SFTP 协议

通过 SSH 和 SFTP 协议,我们能够访问其他设备,有效而且安全的传输文件等等。Media

via https://linux.cn/article-10129-1.html
&#22914;&#20309;&#22312;&#23478;&#20013;&#20351;&#29992; SSH &#21644; SFTP &#21327;&#35758;

&#36890;&#36807; SSH &#21644; SFTP &#21327;&#35758;&#65292;&#25105;&#20204;&#33021;&#22815;&#35775;&#38382;&#20854;&#20182;&#35774;&#22791;&#65292;&#26377;&#25928;&#32780;&#19988;&#23433;&#20840;&#30340;&#20256;&#36755;&#25991;&#20214;&#31561;&#31561;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/18/205017sh5ghl6w7eaihdd1.png">Media</a>&#20960;&#24180;&#21069;&#65292;&#25105;&#20915;&#23450;&#37197;&#32622;&#21478;&#22806;&#19968;&#21488;&#30005;&#33041;&#65292;&#20197;&#20415;&#25105;&#33021;&#22312;&#24037;&#20316;&#26102;&#35775;&#38382;&#23427;&#26469;&#20256;&#36755;&#25105;&#25152;&#38656;&#35201;&#30340;&#25991;&#20214;&#12290;&#35201;&#20570;&#21040;&#36825;&#19968;&#28857;&#65292;&#26368;&#22522;&#26412;&#30340;&#19968;&#27493;&#26159;&#35201;&#27714;&#20320;&#30340;&#32593;&#32476;&#25552;&#20379;&#21830;&#65288;ISP&#65289;&#25552;&#20379;&#19968;&#20010;&#22266;&#23450;&#30340;&#22320;&#22336;&#12290;&#26377;&#19968;&#20010;&#19981;&#24517;&#35201;&#20294;&#24456;&#37325;&#35201;&#30340;&#27493;&#39588;&#65292;&#23601;&#26159;&#20445;&#35777;&#20320;&#30340;&#36825;&#20010;&#21487;&#20197;&#35775;&#38382;&#30340;&#31995;&#32479;&#26159;&#23433;&#20840;&#30340;&#12290;&#22312;&#25105;&#30340;&#36825;&#31181;&#24773;&#20917;&#19979;&#65292;&#25105;&#35745;&#21010;&#21482;&#22312;&#24037;&#20316;&#22330;&#25152;&#35775;&#38382;&#23427;&#65292;&#25152;&#20197;&#25105;&#33021;&#22815;&#38480;&#23450;&#35775;&#38382;&#30340; IP &#22320;&#22336;&#12290;&#21363;&#20351;&#22914;&#27492;&#65292;&#20320;&#20381;&#28982;&#35201;&#23613;&#22810;&#30340;&#37319;&#29992;&#23433;&#20840;&#25514;&#26045;&#12290;&#19968;&#26086;&#20320;&#24314;&#31435;&#36215;&#26469;&#36825;&#20010;&#31995;&#32479;&#65292;&#20840;&#19990;&#30028;&#30340;&#20154;&#20204;&#39532;&#19978;&#23601;&#33021;&#23581;&#35797;&#35775;&#38382;&#20320;&#30340;&#31995;&#32479;&#12290;&#36825;&#26159;&#38750;&#24120;&#20196;&#20154;&#24778;&#22855;&#21450;&#24656;&#24908;&#30340;&#12290;&#20320;&#33021;&#36890;&#36807;&#26085;&#24535;&#25991;&#20214;&#26469;&#21457;&#29616;&#36825;&#19968;&#28857;&#12290;&#25105;&#25512;&#27979;&#26377;&#25506;&#27979;&#26426;&#22120;&#20154;&#22312;&#23613;&#20854;&#25152;&#33021;&#30340;&#25628;&#32034;&#37027;&#20123;&#27809;&#26377;&#23433;&#20840;&#25514;&#26045;&#30340;&#31995;&#32479;&#12290;&#22312;&#25105;&#35774;&#32622;&#22909;&#31995;&#32479;&#19981;&#20037;&#21518;&#65292;&#25105;&#35273;&#24471;&#36825;&#31181;&#35775;&#38382;&#27809;&#20160;&#20040;&#22823;&#29992;&#65292;&#20026;&#27492;&#65292;&#25105;&#23558;&#23427;&#20851;&#38381;&#20102;&#20197;&#20415;&#19981;&#20877;&#20026;&#23427;&#25805;&#24515;&#12290;&#23613;&#31649;&#22914;&#27492;&#65292;&#21482;&#35201;&#26550;&#35774;&#20102;&#23427;&#65292;&#22312;&#23478;&#24237;&#32593;&#32476;&#20013;&#20351;&#29992; SSH &#21644; SFTP &#36824;&#26159;&#26377;&#28857;&#29992;&#30340;&#12290;&#24403;&#28982;&#65292;&#26377;&#19968;&#20010;&#24517;&#22791;&#26465;&#20214;&#65292;&#36825;&#20010;&#21478;&#22806;&#30340;&#30005;&#33041;&#24517;&#39035;&#24050;&#32463;&#24320;&#26426;&#20102;&#65292;&#33267;&#20110;&#30005;&#33041;&#26159;&#21542;&#30331;&#24405;&#19982;&#21542;&#26080;&#25152;&#35859;&#30340;&#12290;&#20320;&#20063;&#38656;&#35201;&#30693;&#36947;&#20854; IP &#22320;&#22336;&#12290;&#26377;&#20004;&#20010;&#26041;&#27861;&#33021;&#22815;&#30693;&#36947;&#65292;&#19968;&#20010;&#26159;&#36890;&#36807;&#27983;&#35272;&#22120;&#35775;&#38382;&#20320;&#30340;&#36335;&#30001;&#22120;&#65292;&#19968;&#33324;&#24773;&#20917;&#19979;&#20320;&#30340;&#22320;&#22336;&#26684;&#24335;&#31867;&#20284;&#20110; 192.168.1.254 &#36825;&#26679;&#12290;&#36890;&#36807;&#19968;&#20123;&#25628;&#32034;&#65292;&#24456;&#23481;&#26131;&#25214;&#20986;&#24403;&#21069;&#26159;&#24320;&#26426;&#30340;&#24182;&#19988;&#25509;&#22312; eth0 &#25110;&#32773; wifi…
如何创建和维护你自己的 man 手册

Um 是一个命令行实用程序,可以用于轻松创建和维护包含你到目前为止所了解的所有命令的 man 页面。Media

via https://linux.cn/article-10130-1.html
&#22914;&#20309;&#21019;&#24314;&#21644;&#32500;&#25252;&#20320;&#33258;&#24049;&#30340; man &#25163;&#20876;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/19/062636oamaqp01aun6vqov.png">Media</a>&#25105;&#20204;&#24050;&#32463;&#35752;&#35770;&#20102;&#19968;&#20123; <a href="https://www.ostechnix.com/3-good-alternatives-man-pages-every-linux-user-know/">man &#25163;&#20876;&#30340;&#26367;&#20195;&#26041;&#26696;</a>&#12290; &#36825;&#20123;&#26367;&#20195;&#26041;&#26696;&#20027;&#35201;&#29992;&#20110;&#23398;&#20064;&#31616;&#27905;&#30340; Linux &#21629;&#20196;&#31034;&#20363;&#65292;&#32780;&#26080;&#38656;&#36890;&#36807;&#20840;&#38754;&#32780;&#36807;&#20110;&#35814;&#32454;&#30340;&#25163;&#20876;&#39029;&#12290; &#22914;&#26524;&#20320;&#27491;&#22312;&#23547;&#25214;&#19968;&#31181;&#24555;&#36895;&#32780;&#31616;&#21333;&#30340;&#26041;&#27861;&#26469;&#36731;&#26494;&#24555;&#36895;&#22320;&#23398;&#20064; Linux &#21629;&#20196;&#65292;&#37027;&#20040;&#36825;&#20123;&#26367;&#20195;&#26041;&#26696;&#20540;&#24471;&#23581;&#35797;&#12290; &#29616;&#22312;&#65292;&#20320;&#21487;&#33021;&#27491;&#22312;&#32771;&#34385; —— &#22914;&#20309;&#20026; Linux &#21629;&#20196;&#21019;&#24314;&#33258;&#24049;&#30340; man &#24335;&#30340;&#24110;&#21161;&#39029;&#38754;&#65311; &#36825;&#26102; “Um” &#23601;&#27966;&#19978;&#29992;&#22330;&#20102;&#12290; Um &#26159;&#19968;&#20010;&#21629;&#20196;&#34892;&#23454;&#29992;&#31243;&#24207;&#65292;&#21487;&#20197;&#29992;&#20110;&#36731;&#26494;&#21019;&#24314;&#21644;&#32500;&#25252;&#21253;&#21547;&#20320;&#21040;&#30446;&#21069;&#20026;&#27490;&#25152;&#20102;&#35299;&#30340;&#25152;&#26377;&#21629;&#20196;&#30340; man &#39029;&#38754;&#12290;&#36890;&#36807;&#21019;&#24314;&#33258;&#24049;&#30340;&#25163;&#20876;&#39029;&#65292;&#20320;&#21487;&#20197;&#22312;&#25163;&#20876;&#39029;&#20013;&#36991;&#20813;&#22823;&#37327;&#19981;&#24517;&#35201;&#30340;&#32454;&#33410;&#65292;&#24182;&#19988;&#21482;&#21253;&#21547;&#20320;&#38656;&#35201;&#35760;&#20303;&#30340;&#20869;&#23481;&#12290; &#22914;&#26524;&#20320;&#24819;&#21019;&#24314;&#33258;&#24049;&#30340;&#19968;&#22871; man &#24335;&#30340;&#39029;&#38754;&#65292;“Um” &#20063;&#33021;&#20026;&#20320;&#25552;&#20379;&#24110;&#21161;&#12290; &#22312;&#36825;&#20010;&#31616;&#30701;&#30340;&#25945;&#31243;&#20013;&#65292;&#25105;&#20204;&#23558;&#23398;&#20064;&#22914;&#20309;&#23433;&#35013; “Um” &#21629;&#20196;&#20197;&#21450;&#22914;&#20309;&#21019;&#24314;&#33258;&#24049;&#30340; man &#25163;&#20876;&#39029;&#12290;&#23433;&#35013; UmUm &#36866;&#29992;&#20110; Linux &#21644;Mac OS&#12290; &#30446;&#21069;&#65292;&#23427;&#21482;&#33021;&#22312; Linux &#31995;&#32479;&#20013;&#20351;&#29992; Linuxbrew &#36719;&#20214;&#21253;&#31649;&#29702;&#22120;&#26469;&#36827;&#34892;&#23433;&#35013;&#12290; &#22914;&#26524;&#20320;&#23578;&#26410;&#23433;&#35013; Linuxbrew&#65292;&#35831;&#21442;&#32771;&#20197;&#19979;&#38142;&#25509;&#65306;<a href="https://www.ostechnix.com/linuxbrew-common-package-manager-linux-mac-os-x/">Linuxbrew&#65306;&#19968;&#20010;&#29992;&#20110; Linux &#21644; MacOS &#30340;&#36890;&#29992;&#21253;&#31649;&#29702;&#22120;</a>&#23433;&#35013; Linuxbrew &#21518;&#65292;&#36816;&#34892;&#20197;&#19979;&#21629;&#20196;&#23433;&#35013; Um &#23454;&#29992;&#31243;&#24207;&#12290;<pre class="prettyprint linenums">$ brew install sinclairtarget/wst/um</pre>&#22914;&#26524;&#20320;&#20250;&#30475;&#21040;&#31867;&#20284;&#19979;&#38754;&#30340;&#36755;&#20986;&#65292;&#24685;&#21916;&#20320;&#65281; Um &#24050;&#32463;&#23433;&#35013;&#22909;&#24182;&#19988;&#21487;&#20197;&#20351;&#29992;&#20102;&#12290;<pre class="prettyprint linenums">[...]==> Installing sinclairtarget/wst/um==> Downloading https://github.com/sinclairtarget/um/archive/4.0.0.tar.gz==> Downloading from https://codeload.github.com/sinclairtarget/um/tar.gz/4.0.0-=#=# # #==> Downloading https://rubygems.org/gems/kramdown
Linux vs Mac:Linux 比 Mac 好的 7 个原因

如果你已经在用 Mac 或者打算买一台 Mac 电脑,我们建议你仔细考虑一下,看看是改为使用 Linux 还是继续使用 Mac。Media

via https://linux.cn/article-10131-1.html