Linux中国
1.73K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
6 个托管 git 仓库的地方

GitHub &#34987;&#25910;&#36141;&#23548;&#33268;&#19968;&#20123;&#29992;&#25143;&#21435;&#23547;&#25214;&#36825;&#20010;&#27969;&#34892;&#30340;&#20195;&#30721;&#20179;&#24211;&#30340;&#26367;&#20195;&#21697;&#12290;&#36825;&#37324;&#26377;&#19968;&#20123;&#20320;&#21487;&#20197;&#32771;&#34385;&#19968;&#19979;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/25/143554rszbl3h7iahqcm73.jpg">Media</a>&#20063;&#35768;&#20320;&#26159;&#23569;&#25968;&#19968;&#20123;&#27809;&#26377;&#27880;&#24847;&#21040;&#30340;&#20154;&#20043;&#19968;&#65292;&#23601;&#22312;&#20043;&#21069;&#65292;<a href="https://www.theverge.com/2018/6/4/17422788/microsoft-github-acquisition-official-deal">&#24494;&#36719;&#25910;&#36141;&#20102; GitHub</a>&#12290;&#20004;&#23478;&#20844;&#21496;&#36798;&#25104;&#20102;&#20849;&#35782;&#12290;&#24494;&#36719;&#22312;&#36817;&#20123;&#24180;&#24050;&#32463;&#21464;&#25104;&#20102;&#24320;&#28304;&#30340;&#26377;&#21147;&#25903;&#25345;&#32773;&#65292;&#32780; GitHub &#20174;&#25104;&#31435;&#36215;&#65292;&#23601;&#24050;&#32463;&#25104;&#20026;&#20102;&#22823;&#37327;&#30340;&#24320;&#28304;&#39033;&#30446;&#30340;&#23454;&#38469;&#20195;&#30721;&#24211;&#12290;&#28982;&#32780;&#65292;&#26368;&#36817;&#21457;&#29983;&#30340;&#36825;&#27425;&#25910;&#36141;&#21487;&#33021;&#20250;&#24102;&#32473;&#20320;&#19968;&#20123;&#33510;&#24700;&#12290;&#27605;&#31455;&#20844;&#21496;&#30340;&#25910;&#36141;&#35753;&#20320;&#24847;&#35782;&#21040;&#20102;&#20320;&#30340;&#24320;&#28304;&#20195;&#30721;&#25918;&#22312;&#20102;&#19968;&#20010;&#21830;&#19994;&#24179;&#21488;&#19978;&#12290;&#21487;&#33021;&#20320;&#29616;&#22312;&#36824;&#27809;&#20934;&#22791;&#22909;&#36801;&#31227;&#21040;&#20854;&#20182;&#30340;&#24179;&#21488;&#19978;&#21435;&#65292;&#20294;&#26159;&#33267;&#23569;&#36825;&#21487;&#20197;&#32473;&#20320;&#25552;&#20379;&#19968;&#20123;&#21487;&#36873;&#39033;&#12290;&#35753;&#25105;&#20204;&#25214;&#25214;&#32593;&#19978;&#29616;&#22312;&#37117;&#26377;&#21738;&#20123;&#21487;&#29992;&#30340;&#24179;&#21488;&#12290;&#36873;&#25321;&#20043;&#19968;&#65306; GitHub&#20005;&#26684;&#26469;&#35828;&#65292;&#36825;&#26159;&#19968;&#20010;&#21512;&#26684;&#30340;&#36873;&#39033;&#12290;<a href="https://github.com/">GitHub</a> &#21382;&#21490;&#19978;&#27809;&#26377;&#20160;&#20040;&#22833;&#20449;&#30340;&#22320;&#26041;&#65292;&#32780;&#19988;&#24494;&#36719;&#21518;&#26469;&#20063;&#19968;&#30452;&#31505;&#23545;&#24320;&#28304;&#12290;&#25226;&#20320;&#30340;&#39033;&#30446;&#32487;&#32493;&#25918;&#22312; GitHub &#19978;&#65292;&#20445;&#25345;&#35266;&#26395;&#27809;&#26377;&#20160;&#20040;&#19981;&#21487;&#20197;&#12290;&#23427;&#29616;&#22312;&#20381;&#28982;&#26159;&#26368;&#22823;&#30340;&#36719;&#20214;&#24320;&#21457;&#30340;&#32593;&#32476;&#31038;&#21306;&#65292;&#21516;&#26102;&#36824;&#26377;&#35768;&#22810;&#23545;&#20110;&#38382;&#39064;&#36861;&#36394;&#12289;&#20195;&#30721;&#23457;&#26597;&#12289;&#25345;&#32493;&#38598;&#25104;&#12289;&#36890;&#29992;&#30340;&#20195;&#30721;&#31649;&#29702;&#31561;&#24456;&#26377;&#29992;&#30340;&#24037;&#20855;&#12290;&#32780;&#19988;&#23427;&#36824;&#26159;&#22522;&#20110; Git &#30340;&#65292;&#36825;&#26159;&#27599;&#20010;&#20154;&#37117;&#21916;&#27426;&#30340;&#24320;&#28304;&#29256;&#26412;&#25511;&#21046;&#31995;&#32479;&#12290;&#20320;&#30340;&#20195;&#30721;&#36824;&#26159;&#20320;&#30340;&#20195;&#30721;&#12290;&#22914;&#26524;&#27809;&#26377;&#20986;&#29616;&#20160;&#20040;&#38382;&#39064;&#65292;&#37027;&#20445;&#25345;&#21407;&#29366;&#26159;&#27809;&#38169;&#30340;&#12290;&#36873;&#25321;&#20043;&#20108;&#65306; GitLab<a href="https://gitlab.com">GitLab</a> &#26159;&#32771;&#34385;&#26367;&#20195;&#20195;&#30721;&#24211;&#24179;&#21488;&#26102;&#30340;&#20027;&#35201;&#31454;&#20105;&#32773;&#12290;&#23427;&#26159;&#23436;&#20840;&#24320;&#28304;…
如何使用 Apache Web 服务器配置多个站点

如何在流行而强大的 Apache Web 服务器上托管两个或多个站点。Media

via https://linux.cn/article-10154-1.html
&#22914;&#20309;&#20351;&#29992; Apache Web &#26381;&#21153;&#22120;&#37197;&#32622;&#22810;&#20010;&#31449;&#28857;

&#22914;&#20309;&#22312;&#27969;&#34892;&#32780;&#24378;&#22823;&#30340; Apache Web &#26381;&#21153;&#22120;&#19978;&#25176;&#31649;&#20004;&#20010;&#25110;&#22810;&#20010;&#31449;&#28857;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/25/153824lkmrkizcwr47w9oc.jpg">Media</a>&#22312;&#25105;&#30340;<a href="https://linux.cn/article-9506-1.html">&#19978;&#19968;&#31687;&#25991;&#31456;</a>&#20013;&#65292;&#25105;&#35299;&#37322;&#20102;&#22914;&#20309;&#20026;&#21333;&#20010;&#31449;&#28857;&#37197;&#32622; Apache Web &#26381;&#21153;&#22120;&#65292;&#20107;&#23454;&#35777;&#26126;&#36825;&#24456;&#23481;&#26131;&#12290;&#22312;&#36825;&#31687;&#25991;&#31456;&#20013;&#65292;&#25105;&#23558;&#21521;&#20320;&#23637;&#31034;&#22914;&#20309;&#20351;&#29992;&#21333;&#20010; Apache &#23454;&#20363;&#26469;&#26381;&#21153;&#22810;&#20010;&#31449;&#28857;&#12290;&#27880;&#24847;&#65306;&#25105;&#20889;&#36825;&#31687;&#25991;&#31456;&#30340;&#29615;&#22659;&#26159; Fedora 27 &#34394;&#25311;&#26426;&#65292;&#37197;&#32622;&#20102; Apache 2.4.29&#12290;&#22914;&#26524;&#20320;&#29992;&#21478;&#19968;&#20010;&#21457;&#34892;&#29256;&#25110;&#19981;&#21516;&#30340; Fedora &#29256;&#26412;&#65292;&#37027;&#20040;&#20320;&#20351;&#29992;&#30340;&#21629;&#20196;&#20197;&#21450;&#37197;&#32622;&#25991;&#20214;&#30340;&#20301;&#32622;&#21644;&#20869;&#23481;&#21487;&#33021;&#20250;&#26377;&#25152;&#19981;&#21516;&#12290;&#27491;&#22914;&#25105;&#20043;&#21069;&#30340;&#25991;&#31456;&#20013;&#25552;&#21040;&#30340;&#65292;Apache &#30340;&#25152;&#26377;&#37197;&#32622;&#25991;&#20214;&#37117;&#20301;&#20110; /etc/httpd/conf &#21644; /etc/httpd/conf.d&#12290;&#40664;&#35748;&#24773;&#20917;&#19979;&#65292;&#31449;&#28857;&#30340;&#25968;&#25454;&#20301;&#20110; /var/www &#20013;&#12290;&#23545;&#20110;&#22810;&#20010;&#31449;&#28857;&#65292;&#20320;&#38656;&#35201;&#25552;&#20379;&#22810;&#20010;&#20301;&#32622;&#65292;&#27599;&#20010;&#20301;&#32622;&#23545;&#24212;&#25176;&#31649;&#30340;&#31449;&#28857;&#12290;&#22522;&#20110;&#21517;&#31216;&#30340;&#34394;&#25311;&#20027;&#26426;&#20351;&#29992;&#22522;&#20110;&#21517;&#31216;&#30340;&#34394;&#25311;&#20027;&#26426;&#65292;&#20320;&#21487;&#20197;&#20026;&#22810;&#20010;&#31449;&#28857;&#20351;&#29992;&#19968;&#20010; IP &#22320;&#22336;&#12290;&#29616;&#20195; Web &#26381;&#21153;&#22120;&#65292;&#21253;&#25324; Apache&#65292;&#20351;&#29992;&#25351;&#23450; URL &#30340; hostname &#37096;&#20998;&#26469;&#30830;&#23450;&#21738;&#20010;&#34394;&#25311; Web &#20027;&#26426;&#21709;&#24212;&#39029;&#38754;&#35831;&#27714;&#12290;&#36825;&#20165;&#20165;&#38656;&#35201;&#27604;&#19968;&#20010;&#31449;&#28857;&#26356;&#22810;&#30340;&#37197;&#32622;&#12290;&#21363;&#20351;&#20320;&#21482;&#20174;&#21333;&#20010;&#31449;&#28857;&#24320;&#22987;&#65292;&#25105;&#20063;&#24314;&#35758;&#20320;&#23558;&#20854;&#35774;&#32622;&#20026;&#34394;&#25311;&#20027;&#26426;&#65292;&#36825;&#26679;&#21487;&#20197;&#22312;&#20197;&#21518;&#26356;&#36731;&#26494;&#22320;&#28155;&#21152;&#26356;&#22810;&#31449;&#28857;&#12290;&#22312;&#26412;&#25991;&#20013;&#65292;&#25105;&#23558;&#20174;&#19978;&#19968;&#31687;&#25991;&#31456;&#20013;&#25105;&#20204;&#20572;&#27490;&#30340;&#22320;&#26041;&#24320;&#22987;&#65292;&#22240;&#27492;&#20320;&#38656;&#35201;&#35774;&#32622;&#21407;&#26469;&#30340;&#31449;&#28857;&#65292;&#21363;&#22522;&#20110;&#21517;&#31216;&#30340;&#34394;&#25311;&#31449;&#28857;&#12290;&#20934;&#22791;&#21407;&#26469;&#30340;&#31449;&#28857;&#22312;&#35774;&#32622;&#31532;&#20108;&#20010;&#31449;&#28857;&#20043;&#21069;&#65292;&#20320;&#38656;&#35201;&#20026;&#29616;&#26377;&#32593;&#31449;&#25552;&#20379;&#22522;&#20110;&#21517;&#31216;&#30340;&#34394;&#25311;&#20027;&#26426;&#12290;&#22914;&#26524;&#20320;&#29616;&#22312;&#27809;&#26377;&#31449;&#28857;&#65292;<a…
用 GNOME Boxes 下载一个操作系统镜像

最近 Boxes 添加了一个新的特性,使得它在运行不同的 Linux 发行版时更加容易。Media

via https://linux.cn/article-10155-1.html
&#29992; GNOME Boxes &#19979;&#36733;&#19968;&#20010;&#25805;&#20316;&#31995;&#32479;&#38236;&#20687;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/25/164805hworcwv1opopf1fo.jpg">Media</a>Boxes &#26159; GNOME &#19978;&#30340;&#34394;&#25311;&#26426;&#24212;&#29992;&#12290;&#26368;&#36817; Boxes &#28155;&#21152;&#20102;&#19968;&#20010;&#26032;&#30340;&#29305;&#24615;&#65292;&#20351;&#24471;&#23427;&#22312;&#36816;&#34892;&#19981;&#21516;&#30340; Linux &#21457;&#34892;&#29256;&#26102;&#26356;&#21152;&#23481;&#26131;&#12290;&#20320;&#29616;&#22312;&#21487;&#20197;&#22312; Boxes &#20013;&#33258;&#21160;&#23433;&#35013;&#37027;&#20123;&#21457;&#34892;&#29256;&#20197;&#21450;&#20687; FreeBSD &#21644; FreeDOS &#36825;&#26679;&#30340;&#25805;&#20316;&#31995;&#32479;&#65292;&#29978;&#33267;&#36824;&#21253;&#25324;&#32418;&#24125;&#20225;&#19994; Linux&#12290;&#32418;&#24125;&#24320;&#21457;&#32773;&#35745;&#21010;&#21253;&#25324;&#20102;&#19968;&#20010;<a href="https://developers.redhat.com/blog/2016/03/31/no-cost-rhel-developer-subscription-now-available/">&#32418;&#24125;&#20225;&#19994;&#29256; Linux &#30340;&#20813;&#36153;&#35746;&#38405;</a>&#12290; &#20351;&#29992;<a href="http://developers.redhat.com">&#32418;&#24125;&#24320;&#21457;&#32773;</a>&#24080;&#25143;&#65292;Boxes &#21487;&#20197;&#33258;&#21160;&#35774;&#32622;&#19968;&#20010;&#21517;&#20026; Developer Suite &#35746;&#38405;&#30340; RHEL &#34394;&#25311;&#26426;&#12290; &#19979;&#38754;&#26159;&#23427;&#30340;&#24037;&#20316;&#21407;&#29702;&#12290;&#32418;&#24125;&#20225;&#19994;&#29256; Linux&#35201;&#21019;&#24314;&#19968;&#20010;&#32418;&#24125;&#20225;&#19994;&#29256; Linux &#30340;&#34394;&#25311;&#26426;&#65292;&#21551;&#21160; Boxes&#65292;&#28857;&#20987;“&#26032;&#24314;”&#12290;&#20174;&#28304;&#36873;&#25321;&#21015;&#34920;&#20013;&#36873;&#25321;“&#19979;&#36733;&#19968;&#20010;&#38236;&#20687;”&#12290;&#22312;&#39030;&#37096;&#65292;&#28857;&#20987;“&#32418;&#24125;&#20225;&#19994;&#29256; Linux”&#12290;&#36825;&#23558;&#20250;&#25171;&#24320;&#32593;&#22336;&#20026; <a href="http://developers.redhat.com">developers.redhat.com</a> &#30340;&#19968;&#20010; Web &#34920;&#21333;&#12290;&#20351;&#29992;&#24050;&#26377;&#30340;&#32418;&#24125;&#24320;&#21457;&#32773;&#36134;&#21495;&#30331;&#24405;&#65292;&#25110;&#26159;&#26032;&#24314;&#19968;&#20010;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/25/164806ax9crr1tk2209tx9.png">Media</a>&#22914;&#26524;&#36825;&#26159;&#19968;&#20010;&#26032;&#24080;&#21495;&#65292;Boxes &#22312;&#32487;&#32493;&#20043;&#21069;&#38656;&#35201;&#19968;&#20123;&#39069;&#22806;&#30340;&#20449;&#24687;&#12290;&#36825;&#19968;&#27493;&#38656;&#35201;&#22312;&#36134;&#25143;&#20013;&#24320;&#21551;&#24320;&#21457;&#32773;&#35746;&#38405;&#12290;&#36824;&#35201;&#30830;&#20445; <a href="https://www.redhat.com/wapps/tnc/termsack?event%5B%5D=signIn">&#25509;&#21463;&#26465;&#27454;&#21644;&#26465;&#20214;</a>&#65292;&#36825;&#26679;&#21487;&#20197;&#22312;&#20043;&#21518;&#30340;&#27880;&#20876;&#20013;&#33410;&#30465;&#19968;&#27493;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/25/164807e0jqboi4m85bge5s.png">Media</a>&#28857;&#20987;“&#25552;&#20132;”&#65292;&#28982;&#21518;&#23601;&#20250;&#24320;&#22987;&#19979;&#36733;&#23433;&#35013;&#30913;&#30424;&#38236;&#20687;&#12290;&#19979;&#36733;&#38656;&#35201;&#30340;&#26102;&#38388;&#21462;&#20915;&#20110;&#20320;&#30340;&#32593;&#32476;&#29366;&#20917;&#12290;&#22312;&#36825;&#26399;&#38388;&#20320;&#21487;&#20197;&#21435;&#21917;&#26479;&#33590;&#25110;&#32773;&#21654;&#21857;&#27463;&#24687;&#19968;&#19979;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/25/164807qmbqbvt4cbkdsv44.png">Media</a>&#31561;&#20171;&#36136;&#19979;&#36733;&#23436;&#25104;&#65288;&#19968;&#33324;&#20301;&#20110; <code>~/Downloads</code> &#65289;&#65292;Boxes &#20250;&#26377;&#19968;&#20010;“&#24555;&#36895;…
使用 Podman 以非 root 用户身份运行 Linux 容器

但即使 Docker 是管理 Linux 容器的一个非常方便的工具,它也有两个缺点:它是一个需要在你的系统上运行的守护进程,并且需要以 root 权限运行,这可能有一定的安全隐患。Media

via https://linux.cn/article-10156-1.html
&#20351;&#29992; Podman &#20197;&#38750; root &#29992;&#25143;&#36523;&#20221;&#36816;&#34892; Linux &#23481;&#22120;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/26/082845qyjxxcmccjjm6cn0.jpg">Media</a>Linux &#23481;&#22120;&#26159;&#30001; Linux &#20869;&#26680;&#25152;&#25552;&#20379;&#30340;&#20855;&#26377;&#29305;&#23450;&#38548;&#31163;&#21151;&#33021;&#30340;&#36827;&#31243; —— &#21253;&#25324;&#25991;&#20214;&#31995;&#32479;&#12289;&#36827;&#31243;&#21644;&#32593;&#32476;&#30340;&#38548;&#31163;&#12290;&#23481;&#22120;&#26377;&#21161;&#20110;&#23454;&#29616;&#21487;&#31227;&#26893;&#24615; —— &#24212;&#29992;&#21487;&#20197;&#22312;&#23481;&#22120;&#38236;&#20687;&#20013;&#19982;&#20854;&#20381;&#36182;&#39033;&#19968;&#36215;&#20998;&#21457;&#65292;&#24182;&#21487;&#22312;&#20960;&#20046;&#20219;&#20309;&#26377;&#23481;&#22120;&#36816;&#34892;&#26102;&#29615;&#22659;&#30340; Linux &#31995;&#32479;&#19978;&#36816;&#34892;&#12290;&#34429;&#28982;&#23481;&#22120;&#25216;&#26415;&#23384;&#22312;&#20102;&#24456;&#38271;&#26102;&#38388;&#65292;&#20294; Linux &#23481;&#22120;&#26159;&#30001; Docker &#32780;&#24471;&#21040;&#20102;&#24191;&#27867;&#25512;&#24191;&#12290; “Docker” &#36825;&#20010;&#35789;&#21487;&#20197;&#25351;&#20960;&#20010;&#19981;&#21516;&#30340;&#19996;&#35199;&#65292;&#21253;&#25324;&#23481;&#22120;&#25216;&#26415;&#21644;&#24037;&#20855;&#65292;&#21608;&#22260;&#30340;&#31038;&#21306;&#65292;&#25110;&#32773; Docker Inc. &#20844;&#21496;&#12290;&#20294;&#26159;&#65292;&#22312;&#26412;&#25991;&#20013;&#65292;&#25105;&#23558;&#29992;&#26469;&#25351;&#31649;&#29702; Linux &#23481;&#22120;&#30340;&#25216;&#26415;&#21644;&#24037;&#20855;&#12290;&#20160;&#20040;&#26159; Docker<a href="https://docs.docker.com/">Docker</a> &#26159;&#19968;&#20010;&#20197; root &#36523;&#20221;&#22312;&#20320;&#30340;&#31995;&#32479;&#19978;&#36816;&#34892;&#30340;&#23432;&#25252;&#31243;&#24207;&#65292;&#23427;&#21033;&#29992; Linux &#20869;&#26680;&#30340;&#21151;&#33021;&#26469;&#31649;&#29702;&#27491;&#22312;&#36816;&#34892;&#30340;&#23481;&#22120;&#12290;&#38500;&#20102;&#36816;&#34892;&#23481;&#22120;&#20043;&#22806;&#65292;&#23427;&#36824;&#21487;&#20197;&#36731;&#26494;&#31649;&#29702;&#23481;&#22120;&#38236;&#20687; —— &#19982;&#23481;&#22120;&#27880;&#20876;&#24211;&#20132;&#20114;&#12289;&#23384;&#20648;&#26144;&#20687;&#12289;&#31649;&#29702;&#23481;&#22120;&#29256;&#26412;&#31561;&#12290;&#23427;&#22522;&#26412;&#19978;&#25903;&#25345;&#36816;&#34892;&#21333;&#20010;&#23481;&#22120;&#25152;&#38656;&#30340;&#25152;&#26377;&#25805;&#20316;&#12290;&#20294;&#21363;&#20351; Docker &#26159;&#31649;&#29702; Linux &#23481;&#22120;&#30340;&#19968;&#20010;&#38750;&#24120;&#26041;&#20415;&#30340;&#24037;&#20855;&#65292;&#23427;&#20063;&#26377;&#20004;&#20010;&#32570;&#28857;&#65306;&#23427;&#26159;&#19968;&#20010;&#38656;&#35201;&#22312;&#20320;&#30340;&#31995;&#32479;&#19978;&#36816;&#34892;&#30340;&#23432;&#25252;&#36827;&#31243;&#65292;&#24182;&#19988;&#38656;&#35201;&#20197; root &#26435;&#38480;&#36816;&#34892;&#65292;&#36825;&#21487;&#33021;&#26377;&#19968;&#23450;&#30340;&#23433;&#20840;&#38544;&#24739;&#12290;&#28982;&#32780;&#65292;Podman &#22312;&#35299;&#20915;&#36825;&#20004;&#20010;&#38382;&#39064;&#12290;Podman &#20171;&#32461;<a href="https://podman.io/">Podman</a> &#26159;&#19968;&#20010;&#23481;&#22120;&#36816;&#34892;&#26102;&#29615;&#22659;&#65292;&#25552;&#20379;&#19982; Docker &#38750;&#24120;&#30456;&#20284;&#30340;&#21151;&#33021;&#12290;&#27491;&#22914;&#24050;&#32463;&#25552;&#31034;&#30340;&#37027;&#26679;&#65292;&#23427;&#19981;&#38656;&#35201;&#22312;&#20320;&#30340;&#31995;&#32479;&#19978;&#36816;&#34892;&#20219;&#20309;&#23432;&#25252;&#36827;&#31243;&#65292;&#24182;&#19988;&#23427;&#20063;&#21487;&#20197;&#22312;&#27809;&#26377; root &#26435;&#38480;&#30340;&#24773;&#20917;&#19979;&#36816;&#34892;&#12290;&#35753;&#25105;&#20204;&#30475;&#30475;&#20351;&#29992; Podman &#36816;&#34892;…
为什么 Linux 用户应该试一试 Rust

在 Linux 系统上安装 Rust 编程语言可能是你近年来所做的最有价值的事情之一。Media

via https://linux.cn/article-10157-1.html
&#20026;&#20160;&#20040; Linux &#29992;&#25143;&#24212;&#35813;&#35797;&#19968;&#35797; Rust

&#22312; Linux &#31995;&#32479;&#19978;&#23433;&#35013; Rust &#32534;&#31243;&#35821;&#35328;&#21487;&#33021;&#26159;&#20320;&#36817;&#24180;&#26469;&#25152;&#20570;&#30340;&#26368;&#26377;&#20215;&#20540;&#30340;&#20107;&#24773;&#20043;&#19968;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/26/090805l94nk97sz87e1yld.jpg">Media</a>Rust &#26159;&#19968;&#31181;&#30456;&#24403;&#24180;&#36731;&#21644;&#29616;&#20195;&#30340;&#32534;&#31243;&#35821;&#35328;&#65292;&#20855;&#26377;&#35768;&#22810;&#20351;&#20854;&#38750;&#24120;&#28789;&#27963;&#32780;&#21450;&#20854;&#23433;&#20840;&#30340;&#21151;&#33021;&#12290;&#25968;&#25454;&#26174;&#31034;&#23427;&#27491;&#22312;&#21464;&#24471;&#38750;&#24120;&#21463;&#27426;&#36814;&#65292;&#36830;&#32493;&#19977;&#24180;&#65288;<a href="https://insights.stackoverflow.com/survey/2016#technology-most-loved-dreaded-and-wanted">2016</a>&#12289;<a href="https://insights.stackoverflow.com/survey/2017#technology-most-loved-dreaded-and-wanted-languages">2017</a> &#21644; <a href="https://insights.stackoverflow.com/survey/2018#technology-most-loved-dreaded-and-wanted-languages">2018</a>&#65289;&#22312; Stack Overflow &#24320;&#21457;&#32773;&#35843;&#26597;&#20013;&#33719;&#24471;“&#26368;&#21463;&#21916;&#29233;&#30340;&#32534;&#31243;&#35821;&#35328;”&#30340;&#31532;&#19968;&#21517;&#12290;Rust &#20063;&#26159;&#24320;&#28304;&#35821;&#35328;&#30340;&#19968;&#31181;&#65292;&#23427;&#20855;&#26377;&#19968;&#31995;&#21015;&#29305;&#27530;&#30340;&#21151;&#33021;&#65292;&#20351;&#24471;&#23427;&#21487;&#20197;&#36866;&#24212;&#35768;&#22810;&#19981;&#21516;&#30340;&#32534;&#31243;&#39033;&#30446;&#12290; &#23427;&#26368;&#21021;&#28304;&#20110; 2006 &#24180; Mozilla &#21592;&#24037;&#30340;&#20010;&#20154;&#39033;&#30446;&#65292;&#20960;&#24180;&#21518;&#65288;2009 &#24180;&#65289;&#34987; Mozilla &#36873;&#20026;&#29305;&#21035;&#39033;&#30446;&#65292;&#28982;&#21518;&#22312; 2010 &#24180;&#23459;&#24067;&#20379;&#20844;&#20247;&#20351;&#29992;&#12290;Rust &#31243;&#24207;&#36816;&#34892;&#36895;&#24230;&#26497;&#24555;&#65292;&#21487;&#38450;&#27490;&#27573;&#38169;&#35823;&#65292;&#24182;&#33021;&#20445;&#35777;&#32447;&#31243;&#23433;&#20840;&#12290;&#36825;&#20123;&#23646;&#24615;&#20351;&#35813;&#35821;&#35328;&#26497;&#22823;&#22320;&#21560;&#24341;&#20102;&#19987;&#27880;&#20110;&#24212;&#29992;&#31243;&#24207;&#23433;&#20840;&#24615;&#30340;&#24320;&#21457;&#20154;&#21592;&#12290;Rust &#20063;&#26159;&#19968;&#31181;&#38750;&#24120;&#26131;&#35835;&#30340;&#35821;&#35328;&#65292;&#21487;&#29992;&#20110;&#20174;&#31616;&#21333;&#31243;&#24207;&#21040;&#38750;&#24120;&#22823;&#32780;&#22797;&#26434;&#30340;&#39033;&#30446;&#12290;Rust &#20248;&#28857;&#65306;&#20869;&#23384;&#23433;&#20840; —— Rust &#19981;&#20250;&#21463;&#21040;&#24748;&#31354;&#25351;&#38024;&#12289;&#32531;&#20914;&#21306;&#28322;&#20986;&#25110;&#20854;&#20182;&#19982;&#20869;&#23384;&#30456;&#20851;&#30340;&#38169;&#35823;&#30340;&#24433;&#21709;&#12290;&#23427;&#25552;&#20379;&#20869;&#23384;&#23433;&#20840;&#65292;&#26080;&#22238;&#25910;&#22403;&#22334;&#12290;&#36890;&#29992; —— Rust &#26159;&#36866;&#29992;&#20110;&#20219;&#20309;&#31867;&#22411;&#32534;&#31243;&#30340;&#35821;&#35328;&#24555;&#36895; —— Rust &#22312;&#24615;&#33021;&#19978;&#19982; C / C++ &#30456;&#24403;&#65292;&#20294;&#20855;&#26377;&#26356;&#22909;&#30340;&#23433;&#20840;&#21151;&#33021;&#12290;&#39640;&#25928; —— Rust &#26159;&#20026;&#20102;&#20415;&#20110;&#24182;&#21457;&#32534;&#31243;&#32780;&#26500;&#24314;&#30340;&#12290;&#38754;&#21521;&#39033;&#30446; —— Rust &#20855;&#26377;&#20869;&#32622;&#30340;&#20381;&#36182;&#20851;&#31995;&#21644;&#26500;&#24314;&#31649;&#29702;&#31995;&#32479; Cargo&#12290;&#24471;&#21040;&#24456;&#22909;&#30340;&#25903;&#25345; —— Rust &#26377;&#19968;&#20010;&#20196;&#20154;&#21360;&#35…
使用 Lakka Linux 将你的旧 PC 变成复古游戏主机

如果你有一台吃灰的旧计算机,你可以用 Lakka Linux 将它变成像 PlayStation 那样的复古游戏主机。Media

via https://linux.cn/article-10158-1.html
&#20351;&#29992; Lakka Linux &#23558;&#20320;&#30340;&#26087; PC &#21464;&#25104;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;

&#22914;&#26524;&#20320;&#26377;&#19968;&#21488;&#21507;&#28784;&#30340;&#26087;&#35745;&#31639;&#26426;&#65292;&#20320;&#21487;&#20197;&#29992; Lakka Linux &#23558;&#23427;&#21464;&#25104;&#20687; PlayStation &#37027;&#26679;&#30340;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;&#12290;&#20320;&#21487;&#33021;&#24050;&#32463;&#20102;&#35299;<a href="https://itsfoss.com/lightweight-linux-beginners/">&#19987;&#38376;&#29992;&#20110;&#22797;&#27963;&#26087;&#35745;&#31639;&#26426;&#30340; Linux &#21457;&#34892;&#29256;</a>&#12290;&#20294;&#26159;&#20320;&#30693;&#36947;&#26377;&#20010; Linux &#21457;&#34892;&#29256;&#19987;&#38376;&#26159;&#20026;&#20102;&#23558;&#26087;&#30005;&#33041;&#21464;&#25104;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;&#21019;&#24314;&#30340;&#20040;&#65311;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/26/095819b5enoa7zo8hwwhw7.jpg">Lakka is a Linux distribution specially for retrogaming</a>&#35748;&#35782;&#19979; <a href="http://www.lakka.tv/">Lakka</a>&#65292;&#23427;&#26159;&#19968;&#20010;&#36731;&#37327;&#32423; Linux &#21457;&#34892;&#29256;&#65292;&#21487;&#20197;&#23558;&#26087;&#30340;&#25110;&#20302;&#31471;&#30340;&#35745;&#31639;&#26426;&#65288;&#22914; Raspberry Pi&#65289;&#21464;&#25104;&#19968;&#20010;&#23436;&#25972;&#30340;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;&#65292;&#24403;&#25105;&#35828;&#22797;&#21476;&#28216;&#25103;&#20027;&#26426;&#26102;&#65292;&#25105;&#23545;&#20027;&#26426;&#37096;&#20998;&#24456;&#35748;&#30495;&#12290;&#22914;&#26524;&#20320;&#26366;&#32463;&#20351;&#29992;&#36807; Xbox &#21644; PlayStation&#65292;&#20320;&#23601;&#20250;&#30693;&#36947;&#20856;&#22411;&#30340;&#20027;&#26426;&#30028;&#38754;&#26159;&#20160;&#20040;&#26679;&#30340;&#12290;Lakka &#25552;&#20379;&#31867;&#20284;&#30340;&#30028;&#38754;&#21644;&#31867;&#20284;&#30340;&#20307;&#39564;&#12290;&#25105;&#31245;&#21518;&#20250;&#35848;&#21040;“&#20307;&#39564;”&#12290;&#20808;&#30475;&#19968;&#19979;&#30028;&#38754;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/26/095625eagrgrffrug44vfw.gif">Media</a><em>Lakka &#22797;&#21476;&#28216;&#25103;&#30028;&#38754;</em>Lakka&#65306;&#20026;&#22797;&#21476;&#28216;&#25103;&#32780;&#29983;&#30340; Linux &#21457;&#34892;&#29256;Lakka &#26159; <a href="https://www.retroarch.com/">RetroArch</a> &#21644; <a href="https://www.libretro.com/">Libretro</a> &#29983;&#24577;&#31995;&#32479;&#30340;&#23448;&#26041; Linux &#21457;&#34892;&#29256;&#12290;RetroArch &#26159;&#22797;&#21476;&#28216;&#25103;&#27169;&#25311;&#22120;&#21644;&#28216;&#25103;&#24341;&#25806;&#30340;&#21069;&#31471;&#12290;&#20320;&#22312;&#19978;&#38754;&#30340;&#35270;&#39057;&#20013;&#30475;&#21040;&#30340;&#30028;&#38754;&#21482;&#26159; RetroArch&#12290;&#22914;&#26524;&#20320;&#26159;&#21482;&#24819;&#29609;&#22797;&#21476;&#28216;&#25103;&#65292;&#21482;&#38656;&#22312;&#24403;&#21069;&#30340; Linux &#21457;&#34892;&#29256;&#20013;&#23433;&#35013; RetroArch &#21363;&#21487;&#12290;Lakka &#25552;&#20379;&#20102;&#24102;&#26377; Libretro &#26680;&#24515;&#30340; RetroArch&#12290;&#22240;&#27492;&#65292;&#20320;&#20250;&#33719;&#24471;&#19968;&#20010;&#39044;&#20808;&#37197;&#32622;&#23436;&#30340;&#25805;&#20316;&#31995;&#32479;&#65292;&#20320;&#21487;&#20197;&#23433;&#35013;&#25110;&#25554;&#20837; live USB &#24182;&#24320;&#22987;&#29609;&#28216;&#25103;&#12290;Lakka &#26159;&#36731;&#37327;&#32423;&#30340;&#65292;&#20320;&#21487;&#20197;&#23558;&#23427;&#23433;&#35013;&#22312;&#22823;&#22810;&#25968;&#32769;&#31995;&#32479;&#25110;&#21333;&#26495;&#35745;&#31639;&#26426;&#19978;&#65292;&#22914; Raspberry Pi &#19978;&#12290;&#23427;&#25903;&#25345;&#22823;&#37327;&#30340;&#27169;&#25311;&#22120;&#12290;&#20320;&#21482;&#38656;&#35201;&#22312;&#31995;&#32479;&#19978;&#19979;&#36733; ROM&#65292;Lakka…
使用 Argbash 来改进你的 Bash 脚本

Argbash 是一个代码生成器,它为你的脚本生成一个量身定制的解析库。与其他 bash 模块的通用代码不同,它生成你的脚本所需的最少代码。Media

via https://linux.cn/article-10159-1.html
&#20351;&#29992; Argbash &#26469;&#25913;&#36827;&#20320;&#30340; Bash &#33050;&#26412;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/27/092854nrvazffgzfnqaxfw.png">Media</a>&#20320;&#32534;&#20889;&#25110;&#32500;&#25252;&#36807;&#26377;&#24847;&#20041;&#30340; bash &#33050;&#26412;&#21527;&#65311;&#22914;&#26524;&#22238;&#31572;&#26159;&#65292;&#37027;&#20040;&#20320;&#21487;&#33021;&#24076;&#26395;&#23427;&#20204;&#20197;&#26631;&#20934;&#19988;&#20581;&#22766;&#30340;&#26041;&#24335;&#25509;&#25910;&#21629;&#20196;&#34892;&#21442;&#25968;&#12290;Fedora &#26368;&#36817;&#24471;&#21040;&#20102;<a href="https://argbash.readthedocs.io/">&#19968;&#20010;&#24456;&#22909;&#30340;&#38468;&#21152;&#32452;&#20214;</a>&#65292;&#23427;&#21487;&#20197;&#24110;&#21161;&#20320;&#29983;&#25104;&#26356;&#22909;&#30340;&#33050;&#26412;&#12290;&#19981;&#29992;&#25285;&#24515;&#65292;&#23427;&#19981;&#20250;&#33457;&#36153;&#20320;&#24456;&#22810;&#26102;&#38388;&#25110;&#31934;&#21147;&#12290;&#20026;&#20160;&#20040;&#38656;&#35201; Argbash?Bash &#26159;&#19968;&#31181;&#35299;&#37322;&#24615;&#30340;&#21629;&#20196;&#34892;&#35821;&#35328;&#65292;&#27809;&#26377;&#26631;&#20934;&#24211;&#12290;&#22240;&#27492;&#65292;&#22914;&#26524;&#20320;&#32534;&#20889; bash &#33050;&#26412;&#24182;&#24076;&#26395;&#21629;&#20196;&#34892;&#30028;&#38754;&#31526;&#21512; <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html">POSIX</a> &#21644; <a href="https://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html">GNU CLI</a> &#26631;&#20934;&#65292;&#37027;&#20040;&#20320;&#19968;&#33324;&#21482;&#26377;&#20004;&#31181;&#36873;&#25321;&#65306;&#30452;&#25509;&#32534;&#20889;&#20026;&#33050;&#26412;&#37327;&#36523;&#23450;&#21046;&#30340;&#21442;&#25968;&#35299;&#26512;&#21151;&#33021;&#65288;&#21487;&#20351;&#29992;&#20869;&#32622;&#30340; getopts&#65289;&#12290;&#20351;&#29992;&#22806;&#37096; bash &#27169;&#22359;&#12290;&#31532;&#19968;&#20010;&#36873;&#39033;&#30475;&#36215;&#26469;&#38750;&#24120;&#24858;&#34850;&#65292;&#22240;&#20026;&#27491;&#30830;&#23454;&#29616;&#25509;&#21475;&#24182;&#38750;&#26131;&#20107;&#12290;&#20294;&#26159;&#65292;&#20174; <a href="https://stackoverflow.com/questions/192249/how-do-i-parse-command-line-arguments-in-bash">Stack Overflow</a> &#21040; <a href="http://wiki.bash-hackers.org/howto/getopts_tutorial">Bash Hackers</a> wiki &#30340;&#21508;&#31181;&#31449;&#28857;&#19978;&#65292;&#23427;&#21364;&#34987;&#35748;&#20026;&#26159;&#26368;&#20339;&#36873;&#25321;&#12290;&#31532;&#20108;&#20010;&#36873;&#39033;&#30475;&#36215;&#26469;&#26356;&#32874;&#26126;&#65292;&#20294;&#20351;&#29992;&#27169;&#22359;&#26377;&#23427;&#33258;&#24049;&#30340;&#38382;&#39064;&#12290;&#26368;&#22823;&#30340;&#38382;&#39064;&#26159;&#20320;&#24517;&#39035;&#23558;&#20854;&#20195;&#30721;&#19982;&#33050;&#26412;&#25414;&#32465;&#22312;&#19968;&#36215;&#12290;&#36825;&#21487;&#33021;&#24847;&#21619;&#30528;&#65306;&#35201;&#20040;&#65292;&#20320;&#23558;&#24211;&#20316;&#20026;&#21333;&#29420;&#30340;&#25991;&#20214;&#20998;&#21457;&#25110;&#32773;&#65292;&#22312;&#33050;&#26412;&#30340;&#24320;&#22836;&#21253;&#21547;&#24211;&#20195;&#30721;&#26377;&#20004;&#20010;&#25991;&#20214;&#32780;&#19981;&#26159;&#19968;&#20010;&#26159;&#24858;&#34850;&#30340;&#65307;&#20294;&#37319;&#29992;&#19968;&#20010;&#25991;&#20214;&#30340;&#35805;&#65292;&#20250;&#35753;&#19968;&#22534;&#19978;&#21315;&#34892;&#30340;&#22797;&#26434;&#20195;&#30721;&#27745;&#26579;&#20102;&#20320;&#30340;&#33050;&#26412;&#12290;&#36825;&#26159; Argbash <a href="https://argbash.readthedocs.io/">&#39033;&#30446;&#35806;&#29983;</a>&#30340;&#20027;&#35201;&#21407;&#22240;&#12290;Argbash &#26159;&#19968;&#20010;&#20195;&#30721;&#29983;&#25104;&#22120;&#65292;&#23427;&#20026;&#20320;&#30340;&#33050;&#26412;&#29983;&#25104;&#19968;&#20010;&#37327;&#36523;&#23450;&#21046;&#30340;&#35299;&#26512;&#24211;&#12290;&#19…
一窥你安装的 Linux 软件包

这些最有用的命令可以让你了解安装在你的 Debian 类的 Linux 系统上的包的情况。Media

via https://linux.cn/article-10160-1.html
&#19968;&#31397;&#20320;&#23433;&#35013;&#30340; Linux &#36719;&#20214;&#21253;

&#36825;&#20123;&#26368;&#26377;&#29992;&#30340;&#21629;&#20196;&#21487;&#20197;&#35753;&#20320;&#20102;&#35299;&#23433;&#35013;&#22312;&#20320;&#30340; Debian &#31867;&#30340; Linux &#31995;&#32479;&#19978;&#30340;&#21253;&#30340;&#24773;&#20917;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/27/095619ks5en1rsgvguoojs.jpg">Media</a>&#20320;&#26377;&#27809;&#26377;&#24819;&#36807;&#20320;&#30340; Linux &#31995;&#32479;&#19978;&#23433;&#35013;&#20102;&#20960;&#21315;&#20010;&#36719;&#20214;&#21253;&#65311; &#26159;&#30340;&#65292;&#25105;&#35828;&#30340;&#26159;“&#21315;”&#12290; &#21363;&#20351;&#26159;&#30456;&#24403;&#19968;&#33324;&#30340; Linux &#31995;&#32479;&#20063;&#21487;&#33021;&#23433;&#35013;&#20102;&#19978;&#21315;&#20010;&#36719;&#20214;&#21253;&#12290; &#26377;&#24456;&#22810;&#26041;&#27861;&#21487;&#20197;&#33719;&#24471;&#36825;&#20123;&#21253;&#21040;&#24213;&#26159;&#20160;&#20040;&#21253;&#30340;&#35814;&#32454;&#20449;&#24687;&#12290;&#39318;&#20808;&#65292;&#35201;&#22312;&#22522;&#20110; Debian &#30340;&#21457;&#34892;&#29256;&#65288;&#22914; Ubuntu&#65289;&#19978;&#24555;&#36895;&#24471;&#21040;&#24050;&#23433;&#35013;&#30340;&#36719;&#20214;&#21253;&#25968;&#37327;&#65292;&#35831;&#20351;&#29992; apt list --installed&#65292; &#22914;&#19979;&#65306;<pre class="prettyprint linenums">$ apt list --installed | wc -l2067</pre>&#36825;&#20010;&#25968;&#23383;&#23454;&#38469;&#19978;&#22810;&#20102;&#19968;&#20010;&#65292;&#22240;&#20026;&#36755;&#20986;&#20013;&#21253;&#21547;&#20102; “Listing …” &#20316;&#20026;&#23427;&#30340;&#31532;&#19968;&#34892;&#12290; &#36825;&#20010;&#21629;&#20196;&#20250;&#26356;&#20934;&#30830;&#65306;<pre class="prettyprint linenums">$ apt list --installed | grep -v "^Listing" | wc -l2066</pre>&#35201;&#33719;&#24471;&#25152;&#26377;&#36825;&#20123;&#21253;&#30340;&#35814;&#32454;&#20449;&#24687;&#65292;&#35831;&#25353;&#20197;&#19979;&#26041;&#24335;&#27983;&#35272;&#21015;&#34920;&#65306;<pre class="prettyprint linenums">$ apt list --installed | moreListing...a11y-profile-manager-indicator/xenial,now 0.1.10-0ubuntu3 amd64 [installed]account-plugin-aim/xenial,now 3.12.11-0ubuntu3 amd64 [installed]account-plugin-facebook/xenial,xenial,now 0.12+16.04.20160126-0ubuntu1 all [installed]account-plugin-flickr/xenial,xenial,now 0.12+16.04.20160126-0ubuntu1 all [installed]account-plugin-google/xenial,xenial,now 0.12+16.04.20160126-0ubuntu1 all [installed]account-plugin-jabber/xenial,now 3.12.11-0ubuntu3 amd64 [installed]account-plugin-salut/xenial,now 3.12.11-0ubuntu3 amd64 [installed]</pre>&#36825;&#38656;&#35201;&#35266;&#23519;&#24456;&#22810;&#32454;&#33410; —— &#29305;&#21035;&#26159;&#35753;&#20320;&#30340;&#30524;&#30555;&#22312;&#25152;&#26377; 2000 &#22810;&#20010;&#25991;&#20214;&#20013;&#24472;&#24458;&#12290; &#23427;&#21253;&#21547;&#21253;&#21517;&#31216;&#12289;&#29256;&#26412;&#31561;&#65292;&#20197;&#21450;&#26356;&#22810;&#20294;&#24182;&#19981;&#26159;&#20197;&#26368;&#26131;&#20110;&#25105;&#20204;&#20154;&#31867;&#35299;&#26512;&#30340;&#26174;&#31034;&#20449;&#24687;&#12290; dpkg-query &#20351;&#24471;&#25551;&#36848;&#26356;&#23481;&#26131;&#29702;&#35299;&#65292;&#20294;&#36825;&#20123;&#25551;&#36848;&#20250;&#22622;&#28385;&#20320;&#30340;&#21629;&#20196;&#31383;&#21475;&#65292;&#38500;&#38750;&#31383;&#21475;&#38750;&#24120;&#23485;&#12290; &#22240;&#27492;&#65292;&#20026;&#20102;&#35753;&#27492;&#31687;&#25991;&#31456;&#26356;&#23481;&#26131;&#38405;&#35835;&#65292;&#19979;&#38754;&#30340;&#25968;&#25454;&#26174;&#31034;&#24050;&#32463;&#20998;&#25104;&#20102;&#24038;&#21491;&#20004;&#20391;&#12290;&#24038;&#20391;&#65306;<pre class="prettyprint linenums">$ dpkg-query -l | moreDesired=Unknown/Install/Remove/Purge/Hold| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)||/…
为什么 Python 这么慢?

对于一个类似的程序,Python 要比其它语言慢 2 到 10 倍不等,这其中的原因是什么?又有没有改善的方法呢?Media

via https://linux.cn/article-10161-1.html
&#20026;&#20160;&#20040; Python &#36825;&#20040;&#24930;&#65311;

Python &#29616;&#22312;&#36234;&#26469;&#36234;&#28779;&#65292;&#24050;&#32463;&#36805;&#36895;&#25193;&#24352;&#21040;&#21253;&#25324; DevOps&#12289;&#25968;&#25454;&#31185;&#23398;&#12289;Web &#24320;&#21457;&#12289;&#20449;&#24687;&#23433;&#20840;&#31561;&#21508;&#20010;&#39046;&#22495;&#24403;&#20013;&#12290;&#28982;&#32780;&#65292;&#30456;&#27604;&#36215; Python &#25193;&#24352;&#30340;&#36895;&#24230;&#65292;Python &#20195;&#30721;&#30340;&#36816;&#34892;&#36895;&#24230;&#23601;&#26174;&#24471;&#26377;&#28857;&#36874;&#33394;&#20102;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/27/114058v8793uq037m9007f.jpg">Media&#22312;&#20195;&#30721;&#36816;&#34892;&#36895;&#24230;&#26041;&#38754;&#65292;Java&#12289;C&#12289;C++&#12289;C# &#21644; Python &#35201;&#22914;&#20309;&#36827;&#34892;&#27604;&#36739;&#21602;&#65311;&#24182;&#27809;&#26377;&#19968;&#20010;&#25918;&#20043;&#22235;&#28023;&#32780;&#30342;&#20934;&#30340;&#26631;&#20934;&#65292;&#22240;&#20026;&#20855;&#20307;&#32467;&#26524;&#24456;&#22823;&#31243;&#24230;&#19978;&#21462;&#20915;&#20110;&#36816;&#34892;&#30340;&#31243;&#24207;&#31867;&#22411;&#65292;&#32780;&#35821;&#35328;&#22522;&#20934;&#27979;&#35797;Computer Language Benchmarks Games&#21487;&#20197;&#20316;&#20026;<a href="http://algs4.cs.princeton.edu/faq/">&#34913;&#37327;&#30340;&#19968;&#20010;&#26041;&#38754;&#12290;&#26681;&#25454;&#25105;&#36825;&#20123;&#24180;&#26469;&#36827;&#34892;&#35821;&#35328;&#22522;&#20934;&#27979;&#35797;&#30340;&#32463;&#39564;&#26469;&#30475;&#65292;Python &#27604;&#24456;&#22810;&#35821;&#35328;&#36816;&#34892;&#36215;&#26469;&#37117;&#35201;&#24930;&#12290;&#26080;&#35770;&#26159;&#20351;&#29992; <a href="https://en.wikipedia.org/wiki/Just-in-time_compilation">JIT &#32534;&#35793;&#22120;&#30340; C&#65283;&#12289;Java&#65292;&#36824;&#26159;&#20351;&#29992; <a href="https://en.wikipedia.org/wiki/Ahead-of-time_compilation">AOT &#32534;&#35793;&#22120;&#30340; C&#12289;C++&#65292;&#21448;&#25110;&#32773;&#26159; JavaScript &#36825;&#20123;&#35299;&#37322;&#22411;&#35821;&#35328;&#65292;Python &#37117;<a href="https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/python.html">&#27604;&#23427;&#20204;&#36816;&#34892;&#24471;&#24930;&#12290;&#27880;&#24847;&#65306;&#23545;&#20110;&#25991;&#20013;&#30340; &ldquo<a href="https://dn-linuxcn.qbox.me/static/image/smiley/default/titter.gif">Mediaython” &#65292;&#19968;&#33324;&#25351; CPython &#36825;&#20010;&#23448;&#26041;&#30340;&#23454;&#29616;&#12290;&#24403;&#28982;&#25105;&#20063;&#20250;&#22312;&#26412;&#25991;&#20013;&#25552;&#21040;&#20854;&#23427;&#35821;&#35328;&#30340; Python &#23454;&#29616;&#12290;&#25105;&#35201;&#22238;&#31572;&#30340;&#26159;&#36825;&#20010;&#38382;&#39064;&#65306;&#23545;&#20110;&#19968;&#20010;&#31867;&#20284;&#30340;&#31243;&#24207;&#65292;Python &#35201;&#27604;&#20854;&#23427;&#35821;&#35328;&#24930; 2 &#21040; 10 &#20493;&#19981;&#31561;&#65292;&#36825;&#20854;&#20013;&#30340;&#21407;&#22240;&#26159;&#20160;&#20040;&#65311;&#21448;&#26377;&#27809;&#26377;&#25913;&#21892;&#30340;&#26041;&#27861;&#21602;&#65311;&#20027;&#27969;&#30340;&#35828;&#27861;&#26377;&#36825;&#20123;&#65306;“&#26159;&#20840;&#23616;&#35299;&#37322;&#22120;&#38145;Global Interpreter Lock&#65288;GIL&#65289;&#30340;&#21407;&#22240;”“&#26159;&#22240;&#20026; Python &#26159;&#35299;&#37322;&#22411;&#35821;&#35328;&#32780;&#19981;&#26159;&#32534;&#35793;&#22411;&#35821;&#35328;”“&#26159;&#22240;&#20026; Python &#26159;&#19968;&#31181;&#21160;&#24577;&#31867;&#22411;&#30340;&#35821;&#35328;”&#21738;&#19968;&#20010;&#25165;&#26159;&#26159;&#24433;&#21709; Python &#36816;&#34892;&#25928;&#29575;&#30340;&#20027;&#35201;&#21407;&#22240;&#21602;&#65311;&#26159;&#20840;&#23616;&#35299;&#37322;&#22120;&#38145;&#30340;&#21407;&#22240;&#21527;&#65311;&#29616;&#22312;&#24456;&#22810;&#35745;&#31639;&#26426;&#37117;&#37197;&#227…
坚实的 React 基础:初学者指南

这篇文章针对的是那些希望理论与实践完美结合的观众。我会告诉你一些理论,以便你了解幕后发生的事情,然后我会向你展示如何编写一些 React.js 代码。Media

via https://linux.cn/article-10162-1.html
&#22362;&#23454;&#30340; React &#22522;&#30784;&#65306;&#21021;&#23398;&#32773;&#25351;&#21335;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/104728nzehe82q5h9b8fqj.png">Media</a>&#22312;&#36807;&#21435;&#30340;&#20960;&#20010;&#26376;&#37324;&#65292;&#25105;&#19968;&#30452;&#22312;&#20351;&#29992; React &#21644; React-Native&#12290;&#25105;&#24050;&#32463;&#21457;&#24067;&#20102;&#20004;&#20010;&#20316;&#20026;&#20135;&#21697;&#30340;&#24212;&#29992;&#65292; <a href="https://kivenaa.com/">Kiven Aa</a>&#65288;React&#65289;&#21644; <a href="https://play.google.com/store/apps/details?id=com.pollenchat.android">Pollen Chat</a>&#65288;React Native&#65289;&#12290;&#24403;&#25105;&#24320;&#22987;&#23398;&#20064; React &#26102;&#65292;&#25105;&#25214;&#20102;&#19968;&#20123;&#19981;&#20165;&#20165;&#26159;&#25945;&#25105;&#22914;&#20309;&#29992; React &#20889;&#24212;&#29992;&#30340;&#19996;&#35199;&#65288;&#19968;&#20010;&#21338;&#23458;&#65292;&#19968;&#20010;&#35270;&#39057;&#65292;&#19968;&#20010;&#35838;&#31243;&#65292;&#31561;&#31561;&#65289;&#65292;&#25105;&#20063;&#24819;&#35753;&#23427;&#24110;&#25105;&#20570;&#22909;&#38754;&#35797;&#20934;&#22791;&#12290;&#25105;&#21457;&#29616;&#30340;&#22823;&#37096;&#20998;&#36164;&#26009;&#37117;&#38598;&#20013;&#22312;&#26576;&#19968;&#21333;&#19968;&#26041;&#38754;&#19978;&#12290;&#25152;&#20197;&#65292;&#36825;&#31687;&#25991;&#31456;&#38024;&#23545;&#30340;&#26159;&#37027;&#20123;&#24076;&#26395;&#29702;&#35770;&#19982;&#23454;&#36341;&#23436;&#32654;&#32467;&#21512;&#30340;&#35266;&#20247;&#12290;&#25105;&#20250;&#21578;&#35785;&#20320;&#19968;&#20123;&#29702;&#35770;&#65292;&#20197;&#20415;&#20320;&#20102;&#35299;&#24149;&#21518;&#21457;&#29983;&#30340;&#20107;&#24773;&#65292;&#28982;&#21518;&#25105;&#20250;&#21521;&#20320;&#23637;&#31034;&#22914;&#20309;&#32534;&#20889;&#19968;&#20123; React.js &#20195;&#30721;&#12290;&#22914;&#26524;&#20320;&#26356;&#21916;&#27426;&#35270;&#39057;&#24418;&#24335;&#65292;&#25105;&#22312; [YouTube][<a href="https://youtu.be/WJ6PgzI16I4">https://youtu.be/WJ6PgzI16I4</a>] &#19978;&#20256;&#20102;&#25972;&#20010;&#35838;&#31243;&#65292;&#35831;&#21435;&#30475;&#30475;&#12290;&#35753;&#25105;&#20204;&#24320;&#22987;……React.js &#26159;&#19968;&#20010;&#29992;&#20110;&#26500;&#24314;&#29992;&#25143;&#30028;&#38754;&#30340; JavaScript &#24211;&#20320;&#21487;&#20197;&#26500;&#24314;&#21508;&#31181;&#21333;&#39029;&#24212;&#29992;&#31243;&#24207;&#12290;&#20363;&#22914;&#65292;&#20320;&#24076;&#26395;&#22312;&#29992;&#25143;&#30028;&#38754;&#19978;&#23454;&#26102;&#26174;&#31034;&#21464;&#21270;&#30340;&#32842;&#22825;&#36719;&#20214;&#21644;&#30005;&#23376;&#21830;&#21153;&#38376;&#25143;&#12290;&#19968;&#20999;&#37117;&#26159;&#32452;&#20214;React &#24212;&#29992;&#30001;&#32452;&#20214;&#32452;&#25104;&#65292;&#25968;&#37327;&#32321;&#22810;&#19988;&#20114;&#30456;&#23884;&#22871;&#12290;&#20320;&#25110;&#35768;&#20250;&#38382;&#65306;”&#21487;&#20160;&#20040;&#26159;&#32452;&#20214;&#21602;&#65311;“&#32452;&#20214;&#26159;&#21487;&#37325;&#29992;&#30340;&#20195;&#30721;&#27573;&#65292;&#23427;&#23450;&#20041;&#20102;&#26576;&#20123;&#21151;&#33021;&#22312; UI &#19978;&#30340;&#22806;&#35266;&#21644;&#34892;&#20026;&#12290; &#27604;&#22914;&#65292;&#25353;&#38062;&#23601;&#26159;&#19968;&#20010;&#32452;&#20214;&#12290;&#35753;&#25105;&#20204;&#30475;&#30475;&#19979;&#38754;&#30340;&#35745;&#31639;&#22120;&#65292;&#24403;&#20320;&#23581;&#35797;&#35745;&#31639; 2 + 2 = 4 -1 = 3&#65288;&#31616;&#21333;&#30340;&#25968;&#23398;&#39064;&#65289;&#26102;&#65292;&#20320;&#20250;&#22312; Google &#19978;&#30475;&#21040;&#36825;&#20010;&#35745;&#31639;&#22120;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/104744a002jj0m8gwkxw2m.png">Media</a><em>&#32418;&#33394;&#26631;&#35760;&#34920;&#31034;&#32452;&#20214;</em>&#22914;&#19978;&#22270;&#25152;&#31034;&#65292;&#36825;&#20010;&#35745;&#31639;&#22120;&#26377;&#2…
面向系统管理员的容器手册

你所需了解的容器如何工作的知识。Media

via https://linux.cn/article-10163-1.html
&#38754;&#21521;&#31995;&#32479;&#31649;&#29702;&#21592;&#30340;&#23481;&#22120;&#25163;&#20876;

&#20320;&#25152;&#38656;&#20102;&#35299;&#30340;&#23481;&#22120;&#22914;&#20309;&#24037;&#20316;&#30340;&#30693;&#35782;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/28/111518jruxxoukh0txu447.jpg">Media</a>&#29616;&#22312;&#20154;&#20204;&#20005;&#37325;&#36807;&#24230;&#20351;&#29992;&#20102;“&#23481;&#22120;”&#36825;&#20010;&#26415;&#35821;&#12290;&#21478;&#22806;&#65292;&#23545;&#19981;&#21516;&#30340;&#20154;&#26469;&#35828;&#65292;&#23427;&#21487;&#33021;&#20250;&#26377;&#19981;&#21516;&#30340;&#21547;&#20041;&#65292;&#36825;&#21462;&#20915;&#20110;&#19978;&#19979;&#25991;&#12290;&#20256;&#32479;&#30340; Linux &#23481;&#22120;&#21482;&#26159;&#31995;&#32479;&#19978;&#26222;&#36890;&#30340;&#36827;&#31243;&#12290;&#19968;&#32452;&#36827;&#31243;&#19982;&#21478;&#22806;&#19968;&#32452;&#36827;&#31243;&#26159;&#30456;&#20114;&#38548;&#31163;&#30340;&#65292;&#23454;&#29616;&#26041;&#27861;&#21253;&#25324;&#65306;&#36164;&#28304;&#38480;&#21046;&#65288;&#25511;&#21046;&#32452; [cgoups]&#65289;&#12289;Linux &#23433;&#20840;&#38480;&#21046;&#65288;&#25991;&#20214;&#26435;&#38480;&#65292;&#22522;&#20110; Capability &#30340;&#23433;&#20840;&#27169;&#22359;&#12289;SELinux&#12289;AppArmor&#12289;seccomp &#31561;&#65289;&#36824;&#26377;&#21517;&#23383;&#31354;&#38388;&#65288;&#36827;&#31243; ID&#12289;&#32593;&#32476;&#12289;&#25346;&#36733;&#31561;&#65289;&#12290;&#22914;&#26524;&#20320;&#21551;&#21160;&#19968;&#21488;&#29616;&#20195; Linux &#25805;&#20316;&#31995;&#32479;&#65292;&#20351;&#29992; <code>cat /proc/PID/cgroup</code> &#21629;&#20196;&#23601;&#21487;&#20197;&#30475;&#21040;&#35813;&#36827;&#31243;&#26159;&#23646;&#20110;&#19968;&#20010;&#25511;&#21046;&#32452;&#30340;&#12290;&#36824;&#21487;&#20197;&#20174; <code>/proc/PID/status</code> &#25991;&#20214;&#20013;&#26597;&#30475;&#36827;&#31243;&#30340; Capability &#20449;&#24687;&#65292;&#20174; <code>/proc/self/attr/current</code> &#25991;&#20214;&#20013;&#26597;&#30475;&#36827;&#31243;&#30340; SELinux &#26631;&#31614;&#20449;&#24687;&#65292;&#20174; <code>/proc/PID/ns</code> &#30446;&#24405;&#19979;&#30340;&#25991;&#20214;&#26597;&#30475;&#36827;&#31243;&#25152;&#23646;&#30340;&#21517;&#23383;&#31354;&#38388;&#12290;&#22240;&#27492;&#65292;&#22914;&#26524;&#25226;&#23481;&#22120;&#23450;&#20041;&#20026;&#24102;&#26377;&#36164;&#28304;&#38480;&#21046;&#12289;Linux &#23433;&#20840;&#38480;&#21046;&#21644;&#21517;&#23383;&#31354;&#38388;&#30340;&#36827;&#31243;&#65292;&#37027;&#20040;&#25353;&#29031;&#36825;&#20010;&#23450;&#20041;&#65292;Linux &#25805;&#20316;&#31995;&#32479;&#19978;&#30340;&#27599;&#19968;&#20010;&#36827;&#31243;&#37117;&#22312;&#19968;&#20010;&#23481;&#22120;&#37324;&#12290;&#22240;&#27492;&#25105;&#20204;&#24120;&#35828; <a href="https://www.redhat.com/en/blog/containers-are-linux">Linux &#23601;&#26159;&#23481;&#22120;&#65292;&#23481;&#22120;&#23601;&#26159; Linux</a>&#12290;&#32780;<strong>&#23481;&#22120;&#36816;&#34892;&#26102;</strong>&#26159;&#36825;&#26679;&#19968;&#31181;&#24037;&#20855;&#65292;&#23427;&#35843;&#25972;&#19978;&#36848;&#36164;&#28304;&#38480;&#21046;&#12289;&#23433;&#20840;&#38480;&#21046;&#21644;&#21517;&#23383;&#31354;&#38388;&#65292;&#24182;&#21551;&#21160;&#23481;&#22120;&#12290;Docker &#24341;&#20837;&#20102;<strong>&#23481;&#22120;&#38236;&#20687;</strong>&#30340;&#27010;&#24565;&#65292;&#38236;&#20687;&#26159;&#19968;&#20010;&#26222;&#36890;&#30340; TAR &#21253;&#25991;&#20214;&#65292;&#21253;&#21547;&#20102;&#65306;<strong>rootfs&#65288;&#23481;&#22120;&#30340;&#26681;&#25991;&#20214;&#31995;&#32479;&#65289;</strong>&#65306;&#19968;&#20010;&#30446;&#24405;&#65292;&#30475;&#36215;&#26469;&#20687;&#26159;&#25805;&#20316;&#31995;&#32479;&#30340;&#26222;&#36890;&#26681;&#30446;&#24405;&#65288;<code>/</code>&#65289;&#65292;&#20363;&#22914;&#65292;&#19968;&#20010;&#21253;&#21547; <code>/usr</code>, <code>/var</code>…