Linux中国
1.73K subscribers
777 photos
6.34K links
Linux 中国官方 Telegram 频道
Download Telegram
Grank:如何评估一个 Github 项目的活跃度

本文为 Grank(Github Rank)的简介及相关思路的介绍。Media

via https://linux.cn/article-10141-1.html
Grank:如何评估一个 Github 项目的活跃度

&#26412;&#25991;&#20026; Grank&#65288;Github Rank&#65289;&#30340;&#31616;&#20171;&#21450;&#30456;&#20851;&#24605;&#36335;&#30340;&#20171;&#32461;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/22/145255spb0n4hhcwycz8ic.jpg">Media</a>&#22312;&#28145;&#22323;&#21018;&#21018;&#32467;&#26463;&#30340; CosCon 2018 &#22823;&#20250;&#19978;&#21457;&#24067;&#20102;&#12298;<a href="https://linux.cn/article-10135-1.html">&#20013;&#22269;&#24320;&#28304;&#35843;&#26597;&#25253;&#21578;</a>&#12299;&#65292;<a href="https://linux.cn/article-10135-1.html">Grank</a> &#20316;&#20026;&#20854;&#20013;<a href="https://linux.cn/article-10138-1.html">&#25968;&#25454;&#31687;</a>&#30340;&#37096;&#20998;&#25968;&#25454;&#25552;&#20379;&#32773;&#65292;&#26500;&#24314;&#20102;&#19968;&#20010; Github &#39033;&#30446;&#27963;&#36291;&#24230;&#12289;&#31038;&#21306;&#21270;&#30340;&#27169;&#22411;&#65292;&#24182;&#20197; Python &#23454;&#29616;&#12290;&#39033;&#30446;&#22320;&#22336;&#65306; <a href="https://github.com/lctt/grank/">https://github.com/lctt/grank/</a>Grank &#27169;&#22411;&#25105;&#20204;&#35748;&#20026;&#65292;&#19968;&#20010;&#20581;&#24247;&#30340;&#24320;&#28304;&#39033;&#30446;&#24212;&#35813;&#20307;&#29616;&#20026;&#20197;&#19979;&#20004;&#20010;&#26041;&#38754;&#65306;&#39033;&#30446;&#30340;&#27963;&#36291;&#24230;&#36235;&#21183;&#39033;&#30446;&#30340;&#31038;&#21306;&#21270;&#65288;&#21435;&#20013;&#24515;&#21270;&#65289;&#31243;&#24230;&#32780;&#36825;&#20004;&#20010;&#26041;&#38754;&#20998;&#21035;&#26377;&#22810;&#20010;&#22240;&#32032;&#32452;&#25104;&#65306;&#27963;&#36291;&#24230;&#21644;&#27963;&#36291;&#24230;&#36235;&#21183;&#39033;&#30446;&#30340;&#27963;&#36291;&#24230;&#65292;&#25105;&#20204;&#23450;&#20041;&#20026;&#39033;&#30446;&#30340;&#25552;&#20132;&#25968;&#12289; &#25289;&#21462;&#35831;&#27714;&#25968;&#21644;&#36129;&#29486;&#32773;&#25968;&#65288;&#20854;&#23427;&#25968;&#25454;&#65292;&#22914;&#20195;&#30721;&#34892;&#25968;&#12289;&#25991;&#20214;&#25968;&#12289;issue &#25968;&#12289; fork &#25968;&#12289;star &#25968;&#65292;&#35201;&#20040;&#26159;&#26435;&#37325;&#30456;&#23545;&#20302;&#24471;&#22810;&#65292;&#35201;&#20040;&#26159;&#20195;&#34920;&#24847;&#20041;&#19981;&#22815;&#30830;&#23450;&#65292;&#27492;&#22788;&#24573;&#30053;&#19981;&#35745;&#20837;&#27169;&#22411;&#65289;&#12290;&#20294;&#26159;&#65292;&#23545;&#20110;&#19981;&#21516;&#30340;&#39033;&#30446;&#65292;&#20854;&#27178;&#21521;&#27604;&#36739;&#20854;&#27963;&#36291;&#24230;&#65292;&#25110;&#26377;&#19981;&#21516;&#30340;&#27963;&#36291;&#24230;&#24418;&#24577;&#65292;&#25110;&#19981;&#20855;&#22791;&#21487;&#27604;&#24615;&#12290;&#24456;&#38590;&#35828;&#19968;&#20010;&#39033;&#30446;&#27604;&#21478;&#22806;&#19968;&#20010;&#39033;&#30446;&#30340;&#25552;&#20132;&#25968;&#39640;&#65292;&#32780;&#25289;&#21462;&#35831;&#27714;&#65288;PR&#65289;&#25968;&#20302;&#20195;&#34920;&#30340;&#30830;&#20999;&#21547;&#20041;&#12290;&#22240;&#27492;&#25105;&#20204;&#19981;&#35748;&#20026;&#23545;&#19981;&#21516;&#39033;&#30446;&#30340;&#36825;&#20123;&#25968;&#25454;&#36827;&#34892;&#32477;&#23545;&#20540;&#30340;&#27604;&#36739;&#26377;&#22826;&#22810;&#30340;&#31185;&#23398;&#24847;&#20041;&#12290;&#25152;&#20197;&#65292;&#25105;&#20204;&#35748;&#20026;&#19968;&#20010;&#39033;&#30446;&#26412;&#36523;&#30340;&#27963;&#36291;&#24230;&#21464;&#21270;&#30340;&#36235;&#21183;&#21644;&#24133;&#24230;&#65292;&#20250;&#26356;&#26377;&#39033;&#30446;&#38388;&#27604;&#36739;&#30340;&#24847;&#20041;&#12290;&#22914;&#26524;&#20197;&#19977;&#32500;&#31354;&#38388;&#26469;&#25551;&#36848;&#19968;&#20010;&#39033;&#30446;&#30340;&#27963;&#36291;&#24230;&#65292;&#20197;&#25552;&#20132;&#25968;&#12289;&#25289;&#21462;&#35831;&#27714;&#25968;&#12289;&#36129;&#29486;&#32773;&#25968;&#20026;&#19977;&#32500;&#65292;&#…
Grank&#65306;&#22914;&#20309;&#35780;&#20272;&#19968;&#20010; Github &#39033;&#30446;&#30340;&#27963;&#36291;&#24230;

&#26412;&#25991;&#20026; Grank&#65288;Github Rank&#65289;&#30340;&#31616;&#20171;&#21450;&#30456;&#20851;&#24605;&#36335;&#30340;&#20171;&#32461;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/22/145255spb0n4hhcwycz8ic.jpg">Media</a>&#22312;&#28145;&#22323;&#21018;&#21018;&#32467;&#26463;&#30340; CosCon 2018 &#22823;&#20250;&#19978;&#21457;&#24067;&#20102;&#12298;<a href="https://linux.cn/article-10135-1.html">&#20013;&#22269;&#24320;&#28304;&#35843;&#26597;&#25253;&#21578;</a>&#12299;&#65292;<a href="https://linux.cn/article-10135-1.html">Grank</a> &#20316;&#20026;&#20854;&#20013;<a href="https://linux.cn/article-10138-1.html">&#25968;&#25454;&#31687;</a>&#30340;&#37096;&#20998;&#25968;&#25454;&#25552;&#20379;&#32773;&#65292;&#26500;&#24314;&#20102;&#19968;&#20010; Github &#39033;&#30446;&#27963;&#36291;&#24230;&#12289;&#31038;&#21306;&#21270;&#30340;&#27169;&#22411;&#65292;&#24182;&#20197; Python &#23454;&#29616;&#12290;&#39033;&#30446;&#22320;&#22336;&#65306; <a href="https://github.com/lctt/grank/">https://github.com/lctt/grank/</a>Grank &#27169;&#22411;&#25105;&#20204;&#35748;&#20026;&#65292;&#19968;&#20010;&#20581;&#24247;&#30340;&#24320;&#28304;&#39033;&#30446;&#24212;&#35813;&#20307;&#29616;&#20026;&#20197;&#19979;&#20004;&#20010;&#26041;&#38754;&#65306;&#39033;&#30446;&#30340;&#27963;&#36291;&#24230;&#36235;&#21183;&#39033;&#30446;&#30340;&#31038;&#21306;&#21270;&#65288;&#21435;&#20013;&#24515;&#21270;&#65289;&#31243;&#24230;&#32780;&#36825;&#20004;&#20010;&#26041;&#38754;&#20998;&#21035;&#26377;&#22810;&#20010;&#22240;&#32032;&#32452;&#25104;&#65306;&#27963;&#36291;&#24230;&#21644;&#27963;&#36291;&#24230;&#36235;&#21183;&#39033;&#30446;&#30340;&#27963;&#36291;&#24230;&#65292;&#25105;&#20204;&#23450;&#20041;&#20026;&#39033;&#30446;&#30340;&#25552;&#20132;&#25968;&#12289; &#25289;&#21462;&#35831;&#27714;&#25968;&#21644;&#36129;&#29486;&#32773;&#25968;&#65288;&#20854;&#23427;&#25968;&#25454;&#65292;&#22914;&#20195;&#30721;&#34892;&#25968;&#12289;&#25991;&#20214;&#25968;&#12289;issue &#25968;&#12289; fork &#25968;&#12289;star &#25968;&#65292;&#35201;&#20040;&#26159;&#26435;&#37325;&#30456;&#23545;&#20302;&#24471;&#22810;&#65292;&#35201;&#20040;&#26159;&#20195;&#34920;&#24847;&#20041;&#19981;&#22815;&#30830;&#23450;&#65292;&#27492;&#22788;&#24573;&#30053;&#19981;&#35745;&#20837;&#27169;&#22411;&#65289;&#12290;&#20294;&#26159;&#65292;&#23545;&#20110;&#19981;&#21516;&#30340;&#39033;&#30446;&#65292;&#20854;&#27178;&#21521;&#27604;&#36739;&#20854;&#27963;&#36291;&#24230;&#65292;&#25110;&#26377;&#19981;&#21516;&#30340;&#27963;&#36291;&#24230;&#24418;&#24577;&#65292;&#25110;&#19981;&#20855;&#22791;&#21487;&#27604;&#24615;&#12290;&#24456;&#38590;&#35828;&#19968;&#20010;&#39033;&#30446;&#27604;&#21478;&#22806;&#19968;&#20010;&#39033;&#30446;&#30340;&#25552;&#20132;&#25968;&#39640;&#65292;&#32780;&#25289;&#21462;&#35831;&#27714;&#65288;PR&#65289;&#25968;&#20302;&#20195;&#34920;&#30340;&#30830;&#20999;&#21547;&#20041;&#12290;&#22240;&#27492;&#25105;&#20204;&#19981;&#35748;&#20026;&#23545;&#19981;&#21516;&#39033;&#30446;&#30340;&#36825;&#20123;&#25968;&#25454;&#36827;&#34892;&#32477;&#23545;&#20540;&#30340;&#27604;&#36739;&#26377;&#22826;&#22810;&#30340;&#31185;&#23398;&#24847;&#20041;&#12290;&#25152;&#20197;&#65292;&#25105;&#20204;&#35748;&#20026;&#19968;&#20010;&#39033;&#30446;&#26412;&#36523;&#30340;&#27963;&#36291;&#24230;&#21464;&#21270;&#30340;&#36235;&#21183;&#21644;&#24133;&#24230;&#65292;&#20250;&#26356;&#26377;&#39033;&#30446;&#38388;&#27604;&#36739;&#30340;&#24847;&#20041;&#12290;&#22914;&#26524;&#20197;&#19977;&#32500;&#31354;&#38388;&#26469;&#25551;&#36848;&#19968;&#20010;&#39033;&#30446;&#30340;&#27963;&#36291;&#24230;&#65292;&#20197;&#25552;&#20132;&#25968;&#12289;&#25289;&#21462;&#35831;&#27714;&#25968;&#12289;&#36129;&#29486;&#32773;&#25968;&#20026;&#19977;&#32500;&#65292;&#…
2018 中国开源年度报告:洞察篇

以下内容,尝试从工程、方法论的角度阐释开源背后的驱动力所在。Media

via https://linux.cn/article-10142-1.html
2018 &#20013;&#22269;&#24320;&#28304;&#24180;&#24230;&#25253;&#21578;&#65306;&#27934;&#23519;&#31687;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/22/192202mjcsfzj1b4norncd.png">Media</a>&#31532;&#19977;&#31687; &#27934;&#23519;&#31687;3.1 &#39537;&#21160;&#24320;&#28304;&#32972;&#21518;&#30340;&#37325;&#35201;&#21147;&#37327;<strong>&#24341;&#23376;</strong>&#20320;&#26377;&#27809;&#26377;&#35273;&#24471;&#24320;&#28304;&#23601;&#20687;&#26377;&#30528;&#39764;&#21147;&#33324;&#30340;&#23384;&#22312;&#65311;&#19981;&#20165;&#35753;&#20154;&#23545;&#23427;&#30340;&#20135;&#29983;&#21457;&#29983;&#22909;&#22855;&#20043;&#24515;&#65292;&#36830;&#23427;&#30340;&#32972;&#21518;&#36816;&#36716;&#30340;&#36807;&#31243;&#26356;&#26159;&#35868;&#19968;&#26679;&#23384;&#22312;&#65292;&#20196;&#20154;&#27442;&#32610;&#19981;&#33021;&#12290;&#26469;&#33258;&#20114;&#32852;&#32593;&#30340;&#26576;&#20010;&#20154;&#25110;&#26576;&#20010;&#23567;&#22242;&#38431;&#65292;&#21457;&#36215;&#20102;&#19968;&#20010;&#39033;&#30446;&#65288;&#22810;&#25968;&#26102;&#20505;&#26159;&#36719;&#20214;&#65289;&#65292;&#20197;&#33258;&#30001;&#30340;&#21517;&#20041;&#65292;&#31455;&#28982;&#25913;&#21464;&#20102;&#19990;&#30028;&#30340;&#21457;&#23637;&#30340;&#36712;&#36857;&#65292;&#23427;&#20204;&#26377; Linux Kernel &#36719;&#20214;&#39033;&#30446;&#12289;Wikipedia &#30693;&#35782;&#12289;&#22823;&#25968;&#25454;&#20998;&#24067;&#24335;&#35745;&#31639;&#31639;&#27861;&#12289;&#20154;&#24037;&#26234;&#33021;&#20043;&#26426;&#22120;&#23398;&#20064;&#12289;&#21306;&#22359;&#38142;&#20043;&#21152;&#23494;&#36135;&#24065;&#31561;&#31561;&#12290;&#20197;&#19979;&#20869;&#23481;&#65292;&#23581;&#35797;&#20174;&#24037;&#31243;&#12289;&#26041;&#27861;&#35770;&#30340;&#35282;&#24230;&#38416;&#37322;&#24320;&#28304;&#32972;&#21518;&#30340;&#39537;&#21160;&#21147;&#25152;&#22312;&#12290;&#24320;&#28304;&#36719;&#20214;&#21644;&#36719;&#20214;&#26412;&#36523;&#27604;&#36739;&#36215;&#26469;&#65292;&#36824;&#31639;&#26159;&#20010;“&#24180;&#38738;&#20154;”&#65292;&#27491;&#26159;&#22788;&#20110;&#34028;&#21187;&#21521;&#19978;&#30340;&#22007;&#22007;&#21483;&#30340;&#26102;&#20809;&#12290;1998 &#24180;&#65292;Bruce Perens &#21644; Eric S. Raymand &#32852;&#25163;&#21019;&#24314;&#20102;&#24320;&#25918;&#28304;&#20195;&#30721;&#20419;&#36827;&#20250;&#65292;&#27491;&#24335;&#30340;&#23558;&#24320;&#28304;&#36719;&#20214;&#23450;&#20041;&#20844;&#24067;&#20110;&#19990;&#65292;&#25104;&#20026;&#29420;&#31435;&#20110;&#33258;&#30001;&#36719;&#20214;&#20043;&#22806;&#30340;&#19968;&#32929;&#21147;&#37327;&#12290;&#20110;&#26159;&#65292;&#19968;&#20010;&#35797;&#22270;&#24179;&#34913;&#21830;&#19994;&#21644;&#28909;&#29233;&#33258;&#30001;&#30340;&#31243;&#24207;&#21592;&#20043;&#38388;&#30340;&#24352;&#21147;&#30340;&#29702;&#24565;&#35806;&#29983;&#20102;&#65292;&#20174;&#27492;&#19968;&#21457;&#19981;&#21487;&#25910;&#25342;&#65292;&#30452;&#21040;&#20170;&#22825;&#65292;&#25104;&#20026;&#20102;&#25972;&#20010;&#20114;&#32852;&#32593;&#21644;&#22522;&#30784;&#35774;&#26045;&#36719;&#20214;&#30340;&#20013;&#27969;&#30757;&#26609;&#12290;<strong>&#31038;&#21306;&#26159;&#20160;&#20040;&#65311;</strong>&#27627;&#26080;&#30097;&#38382;&#65292;&#29616;&#20195;&#36719;&#20214;&#30340;&#22797;&#26434;&#31243;&#24230;&#24050;&#32463;&#36229;&#36234;&#20102;&#20219;&#20309;&#21333;&#20010;&#20010;&#20154;&#30340;&#26234;&#21147;&#21644;&#25216;&#33021;&#30340;&#26497;&#38480;&#65292;&#23427;&#23601;&#20687;&#19990;&#30028;&#19978;&#20854;&#23427;&#30340;&#22797;&#26434;&#20107;&#29289;&#19968;&#26679;&#65292;&#38656;&#35201;&#22810;&#20154;&#21327;&#20316;&#26469;&#20849;&#21516;&#23436;&#25104;&#12290;&#25105;&#20204;&#20197; Linux &#20026;&#20363;&#65292;&#31616;&#21333;&#32842;&#19968;&#19979;&#31038;&#21306;&#12290;Linux &#31995;&#32479;&#26159;&#19968;&#38376;&#20844;&#20849;&#30340;&#21280;&#33402;&#65292;Linux &#31243;&#24207;&#30340;&#20869;&#26680;&…
如何在 Arch Linux(UEFI)上安装 GRUB

几周前,我不得不在我的笔记本上从头开始重新安装 Arch Linux,同时我发现安装 Grub 并不像我想的那么简单。Media

via https://linux.cn/article-10143-1.html
如何在 Arch Linux(UEFI)上安装 GRUB

Media前段时间,我写了一篇在安装 Windows 后在 Arch Linux 上如何重新安装 Grub的教程。几周前,我不得不在我的笔记本上从头开始重新安装 Arch Linux,同时我发现安装 Grub 并不像我想的那么简单。出于这个原因,由于在新安装 Arch Linux 时在 UEFI bios 中安装 Grub 并不容易,所以我要写这篇教程。定位 EFI 分区在 Arch Linux 上安装 Grub 的第一件重要事情是定位 EFI 分区。让我们运行以下命令以找到此分区:
# fdisk -l
我们需要检查标记为 EFI System 的分区,我这里是 /dev/sda2。之后,我们需要在例如 /boot/efi 上挂载这个分区:
# mkdir /boot/efi# mount /dev/sdb2 /boot/efi
另一件重要的事情是将此分区添加到 /etc/fstab 中。安装 Grub现在我们可以在我们的系统中安装 Grub:
# grub-mkconfig -o /boot/grub/grub.cfg# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
自动将 Windows 添加到 Grub 菜单中为了自动将 Windows 条目添加到 Grub 菜单,我们需要安装 os-prober:
# pacman -Sy os-prober
要添加它,让我们运行以下命令:
# os-prober# grub-mkconfig -o /boot/grub/grub.cfg# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
你可以在这里找到更多关于在 Arch Linux 上 Grub 的信息。via: http://fasterland.net/how-to-install-grub-on-arch-linux-uefi.html作者:Francesco Mondello 选题:lujun9972 译者:geekpi 校对:wxy本文由 LCTT 原创编译,Linux中国 荣誉推出Media

via https://linux.cn/article-10143-1.html?utm_source=rss&utm_medium=rss
系统管理员需知的 16 个 iptables 使用技巧

iptables 是一款控制系统进出流量的强大配置工具。Media

via https://linux.cn/article-10144-1.html
&#31995;&#32479;&#31649;&#29702;&#21592;&#38656;&#30693;&#30340; 16 &#20010; iptables &#20351;&#29992;&#25216;&#24039;

iptables &#26159;&#19968;&#27454;&#25511;&#21046;&#31995;&#32479;&#36827;&#20986;&#27969;&#37327;&#30340;&#24378;&#22823;&#37197;&#32622;&#24037;&#20855;&#12290;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/22/224826corrbcmnpruin488.jpg">Media</a>&#29616;&#20195; Linux &#20869;&#26680;&#24102;&#26377;&#19968;&#20010;&#21483; <a href="https://en.wikipedia.org/wiki/Netfilter">Netfilter</a> &#30340;&#25968;&#25454;&#21253;&#36807;&#28388;&#26694;&#26550;&#12290;Netfilter &#25552;&#20379;&#20102;&#20801;&#35768;&#12289;&#20002;&#24323;&#20197;&#21450;&#20462;&#25913;&#31561;&#25805;&#20316;&#26469;&#25511;&#21046;&#36827;&#20986;&#31995;&#32479;&#30340;&#27969;&#37327;&#25968;&#25454;&#21253;&#12290;&#22522;&#20110; Netfilter &#26694;&#26550;&#30340;&#29992;&#25143;&#23618;&#21629;&#20196;&#34892;&#24037;&#20855; iptables &#25552;&#20379;&#20102;&#24378;&#22823;&#30340;&#38450;&#28779;&#22681;&#37197;&#32622;&#21151;&#33021;&#65292;&#20801;&#35768;&#20320;&#28155;&#21152;&#35268;&#21017;&#26469;&#26500;&#24314;&#38450;&#28779;&#22681;&#31574;&#30053;&#12290;<a href="https://en.wikipedia.org/wiki/Iptables">iptables</a> &#20016;&#23500;&#22797;&#26434;&#30340;&#21151;&#33021;&#20197;&#21450;&#20854;&#24052;&#27931;&#20811;&#24335;&#21629;&#20196;&#35821;&#27861;&#21487;&#33021;&#35753;&#20154;&#38590;&#20197;&#39550;&#39533;&#12290;&#25105;&#20204;&#23601;&#26469;&#25506;&#35752;&#19968;&#19979;&#20854;&#20013;&#30340;&#19968;&#20123;&#21151;&#33021;&#65292;&#25552;&#20379;&#19968;&#20123;&#31995;&#32479;&#31649;&#29702;&#21592;&#35299;&#20915;&#26576;&#20123;&#38382;&#39064;&#38656;&#35201;&#30340;&#20351;&#29992;&#25216;&#24039;&#12290;&#36991;&#20813;&#23553;&#38145;&#33258;&#24049;&#24212;&#29992;&#22330;&#26223;&#65306;&#20551;&#35774;&#20320;&#23558;&#23545;&#20844;&#21496;&#26381;&#21153;&#22120;&#19978;&#30340;&#38450;&#28779;&#22681;&#35268;&#21017;&#36827;&#34892;&#20462;&#25913;&#65292;&#20320;&#38656;&#35201;&#36991;&#20813;&#23553;&#38145;&#20320;&#33258;&#24049;&#20197;&#21450;&#20854;&#20182;&#21516;&#20107;&#30340;&#24773;&#20917;&#65288;&#36825;&#23558;&#20250;&#24102;&#26469;&#19968;&#23450;&#26102;&#38388;&#21644;&#37329;&#38065;&#30340;&#25439;&#22833;&#65292;&#20063;&#35768;&#19968;&#26086;&#21457;&#29983;&#39532;&#19978;&#23601;&#26377;&#37096;&#38376;&#25171;&#30005;&#35805;&#25214;&#20320;&#20102;&#65289;&#25216;&#24039; #1: &#24320;&#22987;&#20043;&#21069;&#20808;&#22791;&#20221;&#19968;&#19979; iptables &#37197;&#32622;&#25991;&#20214;&#12290;&#29992;&#22914;&#19979;&#21629;&#20196;&#22791;&#20221;&#37197;&#32622;&#25991;&#20214;&#65306;<pre class="prettyprint linenums">/sbin/iptables-save > /root/iptables-works</pre>&#25216;&#24039; #2: &#26356;&#22949;&#24403;&#30340;&#20570;&#27861;&#65292;&#32473;&#25991;&#20214;&#21152;&#19978;&#26102;&#38388;&#25139;&#12290;&#29992;&#22914;&#19979;&#21629;&#20196;&#21152;&#26102;&#38388;&#25139;&#65306;<pre class="prettyprint linenums">/sbin/iptables-save > /root/iptables-works-`date +%F`</pre>&#28982;&#21518;&#20320;&#23601;&#21487;&#20197;&#29983;&#25104;&#22914;&#19979;&#21517;&#23383;&#30340;&#25991;&#20214;&#65306;<pre class="prettyprint linenums">/root/iptables-works-2018-09-11</pre>&#36825;&#26679;&#19975;&#19968;&#20351;&#24471;&#31995;&#32479;&#19981;&#24037;&#20316;&#20102;&#65292;&#20320;&#20063;&#21487;&#20197;&#24456;&#24555;&#30340;&#21033;&#29992;&#22791;&#20221;&#25991;&#20214;&#24674;&#22797;&#21407;&#29366;&#65306;<pre class="prettyprint linenums">/sbin/iptables-restore < /root/iptables-works-2018-09-11</pre>&#25216;&#24039; #3: &#27599;&#27425;&#21019;&#24314; iptables &#37197;&#32622;&#25991;&#20214;&#21103;&#26412;&#26102;&#65292;&#37117;&#21019;&#24314;&#19968;&#20010;&#25351;&#21521;&#26368;&#26032;&#30340;&#25991;&#20214;&#30340;&#38142;&#25509;&#12290;<pre class="prettyprint linenums">ln –s /root/iptables-works…
5 个很酷的平铺窗口管理器

Linux 桌面生态中有多种窗口管理器(WM)。有些是作为桌面环境的一部分开发的。有的则被用作独立程序。平铺窗口管理器就是这种情况,它提供了一个更轻量级的自定义环境。Media

via https://linux.cn/article-10145-1.html
5 &#20010;&#24456;&#37239;&#30340;&#24179;&#38138;&#31383;&#21475;&#31649;&#29702;&#22120;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/23/221336pyy3mdxbyebcbcj3.jpg">Media</a>Linux &#26700;&#38754;&#29983;&#24577;&#20013;&#26377;&#22810;&#31181;&#31383;&#21475;&#31649;&#29702;&#22120;&#65288;WM&#65289;&#12290;&#26377;&#20123;&#26159;&#20316;&#20026;&#26700;&#38754;&#29615;&#22659;&#30340;&#19968;&#37096;&#20998;&#24320;&#21457;&#30340;&#12290;&#26377;&#30340;&#21017;&#34987;&#29992;&#20316;&#29420;&#31435;&#31243;&#24207;&#12290;&#24179;&#38138;&#31383;&#21475;&#31649;&#29702;&#22120;&#23601;&#26159;&#36825;&#31181;&#24773;&#20917;&#65292;&#23427;&#25552;&#20379;&#20102;&#19968;&#20010;&#26356;&#36731;&#37327;&#32423;&#30340;&#33258;&#23450;&#20041;&#29615;&#22659;&#12290;&#26412;&#25991;&#20171;&#32461;&#20102;&#20116;&#31181;&#36825;&#26679;&#30340;&#24179;&#38138;&#31383;&#21475;&#31649;&#29702;&#22120;&#20379;&#20320;&#35797;&#29992;&#12290;i3<a href="https://i3wm.org/">i3</a> &#26159;&#26368;&#21463;&#27426;&#36814;&#30340;&#24179;&#38138;&#31383;&#21475;&#31649;&#29702;&#22120;&#20043;&#19968;&#12290;&#19982;&#22823;&#22810;&#25968;&#20854;&#20182;&#27492;&#31867; WM &#19968;&#26679;&#65292;i3 &#19987;&#27880;&#20110;&#20302;&#36164;&#28304;&#28040;&#32791;&#21644;&#29992;&#25143;&#21487;&#23450;&#21046;&#24615;&#12290;&#24744;&#21487;&#20197;&#21442;&#32771; <a href="https://fedoramagazine.org/getting-started-i3-window-manager/">Magazine &#19978;&#30340;&#36825;&#31687;&#25991;&#31456;</a>&#20102;&#35299; i3 &#23433;&#35013;&#32454;&#33410;&#20197;&#21450;&#22914;&#20309;&#37197;&#32622;&#23427;&#12290;sway<a href="https://swaywm.org/">sway</a> &#26159;&#19968;&#20010;&#24179;&#38138; Wayland &#21512;&#25104;&#22120;&#12290;&#23427;&#26377;&#19982;&#29616;&#26377; i3 &#37197;&#32622;&#20860;&#23481;&#30340;&#20248;&#28857;&#65292;&#22240;&#27492;&#20320;&#21487;&#20197;&#20351;&#29992;&#23427;&#26469;&#26367;&#25442; i3 &#24182;&#20351;&#29992; Wayland &#20316;&#20026;&#26174;&#31034;&#21327;&#35758;&#12290;&#24744;&#21487;&#20197;&#20351;&#29992; dnf &#20174; Fedora &#20179;&#24211;&#23433;&#35013; sway&#65306;<pre class="prettyprint linenums">$ sudo dnf install sway</pre>&#22914;&#26524;&#20320;&#24819;&#20174; i3 &#36801;&#31227;&#21040; sway&#65292;&#36825;&#37324;&#26377;&#19968;&#20010;<a href="https://github.com/swaywm/sway/wiki/i3-Migration-Guide">&#36801;&#31227;&#25351;&#21335;</a>&#12290;Qtile<a href="http://www.qtile.org/">Qtile</a> &#26159;&#21478;&#19968;&#20010;&#24179;&#38138;&#31649;&#29702;&#22120;&#65292;&#20063;&#24688;&#22909;&#26159;&#29992; Python &#32534;&#20889;&#30340;&#12290;&#40664;&#35748;&#24773;&#20917;&#19979;&#65292;&#20320;&#22312;&#20301;&#20110; ~/.config/qtile/config.py &#19979;&#30340; Python &#33050;&#26412;&#20013;&#37197;&#32622; Qtile&#12290;&#24403;&#27492;&#33050;&#26412;&#19981;&#23384;&#22312;&#26102;&#65292;Qtile &#20250;&#20351;&#29992;&#40664;&#35748;<a href="https://github.com/qtile/qtile/blob/develop/libqtile/resources/default_config.py">&#37197;&#32622;</a>&#12290;Qtile &#20351;&#29992; Python &#30340;&#19968;&#20010;&#22909;&#22788;&#26159;&#20320;&#21487;&#20197;&#32534;&#20889;&#33050;&#26412;&#26469;&#25511;&#21046; WM&#12290;&#20363;&#22914;&#65292;&#20197;&#19979;&#33050;&#26412;&#25171;&#21360;&#23631;&#24149;&#35814;&#32454;&#20449;&#24687;&#65306;<pre class="prettyprint linenums">> from libqtile.command import Client> c = Client()> print(c.screen.info){'index': 0, 'width': 1920, 'height': 1006, 'x': 0, 'y': 0}</pre>&#35201;&#22312; Fedora &#19978;&#23433;&#35013; Qlite&#65292;&#35831;&#20351;&#29992;&#20197;&#19979;&#21629;&#20196;&#65306;<pre class="prettyprint linenums">$ sudo dnf install qtile</pre>dwm<a href="https://dwm.suckless.org/">dwm</a> &#31383;&#21475;&#31649;&#29702;&#22120;&#26356;&#20391;&#37325;&#20110;&#36731;&#37327;&#32423;&#12290;&#35813;&#39033;&#30446;&#30340;&#19968;&#20010;&#30446;&#26631;&#26159;&#20445;&#25345; dwm…
2018 年最好的 Linux 发行版

Jack Wallen 分享他挑选的 2018 年最好的 Linux 发行版。Media

via https://linux.cn/article-10146-1.html
2018 &#24180;&#26368;&#22909;&#30340; Linux &#21457;&#34892;&#29256;

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/094318h906e0tyipii0z2e.jpg">Linux distros 2018</a>Jack Wallen &#20998;&#20139;&#20182;&#25361;&#36873;&#30340; 2018 &#24180;&#26368;&#22909;&#30340; Linux &#21457;&#34892;&#29256;&#12290;&#36825;&#26159;&#26032;&#30340;&#19968;&#24180;&#65292;Linux &#20173;&#26377;&#26080;&#38480;&#21487;&#33021;&#12290;&#32780;&#19988;&#35768;&#22810; Linux &#21457;&#34892;&#29256;&#22312; 2017 &#24180;&#37117;&#24102;&#26469;&#20102;&#35768;&#22810;&#37325;&#22823;&#30340;&#25913;&#21464;&#65292;&#25105;&#30456;&#20449;&#22312; 2018 &#24180;&#23427;&#22312;&#26381;&#21153;&#22120;&#21644;&#26700;&#38754;&#19978;&#23558;&#20250;&#24102;&#26469;&#26356;&#21152;&#31283;&#23450;&#30340;&#31995;&#32479;&#21644;&#24066;&#22330;&#20221;&#39069;&#30340;&#22686;&#38271;&#12290;&#23545;&#20110;&#37027;&#20123;&#26399;&#24453;&#36801;&#31227;&#21040;&#24320;&#28304;&#24179;&#21488;&#65288;&#25110;&#26159;&#37027;&#20123;&#24819;&#35201;&#20999;&#25442;&#21040;&#65289;&#30340;&#20154;&#23545;&#20110;&#21363;&#23558;&#21040;&#26469;&#30340;&#19968;&#24180;&#65292;&#20160;&#20040;&#26159;&#26368;&#22909;&#30340;&#36873;&#25321;&#65311;&#22914;&#26524;&#20320;&#21435; <a href="https://distrowatch.com/">Distrowatch</a> &#25214;&#19968;&#19979;&#65292;&#20320;&#21487;&#33021;&#20250;&#22240;&#20026;&#20247;&#22810;&#30340;&#21457;&#34892;&#29256;&#32780;&#24863;&#21040;&#22836;&#26197;&#65292;&#20854;&#20013;&#19968;&#20123;&#30340;&#25490;&#21517;&#22312;&#19978;&#21319;&#65292;&#32780;&#36824;&#26377;&#19968;&#20123;&#21017;&#24688;&#24688;&#30456;&#21453;&#12290;&#22240;&#27492;&#65292;&#21738;&#20010; Linux &#21457;&#34892;&#29256;&#23558;&#22312; 2018 &#24180;&#24471;&#21040;&#20559;&#29233;&#65311;&#25105;&#26377;&#25105;&#30340;&#30475;&#27861;&#12290;&#20107;&#23454;&#19978;&#65292;&#25105;&#29616;&#22312;&#23601;&#35201;&#21644;&#20320;&#20204;&#20998;&#20139;&#23427;&#12290;&#36319;&#25105;&#20570;&#30340; <a href="https://www.linux.com/news/learn/sysadmin/best-linux-distributions-2017">&#21435;&#24180;&#28165;&#21333;</a> &#30456;&#20284;&#65292;&#25105;&#23558;&#20250;&#25171;&#30772;&#37027;&#24352;&#28165;&#21333;&#65292;&#20351;&#20219;&#21153;&#26356;&#21152;&#36731;&#26494;&#12290;&#26222;&#36890;&#30340; Linux &#29992;&#25143;&#65292;&#33267;&#23569;&#21253;&#21547;&#20197;&#19979;&#20960;&#20010;&#31867;&#21035;&#65306;&#31995;&#32479;&#31649;&#29702;&#21592;&#65292;&#36731;&#37327;&#32423;&#21457;&#34892;&#29256;&#65292;&#26700;&#38754;&#65292;&#20026;&#29289;&#32852;&#32593;&#21644;&#26381;&#21153;&#22120;&#21457;&#34892;&#30340;&#29256;&#26412;&#12290;&#26681;&#25454;&#36825;&#20123;&#65292;&#35753;&#25105;&#20204;&#24320;&#22987; 2018 &#24180;&#26368;&#22909;&#30340; Linux &#21457;&#34892;&#29256;&#28165;&#21333;&#21543;&#12290;&#23545;&#31995;&#32479;&#31649;&#29702;&#21592;&#26368;&#22909;&#30340;&#21457;&#34892;&#29256;<a href="https://www.debian.org/">Debian</a> &#19981;&#24120;&#20986;&#29616;&#22312;“&#26368;&#22909;&#30340;”&#21015;&#34920;&#20013;&#12290;&#20294;&#23427;&#24212;&#35813;&#20986;&#29616;&#65292;&#20026;&#20160;&#20040;&#21602;&#65311;&#22914;&#26524;&#20102;&#35299;&#21040; Ubuntu &#26159;&#22522;&#20110; Debian &#26500;&#24314;&#30340;&#65288;&#20854;&#23454;&#26377;&#24456;&#22810;&#30340;&#21457;&#34892;&#29256;&#37117;&#22522;&#20110; Debian&#65289;&#65292;&#20320;&#23601;&#24456;&#23481;&#26131;&#29702;&#35299;&#20026;&#20160;&#20040;&#36825;&#20010;&#21457;&#34892;&#29256;&#24212;&#35813;&#22312;&#35768;&#22810;“&#26368;&#22909;”&#28165;&#21333;&#20013;&#12290;&#20294;&#20026;&#20160;&#20040;&#26159;&#23545;&#31649;&#29702;&#21592;&#26368;&#22909;&#30340;&#21602;&#65311;&#25105;&#24819;&#36825;&#26159;&#30001;&#20110;&#20004;&#20010;&#38750;&#24120;&#37325;&#35201;&#30340;&#21407;&#22240;&#65306;&#23481;&#26131;&#20351;&#29992;&#38750;&#24120;&#31283;&#23450;&#22240;&#20026;…
写作是如何帮助技能拓展和事业成长的

了解为什么写作可以帮助学习新技能和事业成长Media

via https://linux.cn/article-10147-1.html
&#20889;&#20316;&#26159;&#22914;&#20309;&#24110;&#21161;&#25216;&#33021;&#25299;&#23637;&#21644;&#20107;&#19994;&#25104;&#38271;&#30340;

&#20102;&#35299;&#20026;&#20160;&#20040;&#20889;&#20316;&#21487;&#20197;&#24110;&#21161;&#23398;&#20064;&#26032;&#25216;&#33021;&#21644;&#20107;&#19994;&#25104;&#38271;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/103058ektgkc8oc690gov3.jpg">Media</a>&#22312;&#26368;&#36817;&#30340;<a href="https://events.linuxfoundation.org/events/open-source-summit-north-america-2018/">&#28201;&#21733;&#21326;&#24320;&#28304;&#23792;&#20250;</a>&#19978;&#65292;&#25105;&#21442;&#21152;&#20102;&#19968;&#20010;&#23567;&#32452;&#35752;&#35770;&#65292;&#21483;&#20570;“&#20889;&#20316;&#26159;&#22914;&#20309;&#25913;&#21464;&#20320;&#30340;&#32844;&#19994;&#29983;&#28079;&#30340;&#65288;&#21363;&#20351;&#20320;&#19981;&#26159;&#20010;&#20316;&#23478;&#65289;”&#12290;&#20027;&#25345;&#20154;&#26159; Opensource.com &#30340;&#31038;&#21306;&#32463;&#29702;&#20860;&#32534;&#36753; Rikki Endsley&#65292;&#25104;&#21592;&#26377;&#24320;&#28304;&#31574;&#30053;&#39038;&#38382; VM (Vicky) Brasseur&#65292;The New Stack &#30340;&#21019;&#22987;&#20154;&#20860;&#20027;&#32534; Alex Williams&#65292;&#36824;&#26377; The Scale Factory &#30340;&#39038;&#38382; Dawn Foster&#12290;Rikki &#22312;&#22905;&#30340;<a href="https://opensource.com/article/18/2/career-changing-magic-writing">&#36825;&#31687;&#25991;&#31456;</a>&#20013;&#24635;&#32467;&#20102;&#19968;&#20123;&#20196;&#20154;&#24841;&#24555;&#30340;&#65292;&#24182;&#19988;&#33021;&#20197;&#24847;&#24819;&#19981;&#21040;&#30340;&#26041;&#24335;&#25913;&#21892;&#20320;&#32844;&#19994;&#29983;&#28079;&#30340;&#20889;&#20316;&#26041;&#27861;&#65292;&#25105;&#22312;&#23792;&#20250;&#19978;&#30340;&#21457;&#35328;&#26159;&#21463;&#22905;&#36825;&#31687;&#25991;&#31456;&#30340;&#21551;&#21457;&#12290;&#36879;&#38706;&#19968;&#19979;&#65292;&#25105;&#35748;&#35782; Rikki &#24456;&#20037;&#20102;&#65292;&#25105;&#20204;&#22312;&#21516;&#19968;&#23478;&#20844;&#21496;&#20849;&#20107;&#20102;&#24456;&#22810;&#24180;&#65292;&#19968;&#36215;&#24102;&#36807;&#23401;&#23376;&#65292;&#21040;&#29616;&#22312;&#36824;&#26159;&#24456;&#20146;&#23494;&#30340;&#26379;&#21451;&#12290;&#20889;&#20316;&#21644;&#23398;&#20064;&#27491;&#22914; Rikki &#23545;&#36825;&#20010;&#23567;&#32452;&#35752;&#35770;&#30340;&#25551;&#36848;&#65292;“&#21363;&#20351;&#20320;&#33258;&#35748;&#20026;&#19981;&#26159;&#19968;&#20010;‘&#20316;&#23478;’&#65292;&#20320;&#20063;&#24212;&#35813;&#32771;&#34385;&#20889;&#19968;&#19979;&#23545;&#24320;&#28304;&#30340;&#36129;&#29486;&#65292;&#36824;&#26377;&#20320;&#30340;&#39033;&#30446;&#25110;&#32773;&#31038;&#21306;”&#12290;&#20889;&#20316;&#26159;&#19968;&#31181;&#24456;&#22909;&#30340;&#26041;&#24335;&#65292;&#26469;&#20998;&#20139;&#33258;&#24049;&#30340;&#30693;&#35782;&#24182;&#35753;&#21035;&#20154;&#21442;&#19982;&#21040;&#20320;&#30340;&#24037;&#20316;&#20013;&#26469;&#65292;&#24403;&#28982;&#23427;&#23545;&#20010;&#20154;&#20063;&#26377;&#22909;&#22788;&#12290;&#20889;&#20316;&#33021;&#24110;&#21161;&#20320;&#32467;&#35782;&#26032;&#20154;&#65292;&#23398;&#20064;&#26032;&#25216;&#33021;&#65292;&#36824;&#33021;&#25913;&#21892;&#20320;&#30340;&#27807;&#36890;&#12290;&#25105;&#21457;&#29616;&#20889;&#20316;&#33021;&#35753;&#25105;&#25630;&#28165;&#26970;&#33258;&#24049;&#23545;&#26576;&#20010;&#20027;&#39064;&#26377;&#21738;&#20123;&#19981;&#25026;&#30340;&#22320;&#26041;&#12290;&#20889;&#20316;&#30340;&#36807;&#31243;&#20250;&#35753;&#30693;&#35782;&#20307;&#31995;&#30340;&#31354;&#30333;&#24456;&#31361;&#20986;&#65292;&#36825;&#28608;&#21169;&#20102;&#25105;&#36890;&#36807;&#36827;&#19968;&#27493;&#30340;&#30740;&#31350;&#12289;&#38405;&#35835;&#21644;&#25552;&#38382;&#26469;&#22635;&#34917;&#36825;&#20123;&#31354;&#30333;&#12290;Rikki &#35828;&#65306;“&#20889;&#37027;&#20123;&#20320;&#19981;&#30693;&#36947;&#30340;&#19996;&#35199;&#20250;…
你从不知道的 11 个 KDE 应用

你今天需要哪种有趣或奇特的应用?Media

via https://linux.cn/article-10148-1.html
&#20320;&#20174;&#19981;&#30693;&#36947;&#30340; 11 &#20010; KDE &#24212;&#29992;

&#20320;&#20170;&#22825;&#38656;&#35201;&#21738;&#31181;&#26377;&#36259;&#25110;&#22855;&#29305;&#30340;&#24212;&#29992;&#65311;<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/151946u9pvudwvzpdoluoo.png">Media</a>Linux &#26700;&#38754;&#29615;&#22659; KDE &#20110;&#20170;&#24180; 10 &#26376; 14 &#26085;&#24198;&#31069;&#35806;&#29983; 22 &#21608;&#24180;&#12290;KDE &#31038;&#21306;&#29992;&#25143;&#21019;&#24314;&#20102;&#28023;&#37327;&#24212;&#29992;&#65288;&#24182;&#27809;&#26377;&#24456;&#22810;&#65292;&#20294;<a href="https://www.kde.org/applications/">&#20063;&#26377;&#19981;&#23569;</a>&#65289;&#65292;&#23427;&#20204;&#24456;&#22810;&#37117;&#25552;&#20379;&#26377;&#36259;&#21644;&#22855;&#29305;&#30340;&#26381;&#21153;&#12290;&#25105;&#20204;&#20180;&#32454;&#30475;&#20102;&#35813;&#21015;&#34920;&#65292;&#24182;&#25361;&#36873;&#20986;&#20102;&#20320;&#21487;&#33021;&#24819;&#20102;&#35299;&#30340; 11 &#20010;&#24212;&#29992;&#12290;11 &#20010;&#20320;&#20174;&#27809;&#20102;&#35299;&#30340; KDE &#24212;&#29992;<a href="https://www.kde.org/applications/games/kteatime/">KTeaTime</a> &#26159;&#19968;&#20010;&#27873;&#33590;&#35745;&#26102;&#22120;&#12290;&#36873;&#25321;&#20320;&#27491;&#22312;&#39278;&#29992;&#30340;&#33590;&#30340;&#31867;&#22411; —— &#32511;&#33590;&#12289;&#32418;&#33590;&#12289;&#20937;&#33590;&#31561; —— &#24403;&#21487;&#20197;&#21462;&#20986;&#33590;&#21253;&#26469;&#39278;&#29992;&#26102;&#65292;&#35745;&#26102;&#22120;&#23558;&#20250;&#21709;&#12290;<a href="https://userbase.kde.org/KTux">KTux</a> &#23601;&#26159;&#19968;&#20010;&#23631;&#20445;&#31243;&#24207;……&#26159;&#20040;&#65311;Tux &#29992;&#23427;&#30340;&#32511;&#33394;&#39134;&#33337;&#22312;&#22806;&#22826;&#31354;&#39134;&#34892;&#12290;<a href="https://www.kde.org/applications/education/blinken">Blinken</a> &#26159;&#19968;&#27454;&#22522;&#20110; Simon Says &#30340;&#35760;&#24518;&#28216;&#25103;&#65292;&#36825;&#26159;&#19968;&#20010; 1978 &#24180;&#21457;&#24067;&#30340;&#30005;&#23376;&#28216;&#25103;&#12290;&#29609;&#23478;&#20204;&#22312;&#35760;&#20303;&#38271;&#24230;&#22686;&#21152;&#30340;&#24207;&#21015;&#26102;&#20250;&#26377;&#25361;&#25112;&#12290;<a href="http://tellico-project.org/">Tellico</a> &#26159;&#19968;&#20010;&#25910;&#38598;&#31649;&#29702;&#22120;&#65292;&#29992;&#20110;&#32452;&#32455;&#20320;&#26368;&#21916;&#27426;&#30340;&#29233;&#22909;&#12290;&#20063;&#35768;&#20320;&#36824;&#22312;&#25910;&#38598;&#26834;&#29699;&#21345;&#12290;&#20063;&#35768;&#20320;&#26159;&#32418;&#37202;&#20465;&#20048;&#37096;&#30340;&#19968;&#21592;&#12290;&#20063;&#35768;&#20320;&#26159;&#19968;&#20010;&#20005;&#32899;&#30340;&#20070;&#34411;&#12290;&#20063;&#35768;&#19977;&#20010;&#37117;&#26159;&#65281;<a href="https://www.kde.org/applications/utilities/krecipes/">KRecipes</a> <strong>&#19981;&#26159;</strong> &#31616;&#21333;&#30340;&#39135;&#35889;&#31649;&#29702;&#22120;&#12290;&#23427;&#36824;&#26377;&#24456;&#22810;&#20854;&#20182;&#21151;&#33021;&#65281;&#36141;&#29289;&#28165;&#21333;&#12289;&#33829;&#20859;&#32032;&#20998;&#26512;&#12289;&#39640;&#32423;&#25628;&#32034;&#12289;&#33756;&#35889;&#35780;&#32423;&#12289;&#23548;&#20837;/&#23548;&#20986;&#21508;&#31181;&#26684;&#24335;&#31561;&#12290;<a href="https://edu.kde.org/khangman/">KHangMan</a> &#22522;&#20110;&#32463;&#20856;&#28216;&#25103; Hangman&#65292;&#20320;&#21487;&#20197;&#25353;&#36880;&#20010;&#23383;&#27597;&#29468;&#27979;&#21333;&#35789;&#12290;&#36825;&#20010;&#28216;&#25103;&#26377;&#22810;&#31181;&#35821;&#35328;&#29256;&#26412;&#65292;&#36825;&#21487;&#20197;&#29992;&#26469;&#25913;&#21892;&#20320;&#23398;&#20064;&#21478;&#19968;&#31181;&#35821;&#35328;&#12290;&#23427;&#26377;&#22235;&#20010;&#20998;&#31867;&#65292;&#20854;&#20013;&#19968;&#20010;&#26159;“&#21160;&#29289;”&#65292;&#38750;&#24120;&#36866;&#21512;&#23401;&#23376;&#12290;<a…
基于 Slax 构建译者专用 Linux

针对译者的 Linux 已经有 tuxtrans 了。现在我要基于 Slax 打造一个新的译者专用 Linux。Media

via https://linux.cn/article-10149-1.html
&#22522;&#20110; Slax &#26500;&#24314;&#35793;&#32773;&#19987;&#29992; Linux

<a href="https://dn-linuxcn.qbox.me/data/attachment/album/201810/24/161052vt9l44k4zby89yyf.jpg">Media</a>&#38024;&#23545;&#35793;&#32773;&#30340; Linux &#24050;&#32463;&#26377; <a href="https://www.uibk.ac.at/tuxtrans/">tuxtrans</a> &#20102;&#12290;&#23427;&#22522;&#20110; Ubuntu &#25171;&#21253;&#20102;&#24456;&#22810;&#35793;&#32773;&#38656;&#35201;&#30340;&#36719;&#20214;&#12290;&#36866;&#21512;&#36861;&#27714;&#20351;&#29992;&#33258;&#30001;&#36719;&#20214;&#30340;&#29992;&#25143;&#20351;&#29992;&#12290;&#29616;&#22312;&#25105;&#35201;&#22522;&#20110; Slax &#25171;&#36896;&#19968;&#20010;&#26032;&#30340;&#35793;&#32773;&#19987;&#29992; Linux&#12290;&#20026;&#20160;&#20040;&#65311;&#20027;&#35201;&#26159;&#22240;&#20026; Slax &#30340;&#20415;&#25463;&#24615;&#65306;&#21487;&#20197;&#20174; U &#30424;&#31561;&#31227;&#21160;&#20171;&#36136; Live &#21551;&#21160;&#65292;&#21551;&#21160;&#21518;&#23545;&#31995;&#32479;&#36827;&#34892;&#30340;&#20462;&#25913;&#21487;&#20197;&#20445;&#23384;&#12290;&#27169;&#22359;&#21270;&#65292;&#21487;&#20197;&#26041;&#20415;&#22320;&#25226;&#36719;&#20214;&#25171;&#21253;&#65292;&#20570;&#36827;&#21551;&#21160;&#30424;&#37324;&#12290;&#36731;&#37327;&#32423;&#65292;&#21551;&#21160;&#24555;&#12290;&#22312; Slax &#19979;&#36816;&#34892;&#22914;&#19979;&#21629;&#20196;&#65306;<pre class="prettyprint linenums"># savechanges out.sb</pre>&#21363;&#21487;&#25226;&#21551;&#21160;&#21518;&#36827;&#34892;&#30340;&#20462;&#25913;&#25171;&#21253;&#25104; squashfs &#26684;&#24335;&#30340; sb &#25991;&#20214;&#65292;&#28982;&#21518;&#25918;&#20837;&#20809;&#30424;&#30340; modules &#30446;&#24405;&#21363;&#21487;&#20351;&#29992;&#12290;&#21435;&#24180;&#20986;&#30340; Slax 9 &#26159;&#22522;&#20110; Debian &#30340;&#65292;&#26377;&#21253;&#31649;&#29702;&#31995;&#32479;&#65292;&#26356;&#36866;&#21512;&#23567;&#30333;&#36827;&#34892;&#25805;&#20316;&#12290;&#20043;&#21069;&#30340;&#29256;&#26412;&#22522;&#20110; Slackware&#65292;&#23433;&#35013;&#36719;&#20214;&#35201;&#35299;&#20915;&#21508;&#31181;&#20381;&#36182;&#20851;&#31995;&#65292;&#19981;&#36807;&#25163;&#21160;&#23433;&#35013;&#23545;&#20110;&#21253;&#30340;&#31649;&#25511;&#20498;&#26159;&#27604;&#36739;&#28165;&#26970;&#12290;&#21046;&#20316;&#36807;&#31243;&#19979;&#38754;&#35762;&#19968;&#19979;&#21046;&#20316;&#36807;&#31243;&#65306;1&#12289;&#28155;&#21152;&#20013;&#25991;&#25903;&#25345;&#12290;&#23433;&#35013;&#25991;&#27849;&#39551;&#20013;&#25991;&#23383;&#20307;&#65306;<pre class="prettyprint linenums"># apt install fonts-wqy-microhei fonts-wqy-zenhei</pre>&#23433;&#35013;&#36755;&#20837;&#27861;&#65306;<pre class="prettyprint linenums"># apt install ibus ibus-pinyin ibus-qt4</pre>&#36825;&#37324;&#22240;&#20026; Slax &#32570;&#23569;&#19968;&#20123;&#32452;&#20214;&#65292;&#25105;&#20204;&#38656;&#35201;&#34917;&#20805;&#19978;&#65292;&#21478;&#22806;&#40664;&#35748;&#26700;&#38754;&#19981;&#33021;&#29992;&#20013;&#25991;&#36755;&#20837;&#27861;&#65292;&#25913;&#20026;&#20351;&#29992; xfce &#26700;&#38754;&#31649;&#29702;&#22120;&#65292;&#29992; lightdm &#30331;&#24405;&#31649;&#29702;&#22120;&#12290;<pre class="prettyprint linenums"># apt install dbus-x11 task-xfce-desktop</pre>&#23433;&#35013; im-config&#65292;&#21487;&#20197;&#24378;&#21046;&#35774;&#23450;&#36755;&#20837;&#27861;&#12290;<pre class="prettyprint linenums"># apt install im-config zenity</pre>2&#12289;&#23433;&#35013;&#24120;&#29992; CAT &#36719;&#20214;<pre class="prettyprint linenums"># apt install translate-utils</pre>&#28982;&#21518; OmegaT &#21644; Okapi &#38656;&#35201;&#25163;&#21160;&#23433;&#35013;&#65292;OmegaT &#33258;&#24102;&#23433;&#35013;&#33050;&#26412;&#65292;&#36816;&#34892;&#21363;&#21487;&#12290;Rainbow &#21487;&#20197;&#21442;&#32771; OmegaT &#30340;&#33050;&#26412;&#23433;&#35013;&#12290;&#20027;&#35201;&#26159;&#25226;&#23427;&#22797;&#21046;&#21040; /opt &#37324;&#6529…
灰度发布在 UCloud 大规模虚拟网络中的应用

本文主要详细阐述了在 UCloud 的虚拟网络里,如何利用 ServiceMesh 技术在虚拟网络控制面以及利用可编程交换机在转发面实现灰度发布。Media

via https://linux.cn/article-10150-1.html
&#28784;&#24230;&#21457;&#24067;&#22312; UCloud &#22823;&#35268;&#27169;&#34394;&#25311;&#32593;&#32476;&#20013;&#30340;&#24212;&#29992;

&#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