Linux中国
1.73K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
灰度发布在 UCloud 大规模虚拟网络中的应用

&#26412;&#25991;&#20027;&#35201;&#35814;&#32454;&#38416;&#36848;&#20102;&#22312; UCloud &#30340;&#34394;&#25311;&#32593;&#32476;&#37324;&#65292;&#22914;&#20309;&#21033;&#29992; ServiceMesh &#25216;&#26415;&#22312;&#34394;&#25311;&#32593;&#32476;&#25511;&#21046;&#38754;&#20197;&#21450;&#21033;&#29992;&#21487;&#32534;&#31243;&#20132;&#25442;&#26426;&#22312;&#36716;&#21457;&#38754;&#23454;&#29616;&#28784;&#24230;&#21457;&#24067;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/224403octzq1bg71331i1b.jpg">Media</a>ServiceMesh &#23454;&#29616;&#25511;&#21046;&#38754;&#28784;&#24230;&#22312;&#25511;&#21046;&#38754;&#65292;&#26089;&#26399;&#28784;&#24230;&#21457;&#24067;&#37319;&#29992; APIGW &#30340;&#26041;&#24335;&#23454;&#29616;&#12290;APIGW &#36890;&#24120;&#20165;&#37096;&#32626;&#22312;&#29992;&#25143;&#27969;&#37327;&#30340;&#20837;&#21475;&#65292;&#23436;&#20840;&#28784;&#24230;&#21457;&#24067;&#23601;&#38656;&#35201;&#23436;&#25972;&#22320;&#37096;&#32626;&#20004;&#22871;&#31995;&#32479;&#12290;&#20294;&#22312;&#24494;&#26381;&#21153;&#21270;&#30340;&#26102;&#20195;&#65292;&#20219;&#20309;&#19968;&#20010;&#24494;&#26381;&#21153;&#21457;&#29983;&#21464;&#26356;&#37117;&#38656;&#35201;&#23436;&#25972;&#22320;&#37096;&#32626;&#20004;&#22871;&#31995;&#32479;&#65292;&#36825;&#19981;&#20165;&#25104;&#26412;&#39640;&#19988;&#20005;&#37325;&#24433;&#21709;&#20135;&#21697;&#21464;&#26356;&#36895;&#24230;&#12290;ServiceMesh &#20197;&#31867;&#20284;&#20110;&#23558; APIGateway &#37096;&#32626;&#21040;&#26412;&#22320;&#65292;&#21516;&#26102;&#25552;&#20379;&#38598;&#20013;&#21270;&#25511;&#21046;&#30340;&#26041;&#24335;&#65292;&#23436;&#32654;&#22320;&#35299;&#20915;&#20102;&#36825;&#20123;&#38382;&#39064;&#12290; UCloud &#30340;&#36731;&#37327;&#32423; ServiceMesh &#24179;&#21488;&#22522;&#20110; Istio&#65292;&#32487;&#32493;&#20351;&#29992; Envoy &#20195;&#29702;&#65292;&#20462;&#25913; Pilot &#22312;&#20445;&#30041;&#23436;&#25972;&#30340; DSL &#25903;&#25345;&#30340;&#22522;&#30784;&#19978;&#23454;&#29616;&#20102;&#33073;&#31163; K8S &#36816;&#34892;&#12290;&#22240;&#27492;&#32593;&#32476;&#22242;&#38431;&#23545; Pilot &#20570;&#20102;&#39640;&#24230;&#23450;&#21046;&#65292;&#20174;&#32780;&#26356;&#33021;&#28385;&#36275;&#33258;&#36523;&#30340;&#38656;&#27714;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/223415pbuece6cem9eeeee.png">Media</a>&#23450;&#21046;&#26041;&#26696;&#19968;&#65306;&#25353;&#36134;&#21495;&#28784;&#24230;&#12290;&#22312; GRPC &#25110;&#32773; HTTP &#35831;&#27714;&#20013;&#28155;&#21152;&#33258;&#23450;&#20041; Header <code>x-ucloud-routeby</code>&#65292;<code>x-ucloud-routeby</code> &#37319;&#29992; Cookie &#30340;&#32534;&#30721;&#26684;&#24335;&#65292;&#22312;&#20854;&#20013;&#21253;&#21547;&#36134;&#25143;&#20449;&#24687;&#65292;&#37197;&#32622; Envoy &#26681;&#25454;&#35813; Header &#36827;&#34892;&#31574;&#30053;&#36335;&#30001;&#12290;&#23450;&#21046;&#26041;&#26696;&#20108;&#65306;&#37319;&#29992;&#26174;&#24335;&#20195;&#29702;&#32780;&#19981;&#26159; IPTables &#36879;&#26126;&#24341;&#27969;&#30340;&#26041;&#24335;&#21644; Envoy &#38598;&#25104;&#65292;&#25903;&#25345; HTTP 1.0&#12289;HTTP 2.0 &#21644; gRPC&#12290;&#22312;&#37197;&#32622;&#20102; Envoy &#30340; Proxy Port &#24773;&#20917;&#19979;&#65292;&#36890;&#36807; Envoy &#25509;&#20837; ServiceMesh&#65307;&#22914;&#26524;&#37197;&#32622;&#22495;&#21517;&#19988;&#27809;&#26377;&#37197;&#32622; Envoy &#30340; Proxy&#65292;&#21017;&#33258;&#21160;&#37319;&#29992; ETCD gRPC &#21629;&#21517;&#19982;&#21457;&#29616;&#30340;&#26041;&#24335;&#65307;&#22914;&#26524;&#37197;&#32622; IP &#22320;&#22336;&#21644;&#31471;&#21475;&#65292;&#21017;&#30452;&#36830;&#25351;&#23450;&#22320;&#22336;&#12290;
<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24
CPU 电源管理器:Linux 系统中 CPU 主频的控制和管理

有一款名为 CPU Power Manager 的 GNOME 扩展插件,可以很容易的就设置和管理你的 CPU 主频。Media

via https://linux.cn/article-10151-1.html
CPU &#30005;&#28304;&#31649;&#29702;&#22120;&#65306;Linux &#31995;&#32479;&#20013; CPU &#20027;&#39057;&#30340;&#25511;&#21046;&#21644;&#31649;&#29702;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/230729oc9hwc7zo9zoactw.jpg">Media</a>&#20320;&#20351;&#29992;&#31508;&#35760;&#26412;&#30340;&#35805;&#65292;&#21487;&#33021;&#30693;&#36947; Linux &#31995;&#32479;&#30340;&#30005;&#28304;&#31649;&#29702;&#20570;&#30340;&#24456;&#19981;&#22909;&#12290;&#34429;&#28982;&#26377; TLP&#12289;<a href="https://www.ostechnix.com/improve-laptop-battery-performance-linux/">Laptop Mode Tools &#21644; powertop</a> &#36825;&#20123;&#24037;&#20855;&#26469;&#36741;&#21161;&#20943;&#23569;&#30005;&#37327;&#28040;&#32791;&#65292;&#20294;&#36319; Windows &#21644; Mac OS &#31995;&#32479;&#27604;&#36739;&#36215;&#26469;&#65292;&#30005;&#27744;&#30340;&#25972;&#20010;&#20351;&#29992;&#21608;&#26399;&#36824;&#26159;&#19981;&#23613;&#22914;&#24847;&#12290;&#27492;&#22806;&#65292;&#36824;&#26377;&#19968;&#31181;&#38477;&#20302;&#21151;&#32791;&#30340;&#21150;&#27861;&#23601;&#26159;&#38480;&#21046; CPU &#30340;&#39057;&#29575;&#12290;&#36825;&#26159;&#21487;&#34892;&#30340;&#65292;&#28982;&#32780;&#21364;&#38656;&#35201;&#32534;&#20889;&#24456;&#22797;&#26434;&#30340;&#32456;&#31471;&#21629;&#20196;&#26469;&#35774;&#32622;&#65292;&#25152;&#20197;&#20351;&#29992;&#36215;&#26469;&#19981;&#22826;&#26041;&#20415;&#12290;&#24184;&#22909;&#65292;&#26377;&#19968;&#27454;&#21517;&#20026; CPU Power Manager &#30340; GNOME &#25193;&#23637;&#25554;&#20214;&#65292;&#21487;&#20197;&#24456;&#23481;&#26131;&#30340;&#23601;&#35774;&#32622;&#21644;&#31649;&#29702;&#20320;&#30340; CPU &#20027;&#39057;&#12290;GNOME &#26700;&#38754;&#31995;&#32479;&#20013;&#65292;CPU Power Manager &#20351;&#29992;&#21517;&#20026; intel_pstate &#30340;&#39057;&#29575;&#35843;&#25972;&#39537;&#21160;&#31243;&#24207;&#65288;&#20960;&#20046;&#25152;&#26377;&#30340; Intel CPU &#37117;&#25903;&#25345;&#65289;&#26469;&#25511;&#21046;&#21644;&#31649;&#29702; CPU &#20027;&#39057;&#12290;&#20351;&#29992;&#36825;&#20010;&#25193;&#23637;&#25554;&#20214;&#30340;&#21478;&#19968;&#20010;&#21407;&#22240;&#26159;&#21487;&#20197;&#20943;&#23569;&#31995;&#32479;&#30340;&#21457;&#28909;&#37327;&#65292;&#22240;&#20026;&#24456;&#22810;&#31995;&#32479;&#22312;&#27491;&#24120;&#20351;&#29992;&#20013;&#30340;&#21457;&#28909;&#37327;&#24635;&#35753;&#20154;&#19981;&#33298;&#26381;&#65292;&#38480;&#21046; CPU &#30340;&#20027;&#39057;&#23601;&#21487;&#20197;&#20943;&#20302;&#21457;&#28909;&#37327;&#12290;&#23427;&#36824;&#21487;&#20197;&#20943;&#23569; CPU &#21644;&#20854;&#20182;&#32452;&#20214;&#30340;&#30952;&#25439;&#12290;&#23433;&#35013; CPU Power Manager&#39318;&#20808;&#65292;&#36827;&#20837;<a href="https://extensions.gnome.org/extension/945/cpu-power-manager/">&#25193;&#23637;&#25554;&#20214;&#20027;&#39029;&#38754;</a>&#65292;&#23433;&#35013;&#27492;&#25193;&#23637;&#25554;&#20214;&#12290;&#23433;&#35013;&#22909;&#25554;&#20214;&#21518;&#65292;&#22312; GNOME &#39030;&#37096;&#26639;&#30340;&#21491;&#20391;&#20250;&#20986;&#29616;&#19968;&#20010; CPU &#22270;&#26631;&#12290;&#28857;&#20987;&#22270;&#26631;&#65292;&#20250;&#20986;&#29616;&#23433;&#35013;&#27492;&#25193;&#23637;&#19968;&#20010;&#36873;&#39033;&#25552;&#31034;&#65292;&#22914;&#19979;&#31034;&#65306;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/230730jjowoo7ezo30pjjt.png">Media</a>&#28857;&#20987;“&#23581;&#35797;&#23433;&#35013;”&#25353;&#32445;&#65292;&#20250;&#24377;&#20986;&#36755;&#20837;&#23494;&#30721;&#30830;&#35748;&#26694;&#12290;&#25554;&#20214;&#38656;&#35201; root &#26435;&#38480;&#26469;&#28155;&#21152; policykit &#35268;&#21017;&#65292;&#36827;&#32780;&#25511;&#21046; CPU &#20027;&#39057;&#12290;&#19979;&#38754;&#26159;&#24377;&#20986;&#30340;&#25552;&#31034;&#26694;&#26679;&#23376;&#65306;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/230731fv1gvh866etzeqff.png">Media…
万维网的创建者正在创建一个新的去中心化网络

万维网(WWW)的创建者 Tim Berners-Lee 公布了他计划创建一个新的去中心化网络,该网络中的数据将由用户控制。Media

via https://linux.cn/article-10152-1.html
&#19975;&#32500;&#32593;&#30340;&#21019;&#24314;&#32773;&#27491;&#22312;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340;&#21435;&#20013;&#24515;&#21270;&#32593;&#32476;

&#19975;&#32500;&#32593;&#65288;WWW&#65289;&#30340;&#21019;&#24314;&#32773; Tim Berners-Lee &#20844;&#24067;&#20102;&#20182;&#35745;&#21010;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340;&#21435;&#20013;&#24515;&#21270;&#32593;&#32476;&#65292;&#35813;&#32593;&#32476;&#20013;&#30340;&#25968;&#25454;&#23558;&#30001;&#29992;&#25143;&#25511;&#21046;&#12290;<a href="https://en.wikipedia.org/wiki/Tim_Berners-Lee">Tim Berners-Lee</a> &#20197;&#21019;&#24314;&#19975;&#32500;&#32593;&#32780;&#38395;&#21517;&#65292;&#19975;&#32500;&#32593;&#23601;&#26159;&#20320;&#29616;&#22312;&#25152;&#30693;&#30340;&#20114;&#32852;&#32593;&#12290;&#20108;&#21313;&#22810;&#24180;&#20043;&#21518;&#65292;Tim &#33268;&#21147;&#20110;&#23558;&#20114;&#32852;&#32593;&#20174;&#20225;&#19994;&#24040;&#22836;&#30340;&#25484;&#25511;&#20013;&#35299;&#25918;&#20986;&#26469;&#65292;&#24182;&#36890;&#36807;&#21435;&#20013;&#24515;&#21270;&#32593;&#32476;Decentralized Web&#23558;&#26435;&#21147;&#20132;&#22238;&#32473;&#20154;&#20204;&#12290;Berners-Lee &#23545;&#20114;&#32852;&#32593;“&#24378;&#26435;”&#20204;&#22788;&#29702;&#29992;&#25143;&#25968;&#25454;&#30340;&#26041;&#24335;&#24863;&#21040;&#19981;&#28385;&#12290;&#25152;&#20197;&#20182;<a href="https://medium.com/@timberners_lee/one-small-step-for-the-web-87f92217d085">&#24320;&#22987;&#33268;&#21147;&#20110;&#20182;&#33258;&#24049;&#30340;&#24320;&#28304;&#39033;&#30446;</a> Solid “&#26469;&#23558;&#22312;&#32593;&#32476;&#19978;&#30340;&#26435;&#21147;&#24402;&#36824;&#32473;&#20154;&#20204;”&#12290;Solid &#25913;&#21464;&#20102;&#24403;&#21069;&#29992;&#25143;&#24517;&#39035;&#23558;&#20010;&#20154;&#25968;&#25454;&#20132;&#32473;&#25968;&#23383;&#24040;&#22836;&#20197;&#25442;&#21462;&#21487;&#24863;&#30693;&#20215;&#20540;&#30340;&#27169;&#22411;&#12290;&#27491;&#22914;&#25105;&#20204;&#37117;&#24050;&#21457;&#29616;&#30340;&#37027;&#26679;&#65292;&#36825;&#19981;&#31526;&#21512;&#25105;&#20204;&#30340;&#26368;&#20339;&#21033;&#30410;&#12290;Solid &#26159;&#25105;&#20204;&#22914;&#20309;&#39537;&#21160;&#32593;&#32476;&#36827;&#21270;&#20197;&#24674;&#22797;&#24179;&#34913; —— &#20197;&#19968;&#31181;&#38761;&#21629;&#24615;&#30340;&#26041;&#24335;&#65292;&#35753;&#25105;&#20204;&#27599;&#20010;&#20154;&#23436;&#20840;&#22320;&#25511;&#21046;&#25968;&#25454;&#65292;&#26080;&#35770;&#25968;&#25454;&#26159;&#21542;&#26159;&#20010;&#20154;&#25968;&#25454;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/233504e8jyvyv3jq3dk0dd.jpg">Tim Berners-Lee is creating a decentralized web with open source project Solid</a>&#22522;&#26412;&#19978;&#65292;<a href="https://solid.inrupt.com/">Solid</a> &#26159;&#19968;&#20010;&#20351;&#29992;&#29616;&#26377;&#32593;&#32476;&#26500;&#24314;&#30340;&#24179;&#21488;&#65292;&#22312;&#36825;&#37324;&#20320;&#21487;&#20197;&#21019;&#24314;&#33258;&#24049;&#30340; “pod” (&#20010;&#20154;&#25968;&#25454;&#23384;&#20648;)&#12290;&#20320;&#20915;&#23450;&#36825;&#20010; “pod” &#23558;&#34987;&#25176;&#31649;&#22312;&#21738;&#37324;&#65292;&#35841;&#23558;&#35775;&#38382;&#21738;&#20123;&#25968;&#25454;&#20803;&#32032;&#20197;&#21450;&#25968;&#25454;&#23558;&#22914;&#20309;&#36890;&#36807;&#36825;&#20010; pod &#20998;&#20139;&#12290;Berners-Lee &#30456;&#20449; Solid “&#23558;&#20197;&#19968;&#31181;&#20840;&#26032;&#30340;&#26041;&#24335;&#65292;&#25480;&#26435;&#20010;&#20154;&#12289;&#24320;&#21457;&#32773;&#21644;&#20225;&#19994;&#26469;&#26500;&#24605;&#12289;&#26500;&#24314;&#21644;&#23547;&#25214;&#21019;&#26032;&#12289;&#21487;&#20449;&#21644;&#26377;&#30410;&#30340;&#24212;&#29992;&#21644;&#26381;&#21153;&#12290;”&#24320;&#21457;&#20154;&#21592;&#38656;&#35201;&#23558; Solid &#38598;&#25104;&#36827;&#20182;&#20204;&#30340;&#24212;&#29992;&#31243;&#24207;&#21644;&#32593;&#31449;…
6 个托管 git 仓库的地方

GitHub 被收购导致一些用户去寻找这个流行的代码仓库的替代品。这里有一些你可以考虑一下。Media

via https://linux.cn/article-10153-1.html
6 &#20010;&#25176;&#31649; git &#20179;&#24211;&#30340;&#22320;&#26041;

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)||/…