Linux中国
1.73K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
CEO 的 Emacs 秘籍

一旦你了解了 Emacs,你就会意识到它其实是一台可以当发动机用的的热核烤面包机……好吧,只是文本处理的所有事情。当考虑到你计算机的使用周期在很大程度上都是与文本有关时,这是一个相当大胆的声明。大胆,但却是真的。Media

via https://linux.cn/article-10401-1.html
CEO 的 Emacs 秘籍

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201812/31/201447ifjh5gn6idn0dvh0.jpg">Media&#20960;&#24180;&#21069;&#65292;&#19981;&#65292;&#26159;&#20960;&#21313;&#24180;&#21069;&#65292;&#25105;&#23601;&#22312;&#29992; Emacs&#12290;&#19981;&#35770;&#26159;&#30721;&#20195;&#30721;&#12289;&#32534;&#20889;&#25991;&#26723;&#65292;&#36824;&#26159;&#31649;&#29702;&#37038;&#20214;&#21644;&#26085;&#31243;&#65292;&#25105;&#37117;&#29992;&#36825;&#20010;&#32534;&#36753;&#22120;&#65292;&#25110;&#32773;&#26159;&#35828;&#25805;&#20316;&#31995;&#32479;&#65292;&#32780;&#19988;&#25105;&#36824;&#20048;&#27492;&#19981;&#30130;&#12290;&#35768;&#22810;&#24180;&#36807;&#21435;&#20102;&#65292;&#25105;&#20063;&#36716;&#21521;&#20102;&#20854;&#20182;&#26356;&#26032;&#12289;&#26356;&#22909;&#30340;&#24037;&#20855;&#12290;&#32467;&#26524;&#65292;&#23601;&#36830;&#26368;&#22522;&#26412;&#30340;&#25991;&#20214;&#27983;&#35272;&#65292;&#25105;&#37117;&#24050;&#32463;&#24536;&#20102;&#22312;&#19981;&#29992;&#40736;&#26631;&#30340;&#24773;&#20917;&#19979;&#35813;&#24590;&#20040;&#25805;&#20316;&#12290;&#22823;&#32422;&#19977;&#20010;&#26376;&#21069;&#65292;&#25105;&#24847;&#35782;&#21040;&#25105;&#22312;&#24212;&#29992;&#31243;&#24207;&#21644;&#35745;&#31639;&#26426;&#20043;&#38388;&#20999;&#25442;&#19978;&#32791;&#36153;&#20102;&#22823;&#37327;&#30340;&#26102;&#38388;&#65292;&#20110;&#26159;&#25105;&#20915;&#23450;&#20877;&#27425;&#20351;&#29992; Emacs&#12290;&#36825;&#26159;&#20010;&#24456;&#27491;&#30830;&#30340;&#20915;&#23450;&#65292;&#21407;&#22240;&#26377;&#20197;&#19979;&#20960;&#20010;&#12290;&#20854;&#20013;&#21253;&#25324;&#29992; .emacs &#21644; Dropbox &#26469;&#25645;&#24314;&#19968;&#20010;&#33391;&#22909;&#30340;&#12289;&#21487;&#31227;&#26893;&#30340;&#29615;&#22659;&#30340;&#19968;&#20123;&#25216;&#24039;&#12290;&#23545;&#20110;&#37027;&#20123;&#36824;&#27809;&#29992;&#36807; Emacs &#30340;&#20154;&#26469;&#35828;&#65292;Emacs &#20250;&#35753;&#20320;&#29233;&#24680;&#20132;&#21152;&#12290;&#23427;&#26377;&#28857;&#20687;&#19968;&#20010;&#25151;&#23376;&#22823;&#23567;&#30340;&#40065;&#24067;·&#25096;&#24503;&#22561;&#26426;&#26800;Rube Goldberg machine&#65292;&#20045;&#19968;&#30475;&#65292;&#23427;&#20855;&#22791;&#28900;&#38754;&#21253;&#26426;&#30340;&#25152;&#26377;&#21151;&#33021;&#12290;&#36825;&#21548;&#36215;&#26469;&#19981;&#20687;&#26159;&#19968;&#31181;&#35748;&#21487;&#65292;&#20294;&#20851;&#38190;&#35789;&#26159;“&#20045;&#19968;&#30475;”&#12290;&#19968;&#26086;&#20320;&#20102;&#35299;&#20102; Emacs&#65292;&#20320;&#23601;&#20250;&#24847;&#35782;&#21040;&#23427;&#20854;&#23454;&#26159;&#19968;&#21488;&#21487;&#20197;&#24403;&#21457;&#21160;&#26426;&#29992;&#30340;&#28909;&#26680;&#28900;&#38754;&#21253;&#26426;……&#22909;&#21543;&#65292;&#21482;&#26159;&#25351;&#25991;&#26412;&#22788;&#29702;&#30340;&#25152;&#26377;&#20107;&#24773;&#12290;&#24403;&#32771;&#34385;&#21040;&#20320;&#35745;&#31639;&#26426;&#30340;&#20351;&#29992;&#21608;&#26399;&#22312;&#24456;&#22823;&#31243;&#24230;&#19978;&#37117;&#26159;&#19982;&#25991;&#26412;&#26377;&#20851;&#26102;&#65292;&#36825;&#26159;&#19968;&#20010;&#30456;&#24403;&#22823;&#32966;&#30340;&#22768;&#26126;&#12290;&#22823;&#32966;&#65292;&#20294;&#21364;&#26159;&#30495;&#30340;&#12290;&#20063;&#35768;&#23545;&#25105;&#26469;&#35828;&#26356;&#37325;&#35201;&#30340;&#26159;&#65292;Emacs &#26159;&#25105;&#26366;&#32463;&#20351;&#29992;&#36807;&#30340;&#19968;&#20010;&#24212;&#29992;&#65292;&#24182;&#35753;&#25105;&#35273;&#24471;&#25105;&#30495;&#27491;&#30340;&#25317;&#26377;&#23427;&#65292;&#32780;&#19981;&#26159;&#25226;&#25105;&#22609;&#36896;&#25104;&#19968;&#20010;&#21311;&#21517;&#30340;“&#29992;&#25143;”&#65292;&#23601;&#22909;&#20687;&#20301;&#20110; <a href="http://www.huffingtonpost.com/zachary-ehren/soma-isnt-a-drug-san-fran_b_987841.html">Soma&#65288;LCTT &#35793;&#27880;&#65306;&#26087;&#37329;&#23665;&#30340;&#19968;&#20010;&#34…
用 PGP 保护代码完整性(四):将主密钥移到离线存储中

如果开发者的 PGP 密钥被偷了,危害非常大。了解一下如何更安全。Media

via https://linux.cn/article-10402-1.html
&#29992; PGP &#20445;&#25252;&#20195;&#30721;&#23436;&#25972;&#24615;&#65288;&#22235;&#65289;&#65306;&#23558;&#20027;&#23494;&#38053;&#31227;&#21040;&#31163;&#32447;&#23384;&#20648;&#20013;

&#22914;&#26524;&#24320;&#21457;&#32773;&#30340; PGP &#23494;&#38053;&#34987;&#20599;&#20102;&#65292;&#21361;&#23475;&#38750;&#24120;&#22823;&#12290;&#20102;&#35299;&#19968;&#19979;&#22914;&#20309;&#26356;&#23433;&#20840;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/01/003541ehzdol364f315cf5.jpg">Media</a>&#22312;&#26412;&#31995;&#21015;&#25945;&#31243;&#20013;&#65292;&#25105;&#20204;&#20026;&#20351;&#29992; PGP &#25552;&#20379;&#20102;&#19968;&#20010;&#23454;&#29992;&#25351;&#21335;&#12290;&#20320;&#21487;&#20197;&#20174;&#19979;&#38754;&#30340;&#38142;&#25509;&#20013;&#26597;&#30475;&#21069;&#38754;&#30340;&#25991;&#31456;&#65306;<a href="https://linux.cn/article-9524-1.html">&#31532;&#19968;&#37096;&#20998;&#65306;&#22522;&#26412;&#27010;&#24565;&#21644;&#24037;&#20855;</a><a href="https://linux.cn/article-9529-1.html">&#31532;&#20108;&#37096;&#20998;&#65306;&#29983;&#25104;&#20320;&#30340;&#20027;&#23494;&#38053;</a><a href="https://linux.cn/article-9607-1.html">&#31532;&#19977;&#37096;&#20998;&#65306;&#29983;&#25104; PGP &#23376;&#23494;&#38053;</a>&#36825;&#26159;&#26412;&#31995;&#21015;&#25945;&#31243;&#30340;&#31532;&#22235;&#37096;&#20998;&#65292;&#25105;&#20204;&#32487;&#32493;&#26412;&#25945;&#31243;&#65292;&#25105;&#20204;&#23558;&#35848;&#19968;&#35848;&#22914;&#20309;&#21450;&#20026;&#20160;&#20040;&#35201;&#23558;&#20027;&#23494;&#38053;&#20174;&#20320;&#30340;&#23478;&#30446;&#24405;&#31227;&#21040;&#31163;&#32447;&#23384;&#20648;&#20013;&#12290;&#29616;&#22312;&#24320;&#22987;&#25105;&#20204;&#30340;&#25945;&#31243;&#12290;&#28165;&#21333;&#20934;&#22791;&#19968;&#20010;&#21152;&#23494;&#30340;&#21487;&#31227;&#38500;&#30340;&#23384;&#20648;&#65288;&#24517;&#35201;&#65289;&#22791;&#20221;&#20320;&#30340; GnuPG &#30446;&#24405;&#65288;&#24517;&#35201;&#65289;&#20174;&#20320;&#30340;&#23478;&#30446;&#24405;&#20013;&#21024;&#38500;&#20027;&#23494;&#38053;&#65288;&#25512;&#33616;&#65289;&#20174;&#20320;&#30340;&#23478;&#30446;&#24405;&#20013;&#21024;&#38500;&#21514;&#38144;&#35777;&#20070;&#65288;&#25512;&#33616;&#65289;&#32771;&#34385;&#20107;&#39033;&#20026;&#20160;&#20040;&#35201;&#20174;&#20320;&#30340;&#23478;&#30446;&#24405;&#20013;&#21024;&#38500;&#20320;&#30340;&#20027; [C] &#23494;&#38053; &#65311;&#36825;&#26679;&#20570;&#30340;&#20027;&#35201;&#21407;&#22240;&#26159;&#38450;&#27490;&#20320;&#30340;&#20027;&#23494;&#38053;&#22833;&#31363;&#25110;&#24847;&#22806;&#27844;&#38706;&#12290;&#23545;&#20110;&#24515;&#24576;&#19981;&#36712;&#30340;&#20154;&#26469;&#35828;&#65292;&#31169;&#38053;&#23545;&#20182;&#20204;&#20855;&#26377;&#24456;&#22823;&#30340;&#35825;&#24785;&#21147; —— &#25105;&#20204;&#30693;&#36947;&#26377;&#20960;&#20010;&#24694;&#24847;&#36719;&#20214;&#25104;&#21151;&#22320;&#23454;&#29616;&#20102;&#25195;&#25551;&#29992;&#25143;&#30340;&#23478;&#30446;&#24405;&#24182;&#23558;&#21457;&#29616;&#30340;&#31169;&#38053;&#20869;&#23481;&#19978;&#20256;&#12290;&#23545;&#20110;&#24320;&#21457;&#32773;&#26469;&#35828;&#65292;&#31169;&#38053;&#22833;&#31363;&#26159;&#38750;&#24120;&#21361;&#38505;&#30340;&#20107;&#24773; —— &#22312;&#33258;&#30001;&#36719;&#20214;&#30340;&#19990;&#30028;&#20013;&#65292;&#36825;&#26080;&#30097;&#26159;&#36523;&#20221;&#35777;&#26126;&#22833;&#31363;&#12290;&#20174;&#20320;&#30340;&#23478;&#30446;&#24405;&#20013;&#21024;&#38500;&#31169;&#38053;&#23558;&#24110;&#20320;&#38450;&#33539;&#36825;&#31867;&#20107;&#20214;&#30340;&#21457;&#29983;&#12290;&#22791;&#20221;&#20320;&#30340; GnuPG &#30446;&#24405;<strong>!!!&#32477;&#23545;&#19981;&#35201;&#36339;&#36807;&#36825;&#19968;&#27493;!!!</strong>&#22791;&#20221;&#20320;&#30340; PGP &#23494;&#38053;&#23558;&#35753;&#20320;&#22312;&#38656;&#35201;&#30340;&#26102;&#20505;&#24456;&#23481;&#26131;&#22320;&#24674;…
极客漫画:呃,70 后

70 后的老程序员已经对层出不穷的编程语言感到了厌烦,虽然这已经距离上一个编程语言出现已经十年了。Media

via https://linux.cn/article-10403-1.html
极客漫画:呃,70 后

Media70 后的老程序员已经对层出不穷的编程语言感到了厌烦,虽然这已经距离上一个编程语言出现已经十年了。虽然老程序员依旧很潮——扎着马尾,穿着花裤子——但是不能掩饰其秃顶和肥胖的腰身。IT 行业,是一个日新月异的行业,老程序员们如何跟上时代呢?十年,快吗?via: http://turnoff.us/geek/oh-the-70s/作者:Daniel Stori 译者 & 校对:wxy 校对 & 合成:wxy本文由 LCTT 原创编译,Linux中国 荣誉推出Media

via https://linux.cn/article-10403-1.html?utm_source=rss&utm_medium=rss
一个 HTTP/2 的故事

我花了大约 25 个小时来完成。坐下来穿上舒适的拖鞋,听听这个 HTTP/2 的故事!Media

via https://linux.cn/article-10404-1.html
&#19968;&#20010; HTTP/2 &#30340;&#25925;&#20107;

&#22823;&#32422;&#19968;&#20010;&#26376;&#21069;&#65292;&#26377;&#20154;&#22312;&#25105;&#25152;&#22312;&#30340; IRC &#39057;&#36947;&#20013;&#25552;&#21040;&#20102; <a href="https://en.wikipedia.org/wiki/HTTP/2">HTTP/2</a>&#12290;&#30001;&#20110;&#26576;&#31181;&#21407;&#22240;&#65292;&#25105;&#20174;&#26410;&#21548;&#35828;&#36807;&#23427;&#65292;&#32780;&#19988;&#26032;&#21327;&#35758;&#30340;&#19968;&#20123;&#21151;&#33021;&#65288;&#27604;&#22914;&#26080;&#38656;&#25171;&#24320;&#22810;&#20010; TCP &#36830;&#25509;&#23601;&#33021;&#22797;&#29992;&#35831;&#27714;&#65289;&#20284;&#20046;&#24456;&#37239;&#12290;&#35828;&#23454;&#35805;&#65292;&#25105;&#21018;&#21018;&#37325;&#20889;&#20102;&#31649;&#29702;&#25105;&#20204;&#22791;&#20221;&#31243;&#24207;&#30340; Puppet &#20195;&#30721;&#65292;&#21551;&#29992; HTTP/2 &#20284;&#20046;&#26159;&#19968;&#31181;&#36716;&#21521;&#21478;&#19968;&#20010;&#22823;&#22411;&#39033;&#30446;&#20043;&#21069;&#26377;&#25928;&#30340;&#25302;&#24310;&#26041;&#24335;&#12290;&#36825;&#26377;&#22810;&#38590;&#65311;&#32467;&#26524;&#25105;&#33457;&#20102;&#22823;&#32422; 25 &#20010;&#23567;&#26102;&#26469;&#23436;&#25104;&#12290;&#22352;&#19979;&#26469;&#31359;&#19978;&#33298;&#36866;&#30340;&#25302;&#38795;&#65292;&#21548;&#21548;&#36825;&#20010; HTTP/2 &#30340;&#25925;&#20107;&#65281;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/01/170158dnzuuw8ids3dw8sb.jpg">Media</a>&#34987;&#35781;&#21650;&#30340; HTTP/1.1&#24403;&#25105;&#31532;&#19968;&#27425;&#30475;&#21040;&#22914;&#20309;&#22312; Apache &#19978;&#21551;&#29992; HTTP/2 &#26102;&#65292;&#36825;&#20284;&#20046;&#26159;&#19968;&#39033;&#38750;&#24120;&#31616;&#21333;&#30340;&#20219;&#21153;&#12290;&#25991;&#26723;&#25552;&#21040;&#21152;&#36733; http2 &#27169;&#22359;&#24182;&#36890;&#36807;&#22914;&#19979;&#37197;&#32622;&#25991;&#20214;&#30830;&#20445;&#26032;&#21327;&#35758;&#20248;&#20808;&#65306;<pre class="prettyprint linenums">Protocols h2 h2c http/1.1H2Push onH2PushPriority * afterH2PushPriority text/css beforeH2PushPriority image/jpeg after 32H2PushPriority image/png after 32H2PushPriority application/javascript interleaved</pre>&#36825;&#24403;&#28982;&#24456;&#23481;&#26131;&#12290;&#21363;&#20351; Apache &#20013;&#30340;&#25152;&#26377;&#20869;&#23481;&#37117;&#24050;&#27491;&#30830;&#35774;&#32622;&#65292;&#32593;&#31449;&#20173;&#28982;&#20351;&#29992;&#30340;&#26159; HTTP/1.1&#12290;&#19981;&#36807;&#65292;&#26174;&#28982;&#25105;&#20570;&#24471;&#27809;&#38169;&#65292;&#22240;&#20026;&#25105;&#30340;&#32593;&#31449;&#29616;&#22312;&#21457;&#36865;&#20102;&#19968;&#20010;&#26032;&#30340; HTTP &#22836;&#65306;Upgrade: h2, h2c&#12290;&#22312;&#28010;&#36153;&#20102;&#22823;&#37327;&#26102;&#38388;&#35843;&#35797; TLS &#23494;&#38053;&#65288;HTTP/2 <a href="https://http2.github.io/http2-spec/#TLSUsage">&#19982; TLS 1.1 &#19981;&#20860;&#23481;</a>&#65289;&#20043;&#21518;&#65292;&#25105;&#32456;&#20110;&#21457;&#29616;&#38382;&#39064;&#26159;&#27809;&#26377;&#20351;&#29992;&#27491;&#30830;&#30340; Apache &#22810;&#36827;&#31243;&#22788;&#29702;&#27169;&#22359;&#12290;&#20107;&#23454;&#35777;&#26126;&#65292;&#22312;&#20351;&#29992; mpm_prefork&#65288;&#40664;&#35748; MPM&#65289;&#26102;&#65292;Apache &#19981;&#20250;&#20351;&#29992; HTTP/2&#65292;&#22240;&#20026; mod_http2 &#19981;&#25903;&#25345;&#23427;&#12290;&#23613;&#31649; Apache &#36824;&#26377;&#20004;&#20010;&#20854;&#20182;&#30340; MPM&#65292;&#20294;&#21482;&#26377; mpm_prefork &#25903;&#25345; mod_php&#12290;&#31361;&#28982;&#20043;&#38388;&#65292;&#28155;&#21152;&#23545; HTTP/2 &#30340;&#25903;&#25345;&#24847;&#21619;&#30528;&#25105;&#20204;&#23558;&#35201;&#25226;&#25152;&#26377;&#30340; PHP &#32593;&#31449;&#20999;&#25442;&#21040; PHP-FPM&#12290;&#25481;&#36827;&#20820;&#23376;&#27934;&#22312;&#24456;&#38271;&#19968;&#27573;&#26102;&#38388;&#37324;&#65292;&#19968;&#20301;&#22909;&#21451;&#19968;&#304…
如何构建一台网络引导服务器(三)

我们将向你展示如何设置一个更复杂的 iPXE 配置。它将允许终端用户以更容易的方式去选择引导哪个操作系统。它也可以配置为让系统管理员从一台中央服务器来统一管理引导菜单。Media

via https://linux.cn/article-10405-1.html
&#22914;&#20309;&#26500;&#24314;&#19968;&#21488;&#32593;&#32476;&#24341;&#23548;&#26381;&#21153;&#22120;&#65288;&#19977;&#65289;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/01/172110uwb7tt3x0gapas33.jpg">Media</a>&#22312; <a href="https://linux.cn/article-10379-1.html">&#22914;&#20309;&#26500;&#24314;&#19968;&#21488;&#32593;&#32476;&#24341;&#23548;&#26381;&#21153;&#22120;&#65288;&#19968;&#65289;</a> &#20013;&#65292;&#25105;&#20204;&#25552;&#20379;&#20102;&#19968;&#20010;&#26497;&#31616;&#30340; <a href="https://ipxe.org/">iPXE</a> &#24341;&#23548;&#33050;&#26412;&#26469;&#24341;&#23548;&#20320;&#30340;&#32593;&#32476;&#24341;&#23548;&#38236;&#20687;&#12290;&#35768;&#22810;&#29992;&#25143;&#38500;&#20102;&#20351;&#29992;&#32593;&#32476;&#24341;&#23548;&#38236;&#20687;&#22806;&#65292;&#21487;&#33021;&#22312;&#26426;&#22120;&#26412;&#22320;&#20063;&#26377;&#19968;&#20010;&#25805;&#20316;&#31995;&#32479;&#12290;&#20294;&#26159;&#20351;&#29992;&#24120;&#35265;&#30340;&#24037;&#20316;&#31449;&#30340; BIOS &#21435;&#20999;&#25442;&#24341;&#23548;&#21152;&#36733;&#22120;&#26159;&#24456;&#31528;&#25305;&#30340;&#12290;&#22312;&#26412;&#31995;&#21015;&#25991;&#20214;&#30340;&#31532;&#19977;&#37096;&#20998;&#65292;&#25105;&#20204;&#23558;&#21521;&#20320;&#23637;&#31034;&#22914;&#20309;&#35774;&#32622;&#19968;&#20010;&#26356;&#22797;&#26434;&#30340; iPXE &#37197;&#32622;&#12290;&#23427;&#23558;&#20801;&#35768;&#32456;&#31471;&#29992;&#25143;&#20197;&#26356;&#23481;&#26131;&#30340;&#26041;&#24335;&#21435;&#36873;&#25321;&#24341;&#23548;&#21738;&#20010;&#25805;&#20316;&#31995;&#32479;&#12290;&#23427;&#20063;&#21487;&#20197;&#37197;&#32622;&#20026;&#35753;&#31995;&#32479;&#31649;&#29702;&#21592;&#20174;&#19968;&#21488;&#20013;&#22830;&#26381;&#21153;&#22120;&#26469;&#32479;&#19968;&#31649;&#29702;&#24341;&#23548;&#33756;&#21333;&#12290;&#19968;&#20010;&#20132;&#20114;&#24335; iPXE &#24341;&#23548;&#33756;&#21333;&#19979;&#38754;&#36825;&#20123;&#21629;&#20196;&#37325;&#23450;&#20041;&#20102;&#32593;&#32476;&#24341;&#23548;&#38236;&#20687;&#30340; boot.cfg &#26469;&#20316;&#20026;&#19968;&#20010;&#20132;&#20114;&#24335;&#30340; iPXE &#24341;&#23548;&#33756;&#21333;&#65292;&#24182;&#20351;&#29992;&#20102;&#19968;&#20010; 5 &#31186;&#20498;&#35745;&#26102;&#30340;&#23450;&#26102;&#22120;&#65306;<pre class="prettyprint linenums">$ MY_FVER=29$ MY_KRNL=$(ls -c /fc$MY_FVER/lib/modules | head -n 1)$ MY_DNS1=192.0.2.91$ MY_DNS2=192.0.2.92$ MY_NAME=server-01.example.edu$ MY_EMAN=$(echo $MY_NAME | tr '.' "\n" | tac | tr "\n" '.' | cut -b -${#MY_NAME})$ MY_ADDR=$(host -t A $MY_NAME | awk '{print $4}')$ cat << END > $HOME/esp/linux/boot.cfg#!ipxeset timeout 5000:menumenu iPXE Boot Menuitem --key 1 lcl 1. Microsoft Windows 10item --key 2 f$MY_FVER 2. RedHat Fedora $MY_FVERchoose --timeout \${timeout} --default lcl selected || goto shellset timeout 0goto \${selected}:failedecho boot failed, dropping to shell...goto shell:shellecho type 'exit' to get the back to the menuset timeout 0shellgoto menu:lclexit:f$MY_FVERkernel --name kernel.efi \${prefix}/vmlinuz-$MY_KRNL initrd=initrd.img ro ip=dhcp rd.peerdns=0 nameserver=$MY_DNS1 nameserver=$MY_DNS2 root=/dev/disk/by-path/ip-$MY_ADDR:3260-iscsi-iqn.$MY_EMAN:fc$MY_FVER-lun-1 netroot=iscsiMediaMY_ADDR::::iqn.$MY_EMAN:fc$MY_FVER console=tty0 console=ttyS0,115200n8 audit=0 selinux=0 quietinitrd --name initrd.img \${prefix}/initramfs-$MY_KRNL.imgboot || goto failedEND</pre>&#19978;&#36848;&#33756;&#21333;&#26377;&#20116;&#20010;&#33410;&#65306;menu &#23450;&#20041;&#20102;&#26174;&#31034;&#22312;&#23631;&#24149;&#19978;&#30340;&#23454;&#38469;&#33756;&#21333;&#20869;&#23481;&#12290;failed &#25552;&#31034;&#29992;&#25143;&#21457;&#29983;&#20102;&#38169;&#35823;&#65292;&#24182;&#23558;&#29992;&#25143;&#24102;&#21040; shell &#20197;&#38169;&#35823;&#38169;&#35823;&#12290;shell &#25552;&#20379;&#20102;&#20132;&#20114;&#24335;&#21629;&#20196;&#25552;&#31034;&#31526;&#12290;&#20320;&#21487;&#20197;&…
初级:如何在终端及图形界面中更新 Ubuntu

这篇教程将向你展示如何更新服务器版本或者桌面版本的 Ubuntu。它还解释了更新和升级之间的区别以及你应该了解的有关于 Ubuntu Linux 中的更新的一些其他内容。Media

via https://linux.cn/article-10406-1.html
&#21021;&#32423;&#65306;&#22914;&#20309;&#22312;&#32456;&#31471;&#21450;&#22270;&#24418;&#30028;&#38754;&#20013;&#26356;&#26032; Ubuntu

&#36825;&#31687;&#25945;&#31243;&#23558;&#21521;&#20320;&#23637;&#31034;&#22914;&#20309;&#26356;&#26032;&#26381;&#21153;&#22120;&#29256;&#26412;&#25110;&#32773;&#26700;&#38754;&#29256;&#26412;&#30340; Ubuntu&#12290;&#23427;&#36824;&#35299;&#37322;&#20102;&#26356;&#26032;&#21644;&#21319;&#32423;&#20043;&#38388;&#30340;&#21306;&#21035;&#20197;&#21450;&#20320;&#24212;&#35813;&#20102;&#35299;&#30340;&#26377;&#20851;&#20110; Ubuntu Linux &#20013;&#30340;&#26356;&#26032;&#30340;&#19968;&#20123;&#20854;&#20182;&#20869;&#23481;&#12290;&#22914;&#26524;&#20320;&#26159;&#19968;&#20010;&#26032;&#25163;&#24182;&#24050;&#32463;&#20307;&#39564; Ubuntu &#25968;&#22825;&#25110;&#20960;&#21608;&#65292;&#20320;&#21487;&#33021;&#24819;&#30693;&#36947;&#22914;&#20309;&#26356;&#26032;&#20320;&#30340; <a href="https://www.ubuntu.com/">Ubuntu</a> &#31995;&#32479;&#20197;&#33719;&#21462;&#23433;&#20840;&#34917;&#19969;&#65292;&#38169;&#35823;&#20462;&#22797;&#21644;&#24212;&#29992;&#21319;&#32423;&#12290;&#26356;&#26032; Ubuntu &#38750;&#24120;&#31616;&#21333;&#12290;&#25105;&#24182;&#19981;&#26159;&#30606;&#35828;&#12290;&#23427;&#31616;&#21333;&#24471;&#21482;&#35201;&#36816;&#34892;&#20004;&#20010;&#21629;&#20196;&#12290;&#35753;&#25105;&#26469;&#21578;&#35785;&#20320;&#36825;&#20004;&#20010;&#21629;&#20196;&#30340;&#26356;&#22810;&#32454;&#33410;&#12290;&#35831;&#27880;&#24847;&#65292;&#26412;&#25945;&#31243;&#36866;&#29992;&#20110; Ubuntu 18.04&#12289;16.04 &#25110;&#20219;&#20309;&#20854;&#20182;&#29256;&#26412;&#12290;&#21629;&#20196;&#34892;&#26041;&#24335;&#20063;&#36866;&#29992;&#20110;&#22522;&#20110; Ubuntu &#30340;&#21457;&#34892;&#29256;&#22914; Linux Mint&#12289;Linux Lite&#12289;elementary OS &#31561;&#12290;&#36890;&#36807;&#21629;&#20196;&#34892;&#26356;&#26032; Ubuntu<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/01/212906rhz7lwatjcha74a4.png">&#22914;&#20309;&#26356;&#26032; Ubuntu</a>&#22312;&#26700;&#38754;&#19978;&#65292;&#25171;&#24320;&#32456;&#31471;&#12290;&#20320;&#21487;&#20197;&#22312;&#33756;&#21333;&#37324;&#25214;&#21040;&#23427;&#25110;&#32773;&#20351;&#29992; Ctrl+Alt+T <a href="https://itsfoss.com/ubuntu-shortcuts/">&#24555;&#25463;&#38190;</a>&#12290;&#22914;&#26524;&#20320;&#26159;&#30331;&#24405;&#21040;&#19968;&#21488; <a href="https://www.ubuntu.com/download/server">Ubuntu &#26381;&#21153;&#22120;</a>&#65292;&#37027;&#20320;&#24050;&#32463;&#22312;&#35775;&#38382;&#19968;&#20010;&#32456;&#31471;&#20102;&#12290;&#22312;&#32456;&#31471;&#37324;&#65292;&#20320;&#21482;&#38656;&#35201;&#20351;&#29992;&#20197;&#19979;&#21629;&#20196;&#65306;<pre class="prettyprint linenums">sudo apt update && sudo apt upgrade -y</pre>&#23427;&#23558;&#35810;&#38382;&#20320;&#23494;&#30721;&#65292;&#32780;&#20320;&#21487;&#20197;&#20351;&#29992;&#20320;&#30340;&#36134;&#21495;&#23494;&#30721;&#12290;&#36755;&#20837;&#26102;&#65292;&#20320;&#23558;&#19981;&#20250;&#30475;&#21040;&#20219;&#20309;&#20869;&#23481;&#22312;&#23631;&#24149;&#19978;&#65292;&#25152;&#20197;&#35831;&#32487;&#32493;&#36755;&#20837;&#20320;&#30340;&#23494;&#30721;&#24182;&#25353;&#22238;&#36710;&#38190;&#12290;&#29616;&#22312;&#65292;&#25105;&#26469;&#35299;&#37322;&#19979;&#19978;&#38754;&#30340;&#21629;&#20196;&#12290;&#20107;&#23454;&#19978;&#65292;&#36825;&#19981;&#26159;&#19968;&#26465;&#21629;&#20196;&#12290;&#23427;&#30001;&#20004;&#26465;&#21629;&#20196;&#32452;&#25104;&#12290;&#31526;&#21495; && &#26159;&#21512;&#24182;&#20004;&#26465;&#21629;&#20196;&#30340;&#19968;&#20010;&#26041;&#27861;&#65292;&#31532;&#20108;&#26465;&#21629;&#20196;&#20165;&#22312;&#21069;&#19968;&#26465;&#21629;&#20196;&#25191;&#34892;&#25104;&#21151;&#26102;&#25191;&#34892;&#12290;&#24403;&#21629;&#20196; apt upgrade &#35201;&#27714;&#20320;&#22312;&#23433;&#35013;&#26356;&#26032;&#21069;&#30830;&#35748;&#26102;&#65292;&#26411;…
Linux 下最棒的 11 个图片查看器

如果不是因为系统自带的图片查看器没有你想要的功能,或者你想要更棒的体验,你大概不会想切换到其它图片查看器吧。Media

via https://linux.cn/article-10407-1.html
Linux &#19979;&#26368;&#26834;&#30340; 11 &#20010;&#22270;&#29255;&#26597;&#30475;&#22120;

&#22914;&#26524;&#19981;&#26159;&#22240;&#20026;&#31995;&#32479;&#33258;&#24102;&#30340;&#22270;&#29255;&#26597;&#30475;&#22120;&#27809;&#26377;&#20320;&#24819;&#35201;&#30340;&#21151;&#33021;&#65292;&#25110;&#32773;&#20320;&#24819;&#35201;&#26356;&#26834;&#30340;&#20307;&#39564;&#65292;&#20320;&#22823;&#27010;&#19981;&#20250;&#24819;&#20999;&#25442;&#21040;&#20854;&#23427;&#22270;&#29255;&#26597;&#30475;&#22120;&#21543;&#12290;&#19981;&#36807;&#65292;&#22914;&#26524;&#20320;&#21916;&#27426;&#25240;&#33150;&#65292;&#20320;&#21487;&#33021;&#23601;&#20250;&#24819;&#29992;&#19981;&#21516;&#30340;&#22270;&#29255;&#26597;&#30475;&#22120;&#20102;&#21543;&#12290;&#25105;&#29468;&#26368;&#32456;&#20320;&#20250;&#34987;&#26032;&#22270;&#29255;&#26597;&#30475;&#22120;&#30340;&#20840;&#26032;&#29992;&#25143;&#20307;&#39564;&#25110;&#29305;&#33394;&#21151;&#33021;&#25152;&#21560;&#24341;&#30340;&#12290;&#22312;&#26412;&#31687;&#25991;&#31456;&#20013;&#65292;&#26080;&#35770;&#26159;&#31616;&#21333;&#30340;&#36824;&#26159;&#22797;&#26434;&#30340;&#12289;&#26080;&#35770;&#26159;&#20026; Ubuntu &#20934;&#22791;&#30340;&#36824;&#26159;&#20854;&#23427; Linux &#21457;&#34892;&#29256;&#20934;&#22791;&#30340;&#65292;&#25105;&#20204;&#37117;&#26377;&#25552;&#21040;&#12290;Linux &#19979;&#26368;&#26834;&#30340;&#22270;&#29255;&#26597;&#30475;&#22120;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/02/140524oz705o0cqm57mg3l.png">Ubuntu &#25110;&#20854;&#23427; Linux &#21457;&#34892;&#29256;&#36866;&#29992;&#30340;&#26368;&#26834;&#30340;&#22270;&#29255;&#26597;&#30475;&#22120;</a><strong>&#27880;&#24847;&#65306;</strong> &#22312;&#20934;&#22791;&#23433;&#35013;&#19968;&#20010;&#22270;&#29255;&#26597;&#30475;&#22120;&#26102;&#65292;&#35831;&#21069;&#24448;&#24744;&#31995;&#32479;&#20013;&#39044;&#20808;&#23433;&#35013;&#30340;&#36719;&#20214;&#21830;&#24215;&#20013;&#26597;&#25214;&#12290;&#22914;&#26524;&#24744;&#27809;&#26377;&#20219;&#20309;&#36719;&#20214;&#21830;&#24215;&#25110;&#26080;&#27861;&#22312;&#36719;&#20214;&#21830;&#24215;&#20013;&#25214;&#21040;&#23427;&#65292;&#35831;&#25163;&#21160;&#25191;&#34892;&#25105;&#20204;&#32473;&#20986;&#30340;&#21629;&#20196;&#12290;1. Nomacs<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/02/140526g0d66h9zqop5pdmo.jpg">Nomacs &#22270;&#29255;&#26597;&#30475;&#22120;</a><strong>&#23427;&#26377;&#20160;&#20040;&#29305;&#28857;&#65311;</strong>&#36731;&#24555;&#20869;&#24314;&#22270;&#20687;&#35843;&#25972;&#24037;&#20855;&#65288;&#21487;&#20197;&#35843;&#25972;&#33394;&#24425;&#21644;&#22823;&#23567;&#65289;&#25293;&#25668;&#20301;&#32622;&#20449;&#24687;&#20803;&#25968;&#25454;&#35843;&#33410;&#22120;&#23616;&#22495;&#32593;&#21516;&#27493;&#20840;&#23631;&#27169;&#24335;Nomacs &#26159;&#19968;&#27454;&#33258;&#30001;&#36719;&#20214;&#12290;&#34429;&#28982;&#27809;&#26377;&#20160;&#20040;&#20986;&#20247;&#30340;&#21151;&#33021;&#65292;&#20294;&#26159;&#23427;&#30340;&#20860;&#23481;&#24615;&#36824;&#19981;&#38169;&#65292;&#21487;&#20197;&#25903;&#25345;&#35768;&#22810;&#24120;&#35265;&#26684;&#24335;&#12290;&#23427;&#30340;&#30028;&#38754;&#36229;&#32423;&#31616;&#21333;&#65292;&#20294;&#26159;&#25552;&#20379;&#20102;&#31616;&#21333;&#30340;&#22270;&#29255;&#32534;&#36753;&#21151;&#33021;&#65288;&#21487;&#20197;&#35843;&#25972;&#33394;&#24425;&#12289;&#20142;&#24230;&#12289;&#22823;&#23567;&#21644;&#35009;&#21098;&#65289;&#12290;&#38500;&#27492;&#20043;&#22806;&#65292;&#23427;&#36824;&#25903;&#25345;&#20840;&#23631;&#27169;&#24335;&#12289;&#30452;&#26041;&#22270;&#65292;&#20197;&#21450;&#21487;&#20197;&#20999;&#25442;&#26174;&#31034;&#20803;&#25968;&#25454;&#12289;&#32534;&#36753;&#21382;&#21490;&#31561;&#20449;&#24687;&#30340;&#35768;&#22810;&#38754;&#26495;&#12290;<strong>&#25105;&#35813;&#22914;&#20309;&#23433;&#35013;&#23427;&#65311;</strong>&#31616;&#21333;&#36215;&#35265;&#6529…
使用 Node.js 构建交互式命令行工具

使用 Node.js 构建一个根据询问创建文件的命令行工具。Media

via https://linux.cn/article-10408-1.html
&#20351;&#29992; Node.js &#26500;&#24314;&#20132;&#20114;&#24335;&#21629;&#20196;&#34892;&#24037;&#20855;

&#20351;&#29992; Node.js &#26500;&#24314;&#19968;&#20010;&#26681;&#25454;&#35810;&#38382;&#21019;&#24314;&#25991;&#20214;&#30340;&#21629;&#20196;&#34892;&#24037;&#20855;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/02/232550x51um1yim1msd19m.jpg">Media</a>&#24403;&#29992;&#20110;&#26500;&#24314;&#21629;&#20196;&#34892;&#30028;&#38754;&#65288;CLI&#65289;&#26102;&#65292;Node.js &#21313;&#20998;&#26377;&#29992;&#12290;&#22312;&#36825;&#31687;&#25991;&#31456;&#20013;&#65292;&#25105;&#23558;&#20250;&#25945;&#20320;&#22914;&#20309;&#20351;&#29992; <a href="https://nodejs.org/en/">Node.js</a> &#26469;&#26500;&#24314;&#19968;&#20010;&#38382;&#19968;&#20123;&#38382;&#39064;&#24182;&#22522;&#20110;&#22238;&#31572;&#21019;&#24314;&#19968;&#20010;&#25991;&#20214;&#30340;&#21629;&#20196;&#34892;&#24037;&#20855;&#12290;&#24320;&#22987;&#39318;&#20808;&#65292;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340; <a href="https://www.npmjs.com/">npm</a> &#21253;&#65288;NPM &#26159; JavaScript &#21253;&#31649;&#29702;&#22120;&#65289;&#12290;<pre class="prettyprint linenums">mkdir my-scriptcd my-scriptnpm init</pre>NPM &#23558;&#20250;&#38382;&#19968;&#20123;&#38382;&#39064;&#12290;&#38543;&#21518;&#65292;&#25105;&#20204;&#38656;&#35201;&#23433;&#35013;&#19968;&#20123;&#21253;&#12290;<pre class="prettyprint linenums">npm install --save chalk figlet inquirer shelljs</pre>&#36825;&#26159;&#25105;&#20204;&#38656;&#35201;&#30340;&#21253;&#65306;Chalk&#65306;&#27491;&#30830;&#35774;&#23450;&#32456;&#31471;&#30340;&#23383;&#31526;&#26679;&#24335;Figlet&#65306;&#20351;&#29992;&#26222;&#36890;&#23383;&#31526;&#21046;&#20316;&#22823;&#23383;&#27597;&#30340;&#31243;&#24207;&#65288;LCTT &#35793;&#27880;&#65306;&#20351;&#29992;&#26631;&#20934;&#23383;&#31526;&#65292;&#25340;&#20945;&#20986;&#22270;&#29255;&#65289;Inquirer&#65306;&#36890;&#29992;&#20132;&#20114;&#24335;&#21629;&#20196;&#34892;&#29992;&#25143;&#30028;&#38754;&#30340;&#38598;&#21512;ShellJS&#65306;Node.js &#29256;&#26412;&#30340;&#21487;&#31227;&#26893; Unix Shell &#21629;&#20196;&#34892;&#24037;&#20855;&#21019;&#24314;&#19968;&#20010; index.js &#25991;&#20214;&#29616;&#22312;&#25105;&#20204;&#35201;&#20351;&#29992;&#19979;&#36848;&#20869;&#23481;&#21019;&#24314;&#19968;&#20010; index.js &#25991;&#20214;&#12290;<pre class="prettyprint linenums">#!/usr/bin/env nodeconst inquirer = require("inquirer");const chalk = require("chalk");const figlet = require("figlet");const shell = require("shelljs");</pre>&#35268;&#21010;&#21629;&#20196;&#34892;&#24037;&#20855;&#22312;&#25105;&#20204;&#20889;&#21629;&#20196;&#34892;&#24037;&#20855;&#25152;&#38656;&#30340;&#20219;&#20309;&#20195;&#30721;&#20043;&#21069;&#65292;&#20570;&#35745;&#21010;&#24635;&#26159;&#24456;&#26834;&#30340;&#12290;&#36825;&#20010;&#21629;&#20196;&#34892;&#24037;&#20855;&#21482;&#20570;&#19968;&#20214;&#20107;&#65306;<strong>&#21019;&#24314;&#19968;&#20010;&#25991;&#20214;</strong>&#12290;&#23427;&#23558;&#20250;&#38382;&#20004;&#20010;&#38382;&#39064;&#65306;&#25991;&#20214;&#21517;&#26159;&#20160;&#20040;&#20197;&#21450;&#25991;&#20214;&#21518;&#32512;&#21517;&#26159;&#20160;&#20040;&#65311;&#28982;&#21518;&#21019;&#24314;&#25991;&#20214;&#65292;&#24182;&#23637;&#31034;&#19968;&#20010;&#21253;&#21547;&#20102;&#25152;&#21019;&#24314;&#25991;&#20214;&#36335;&#24452;&#30340;&#25104;&#21151;&#20449;&#24687;&#12290;<pre class="prettyprint linenums">// index.jsconst run = async () => { // show script introduction // ask questions // create the file // show success message};run();</pre>&#31532;&#19968;&#20010;&#20989;&#25968;&#21482;&#26159;&#35813;&#33050;&#26412;&#30340;&#20171;&#32461;&#12290;&#35753;&#25105;&#20204;&#20351;&#29992; chalk &#21644; figlet &#26469;&#25226;&#23427;&#23436;&#25104;&#12290;<pre class="prettyprint linenums">const init = () => { console.log( chalk.green( figlet.textSync("Node JS CLI"…
如何在 Ubuntu 18.04 中启动到救援模式或紧急模式

在救援模式下,将挂载所有本地文件系统,仅启动一些重要服务。与救援模式相比,在紧急模式中不启动任何东西。Media

via https://linux.cn/article-10409-1.html
&#22914;&#20309;&#22312; Ubuntu 18.04 &#20013;&#21551;&#21160;&#21040;&#25937;&#25588;&#27169;&#24335;&#25110;&#32039;&#24613;&#27169;&#24335;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/02/233456h882cm5rw28ynwrm.png">Media</a>&#27491;&#22914;&#20320;&#21487;&#33021;&#24050;&#32463;&#30693;&#36947;&#30340;&#37027;&#26679;&#65292;<strong>&#36816;&#34892;&#32423;&#21035;</strong> &#22312;&#35768;&#22810;&#26368;&#36817;&#30340; Linux &#21457;&#34892;&#29256;&#65288;&#22914; RHEL 7 &#21644; Ubuntu 16.04 LTS&#65289;&#20013;&#34987; <strong>systemd &#30340;&#30446;&#26631;</strong> &#26367;&#25442;&#12290;&#26377;&#20851;&#23427;&#20204;&#30340;&#26356;&#22810;&#35814;&#32454;&#20449;&#24687;&#65292;&#35831;&#21442;&#38405;<a href="https://www.ostechnix.com/check-runlevel-linux/">&#36825;&#20010;&#25351;&#21335;</a>&#12290;&#22312;&#36825;&#20010;&#31616;&#30701;&#30340;&#25945;&#31243;&#20013;&#65292;&#25105;&#20204;&#23558;&#30475;&#21040;&#22914;&#20309;&#21551;&#21160;<strong>&#25937;&#25588;&#27169;&#24335;</strong>&#20197;&#21450;<strong>&#32039;&#24613;&#27169;&#24335;</strong>&#12290;&#26412;&#25351;&#21335;&#22312; Ubuntu 18.04 LTS &#20013;&#36827;&#34892;&#20102;&#27979;&#35797;&#65292;&#20294;&#26159;&#19979;&#38754;&#32473;&#20986;&#30340;&#27493;&#39588;&#36866;&#29992;&#20110;&#22823;&#22810;&#25968;&#20351;&#29992; systemd &#20316;&#20026;&#40664;&#35748;&#26381;&#21153;&#31649;&#29702;&#22120;&#30340; Linux &#21457;&#34892;&#29256;&#12290;&#22312;&#36827;&#19968;&#27493;&#35752;&#35770;&#20043;&#21069;&#65292;&#35753;&#25105;&#28548;&#28165;&#20160;&#20040;&#26159;&#25937;&#25588;&#27169;&#24335;&#21644;&#32039;&#24613;&#27169;&#24335;&#20197;&#21450;&#36825;&#20004;&#31181;&#27169;&#24335;&#30340;&#30446;&#30340;&#26159;&#20160;&#20040;&#12290;&#20160;&#20040;&#26159;&#25937;&#25588;&#27169;&#24335;&#65311;<strong>&#25937;&#25588;&#27169;&#24335;</strong>&#30456;&#24403;&#20110;&#20351;&#29992; <strong>SysV</strong> &#20316;&#20026;&#40664;&#35748;&#30340;&#26381;&#21153;&#31649;&#29702;&#22120;&#30340; Linux &#21457;&#34892;&#29256;&#20013;&#30340; <strong>&#21333;&#29992;&#25143;&#27169;&#24335;</strong>&#12290;&#22312;&#25937;&#25588;&#27169;&#24335;&#19979;&#65292;&#23558;&#25346;&#36733;&#25152;&#26377;&#26412;&#22320;&#25991;&#20214;&#31995;&#32479;&#65292;&#20165;&#21551;&#21160;&#19968;&#20123;&#37325;&#35201;&#26381;&#21153;&#12290;&#20294;&#26159;&#65292;&#19981;&#20250;&#21551;&#21160;&#27491;&#24120;&#26381;&#21153;&#65288;&#20363;&#22914;&#32593;&#32476;&#26381;&#21153;&#65289;&#12290;&#25937;&#25588;&#27169;&#24335;&#22312;&#31995;&#32479;&#26080;&#27861;&#27491;&#24120;&#21551;&#21160;&#30340;&#24773;&#20917;&#19979;&#24456;&#26377;&#29992;&#12290;&#27492;&#22806;&#65292;&#25105;&#20204;&#21487;&#20197;&#22312;&#25937;&#25588;&#27169;&#24335;&#19979;&#25191;&#34892;&#19968;&#20123;&#37325;&#35201;&#30340;&#25937;&#25588;&#25805;&#20316;&#65292;&#20363;&#22914;<a href="https://www.ostechnix.com/how-to-reset-or-recover-root-user-password-in-linux/">&#37325;&#32622; root &#23494;&#30721;</a>&#12290;&#20160;&#20040;&#26159;&#32039;&#24613;&#27169;&#24335;&#65311;&#19982;&#25937;&#25588;&#27169;&#24335;&#30456;&#27604;&#65292;&#22312;<strong>&#32039;&#24613;&#27169;&#24335;</strong>&#20013;&#19981;&#21551;&#21160;&#20219;&#20309;&#19996;&#35199;&#12290;&#27809;&#26377;&#26381;&#21153;&#21551;&#21160;&#12289;&#27809;&#26377;&#25346;&#36733;&#28857;&#12289;&#27809;&#26377;&#24314;&#31435;&#22871;&#25509;&#23383;&#65292;&#20160;&#20040;&#20063;&#27809;&#26377;&#12290;&#20320;&#25152;&#25317;&#26377;&#30340;&#21482;&#26159;&#19968;&#20010;<strong>&#21407;&#22987;&#30340; shell</strong>&#12290;&#32039;&#24613;&#27169;&#24335;&#36866;&#29992;&#20110;&#35843;&#35797;&#30446;&#30340;&#12290;&#22312; Ubuntu 18.04 LTS &#20013;&#36827;&#20837;&#25937;&#25588;&#27169;&#24335;&#21551;&#21160;&#20320;&#30340; Ubuntu &#31995;&#32479;&#12290;&#20986;&#29616; Grub &#33756;&#21333;&#26102;&#65292;&#36…
dbxfs:在 Linux 中本地挂载 Dropbox 文件夹

虽然在 Linux 中很容易安装 Dropbox 客户端,但这种方法与官方方法略有不同。它是一个命令行 dropbox 客户端,且无需磁盘空间即可访问。Media

via https://linux.cn/article-10410-1.html
dbxfs&#65306;&#22312; Linux &#20013;&#26412;&#22320;&#25346;&#36733; Dropbox &#25991;&#20214;&#22841;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/03/134500k83d0xphlm3pxd52.png">Media</a>&#19981;&#20037;&#21069;&#65292;&#25105;&#20204;&#24635;&#32467;&#20102;&#25152;&#26377; <a href="https://www.ostechnix.com/how-to-mount-google-drive-locally-as-virtual-file-system-in-linux/">&#22312;&#26412;&#22320;&#25346;&#36733; Google Drive</a> &#20316;&#20026;&#34394;&#25311;&#25991;&#20214;&#31995;&#32479;&#65292;&#24182;&#20174; Linux &#31995;&#32479;&#35775;&#38382;&#23384;&#20648;&#22312; Google Drive &#20013;&#30340;&#25991;&#20214;&#30340;&#26041;&#27861;&#12290;&#20170;&#22825;&#65292;&#25105;&#20204;&#23558;&#23398;&#20064;&#20351;&#29992; dbxfs &#23558; Dropbox &#25991;&#20214;&#22841;&#25346;&#36733;&#21040;&#26412;&#22320;&#25991;&#20214;&#31995;&#32479;&#20013;&#12290;dbxfs &#29992;&#20110;&#22312;&#31867; Unix &#25805;&#20316;&#31995;&#32479;&#20013;&#26412;&#22320;&#25346;&#36733; Dropbox &#25991;&#20214;&#22841;&#20316;&#20026;&#34394;&#25311;&#25991;&#20214;&#31995;&#32479;&#12290;&#34429;&#28982;&#22312; Linux &#20013;&#24456;&#23481;&#26131;<a href="https://www.ostechnix.com/install-dropbox-in-ubuntu-18-04-lts-desktop/">&#23433;&#35013; Dropbox &#23458;&#25143;&#31471;</a>&#65292;&#20294;&#36825;&#31181;&#26041;&#27861;&#19982;&#23448;&#26041;&#26041;&#27861;&#30053;&#26377;&#19981;&#21516;&#12290;&#23427;&#26159;&#19968;&#20010;&#21629;&#20196;&#34892; dropbox &#23458;&#25143;&#31471;&#65292;&#19988;&#26080;&#38656;&#30913;&#30424;&#31354;&#38388;&#21363;&#21487;&#35775;&#38382;&#12290;dbxfs &#26159;&#33258;&#30001;&#24320;&#28304;&#30340;&#65292;&#24182;&#19988;&#26159;&#29992; Python 3.5+ &#32534;&#20889;&#30340;&#12290;&#23433;&#35013; dbxfsdbxfs &#23448;&#26041;&#25903;&#25345; Linux &#21644; Mac OS&#12290;&#20294;&#26159;&#65292;&#23427;&#24212;&#35813;&#36866;&#29992;&#20110;&#20219;&#20309;&#25552;&#20379; <strong>FUSE &#20860;&#23481;&#24211;</strong>&#25110;&#33021;&#22815;&#25346;&#36733; SMB &#20849;&#20139;&#30340; POSIX &#31995;&#32479;&#12290;&#30001;&#20110;&#23427;&#26159;&#29992; Python 3.5 &#32534;&#20889;&#30340;&#65292;&#22240;&#27492;&#21487;&#20197;&#20351;&#29992; pip3 &#21253;&#31649;&#29702;&#22120;&#36827;&#34892;&#23433;&#35013;&#12290;&#22914;&#26524;&#23578;&#26410;&#23433;&#35013; pip&#65292;&#35831;&#21442;&#38405;&#20197;&#19979;&#25351;&#21335;&#12290;<a href="https://www.ostechnix.com/manage-python-packages-using-pip/">&#22914;&#20309;&#20351;&#29992; pip &#31649;&#29702; Python &#21253;</a>&#24182;&#19988;&#20063;&#35201;&#23433;&#35013; FUSE &#24211;&#12290;&#22312;&#22522;&#20110; Debian &#30340;&#31995;&#32479;&#19978;&#65292;&#36816;&#34892;&#20197;&#19979;&#21629;&#20196;&#20197;&#23433;&#35013; FUSE&#65306;<pre class="prettyprint linenums">$ sudo apt install libfuse2</pre>&#22312; Fedora &#19978;&#65306;<pre class="prettyprint linenums">$ sudo dnf install fuse</pre>&#23433;&#35013;&#23436;&#25152;&#26377;&#24517;&#38656;&#30340;&#20381;&#36182;&#39033;&#21518;&#65292;&#36816;&#34892;&#20197;&#19979;&#21629;&#20196;&#20197;&#23433;&#35013; dbxfs&#65306;<pre class="prettyprint linenums">$ pip3 install dbxfs</pre>&#22312;&#26412;&#22320;&#25346;&#36733; Dropbox &#25991;&#20214;&#22841;&#21019;&#24314;&#19968;&#20010;&#25346;&#36733;&#28857;&#20197;&#23558; Dropbox &#25991;&#20214;&#22841;&#25346;&#36733;&#21040;&#26412;&#22320;&#25991;&#20214;&#31995;&#32479;&#20013;&#12290;<pre class="prettyprint linenums">$ mkdir ~/mydropbox</pre>&#28982;&#21518;&#65292;&#20351;&#29992; dbxfs &#22312;&#26412;&#22320;&#25346;&#36733; dropbox &#25991;&#20214;&#22841;&#65292;&#22914;&#19979;&#25152;&#31034;&#65306;<pre class="prettyprint linenums">$ dbxfs ~/mydropbox</pre>&#20320;&#23558;&#34987;&#35201;&#27714;&#29983;&#25104;&#19968;&#20010;&#35775;&#38382;&#20196;&#29260;&#65306;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201901/03/134501xh7z43dcfnalflc3.png">Me…
下载 Linux 游戏的最佳网站

新接触 Linux 游戏并想知道从哪里来 下载 Linux 游戏?我们列出了最好的资源,在这里你既能 下载免费的 Linux 游戏 ,也能购买优质的 Linux 游戏。Media

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