A Linux networking guide to CIDR notation and configuration
A linux networking guide to CIDR notation and configuration Posted 30 Dec 2016 David Both Feed 3 up Image credits : Pixabay One of the key concepts in network routing that any Linux professional should...
View ArticleCurl/Libxi Updates for Debian 7 LTS
Updated libxi and curl packages has been released for Debian 7 LTS: [DLA 685-2] libxi regression update [DLA 767-1] curl security update [DLA 685-2] libxi regression update Package : libxi Version :...
View Article2016 年 Linux 领域的十大新闻,你有关注吗?
2016 年 linux 领域的十大新闻,你有关注吗? 8小时前来源:开源中国 Hbase WAL线程模型源码分析>>> php?url=0FM8yEqRHG" alt="2016 年 Linux 领域的十大新闻,你有关注吗?" />虽然2016年内Linux在桌面领域并没什么大动作,但作为开源运动的绝对代表,它依然给我们带来一系列大新闻。下面一起来看。 1....
View ArticleAnyone Can Make This Raspberry Pi-Powered Speaker
Stay on target The Raspberry Pi Makes A Great DIY Surveillance System Here's How You Can Access Your Raspberry Pi Projects While On The Go You can make just about anything with a Raspberry Pi; even...
View ArticleA few useful standard readline bindings
One day, I'm not sure exactly when, I stumbled over the standard readline binding of M-. for 'yank-last-arg'. The description you can find in your local readline manpage may be a little abstract, so...
View Articlelinux设备驱动归纳总结(九):1.platform设备驱动
linux 设备驱动归纳总结(九): 1.platform 总线的设备和驱动 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 这一节可以理解是第八章的延伸,从这节开始介绍platform设备驱动。...
View ArticleMy Journey to Improve Disk Performance on the Raspberry Pi
I switched toGluster FS a while ago to provide easier container mobility across my Raspberry Pi DockerCluster. Gluster worked great and was easy to get up and running but I had very poor performance....
View ArticleZFS Root Filesystem on AWS
Did you know you can create your own linux AWS EC2 AMI which is running 100% ZFS for the root filesystem? You can, and it’s not too hard as long as you are experienced with installing Linux from...
View Articletcpdump的移植和使用方法
简介 用简单的话来定义tcpdump,就是:dump the traffic on a network,根据使用者的定义对网络上的数据包进行截获的包分析工具。tcpdump可以将网络中传送的数据包的“头”完全截获下来提供分析。它支持针对网络层、协议、主机、网络或端口的过滤,并提供and、or、not等逻辑语句来帮助你去掉无用的信息。 官方下载地址 http://www.tcpdump.org/...
View ArticleLinux常用命令(1)
1、查看文件与目录 命令:ls [参数] 目录名称 -a :列出目录下所有的文件,包括以”.”开头的隐藏文件。 上面图中有三个隐藏文件,”.”表示当前目录,”..”表示上级目录。 -i:输出文件的inode编号。 -l:列出文件的详细信息。 ls -l可以简化成ll。 -s:在文件名后面输出文件的大小。 -S:以文件大小进行排序。 2、切换目录 命令:cd 目录名称 常用快捷方式: cd ~...
View ArticleEdgeRouter X 救砖全记录
想不到啊想不到,到手才几天这就要开始救砖啊。。。。 =========== 这里是我作死弄挂 EdgeRouterX 的过程,如果你的设备也挂了在找解决方案,跳过这段。 我上一篇文章提到了给 EdgeRouterX 添加 Debian 的源来安装 apg 和 dnsutils 这类的小工具,看起来这些小工具只占用几百 K 空间问题不大。但实际上,每次 apt-get update...
View Article脚本又见脚本,作业又是作业_第七周
1、创建一个10G分区,并格式为ext4文件系统; (1) 要求其block大小为2048, 预留空间百分比为2, 卷标为MYDATA, 默认挂载属性包含acl; (2) 挂载至/data/mydata目录,要求挂载时禁止程序自动运行,且不更新文件的访问时间戳; [root@centos ~]# fdisk -l #马哥说不写注释的都是耍流氓Disk /dev/sda: 171.8 GB,...
View Article创建一个简易的Linux
目标: 为CentOS 6添加一块新硬件,提供两个主分区; (1) 为硬盘新建两个主分区;并为其安装grub; (2) 为硬盘的第一个主分区提供内核和ramdisk文件; 为第二个 分区提供rootfs; (3) 为rootfs提供bash、ls、cat程序及所依赖的库文件; (4) 为grub提供配置文件; (5) 将新的硬盘设置为第一启动项并能够正常启动目标主机; 搭建环境: VM虚拟机:...
View Article文件I/O (二)
前言 当前的计算系统除了包括对数据有 加工和处理 以外还有 搬运 这个 搬运 代表着 输入和输出 ,及 input/output ,简称 I/O UNIX/linux的缔造者们将数据的 来源和目标 都抽象为 文件 ,所以在 UNIX/Linux 系统中 一切皆文件 一切皆文件不仅仅对磁盘,还包括鼠标,键盘,显示器这些设备,那么对这些设备的操作也都抽象成了对 文件的I/O操作 关于 标准I/O...
View ArticleBBR,继锐速之后的新秀
引子 最近BBR炒得沸沸扬扬,号称是锐速之后的在单边加速上的新秀。 它是linux kernel 4.9引进的拥塞控制算法。由于本人不是研究该领域的,根据 知乎大牛的说法 : TCP BBR 致力于解决两个问题: 在有一定丢包率的网络链路上充分利用带宽。 降低网络链路上的 buffer 占用率,从而降低延迟。 感兴趣的还可以读下paper: BBR: Congestion-Based...
View Article2016: When Linux containers became mainstream
In truth, 2016 wasn’t The Year of the Container. That was 2015, when the possibility and promise of containers came along and knocked IT for a loop . But not everyone wanted creative disruption. Many...
View ArticleGentoo-Based Calculate Linux 17 Launches with KDE Plasma 5.8.5 LTS and MATE 1.16
Today, December 30, 2016, Alexander Tratsevskiy had the great pleasure of announcing the release and general availability of Calculate linux 17, a Russian desktop-oriented computer operating system...
View ArticleConnecting to wired/wireless networks via command line
If you use a window manager like DWM, i3, Xmonad, etc, you are more than likely to get rid of the usual panel/system tray you would normally find in xfwm, lxde, etc. So here is how you can use the...
View ArticleAlternatives to Truecrypt on Linux
Since Truecrypt has mysteriously shutdown, here are a few alternative encryption tools for linux. dm-crypt (cryptsetup) dm-crypt(cryptsetup) is an alternative to Truecrypt for creating encrypted...
View ArticleConfiguring Lenovo T440s touchpad in Linux
The first (and only) thing I disliked when I moved from using the Lenovo T420 to the Lenovo T440s laptop was the touchpad on the T440s. T440s has a Apple-ish touchpad which can seem unfriendly...
View Article