tc
Advanced traffic control https://wiki.archlinux.org/index.php/advanced_traffic_control Traffic Control HOWTO http://tldp.org/HOWTO/Traffic-Control-HOWTO/index.html QoS in Linux with TC and Filters http://linux-ip.net/gl/tc-filters/tc-filters.html Use Linux Traffic Control as impairment node in a test environment (part 1) https://www.excentis.com/blog/use-linux-traffic-control-impairment-node-test-environment-part-1 Use Linux Traffic Control as impairment node in a test environment (part 2) https://www.excentis.com/blog/use-linux-traffic-control-impairment-node-test-environment-part-2 Use Linux Traffic Control as impairment node in a test environment (part 3) https://www.excentis.com/blog/use-linux-traffic-control-impairment-node-test-environment-part-3
2019-02-11   schedule 15 s  
http/https proxy pcap
访问非 https 服务,客户端直接向代理服务器发送请求,注意发给代理服务器的 http 请求的 URL PATH 部分包含了完整的原始 http 请求 URL,如下图,
2019-02-03   schedule 1 min 5 s  
iptables 基础
CentOS 7.x 默认安装的防火墙是 firewalld,因此如果要使用 iptables 的话,最好禁用 firewalld: ~$ sudo systemctl disable firewalld ~$ sudo systemctl stop firewalld iptables 安装包
2019-02-03   schedule 28 min 6 s  
deb 包版本大小比较
deb 包的版本号组成如下:[epoch:]upstream_version[-debian_revision] Ubuntu 下面没有找到
2019-02-02   schedule 1 min 31 s  
yum versionlock
Ceph 的 ceph-selinux rpm 安装包对 selinux 的依赖不是在 spec 文件里写死的,而是直接依赖当前编译机器的 selinux-policy-devel 版本,在某些时候可能需要支持在低版本的 CentOS 上安装
2019-02-02   schedule 1 min 54 s  
制作并使用 apt 源
在 CentOS 下,rpm 包自带 gpg 签名,只用在 rpmbuild 的阶段考虑 gpg 签名的问题,可以使用 createrepo 工具对已有的 rpm 包非常简单的制作 yum 源,creater
2019-02-02   schedule 7 min 18 s  
fedora copr
COPR: Cool Other Package Repositories 类似于 Ubuntu 的 ppa,即个人提供的 yum 源,可以参考下面的链接: An Introduction to COPRs https://developers.redhat.com/blog/2014/03/11/intro-coprs/
2019-02-01   schedule 10 s  
rpm gpg 签名
虽然我们在使用 yum repo 的时候经常设置 gpgcheck = 0,但实际上官方的 rpm 都是有 gpg 签名的,可以用来校验 rpm 包的合法性(是否被篡改过,是否是伪
2019-02-01   schedule 2 min 51 s  
rpm spec
宏定义保护 类似 %if 0%{?suse_version} 这样的语法,前面的 0 的用法其实与 shell 中的 if [ x$i = x ]; then ... fi 类似,就是为了避免变量 i 没定义时报错。 预定义宏
2019-02-01   schedule 2 min 47 s  
rpm 基础操作
在 RHEL/CentOS 环境下,我们常见的 rpm 相关的工具主要有两个:rpm 和 yum,这里简单介绍一下日常的一些操作。 列出当前系统所有已安装的 rpm
2019-02-01   schedule 3 min 56 s