[x] ordinary file can also be formatted and mounted [x] terraform mount disk /dev/sdb, why this name? [x] do experiment, using vag ...
Linux System Admin
这个课程的收获就是boot stages, kernel的升级以及linux logging的种类,使用。特别是journald,来自systemd。我从其他文章中补充了一些内容,包括loginctl. Boot Linux booting process: ...
Systemd Essential
Version Different version may have different syntax and options in unit file, check it first: systemctl --version To see systemd s ...
Cloud Init Quick Start
当时的项目用到了cloud-init 进行本机系统启动后的配置,替代之前Ansible的配置操作(也可以做ansible之前的一些更为基础的配置,比如设置network, SSH等),使其在boot后到达可用状态。其实和Ansible 一样都是configur ...
Ansible Galaxy Modules
最近在做项目的时候,发现用到了Ansible Galaxy上的模块,这里记录一下。 Web page ansible java role,对于安装不同的Java 版本非常方便。
Git Release Tag and Branch
Release Tag When to use tag: every time you push to production, tag the release. Release tag points to a specific commit in histor ...
Shell Pattern Matching
Parameter expansion 这是在script 中处理string, number 数据的常用方法. 可以用来代替sed, cut这些external programs, speed up significantly. As our experie ...
Zookeeper Quick Start
The Vagrant demo file please see my git repo Infratree Introduction Zookeeper quorum architecture, at least 3 nodes cluster setup ...
Golang OOP
Struct Go 用struct 实现OOP, 匿名字段可看作实现了继承关系,子类也可以重写父类的方法。 Note, there is also exported and unexported fields in struct, the same patte ...