snap or flatpak or AppImage
Why is Ubuntu moving to Snappy packages? https://askubuntu.com/questions/618471/why-is-ubuntu-moving-to-snappy-packages The Future Of Apps On Linux https://flatpak.org/ A Universal App Store for Linux https://snapcraft.io/ flatpak 只适用于桌面软件,snap 类似 docker 需要先安装管理软件。 只有 AppImage 相对来说靠谱一点
制作支持自定义夏令时的 tzdata rpm 包
对于某些需要自定义夏令时的需求,CentOS 自带的 tzdata 不能满足要求,因此需要自定义 tzdata,我们可以通过修改 tzdata 定义文件
Linux 文件夹可执行权限
这个问题应该大部分人都没有真正理解(我也不例外:)),引用 stackexchange 上的解释如下: First, think: What is a directory? It’s just a list of items (files and other directories) that live within. So: directory = list
Linux 文件权限标识
为 ceph 客户端增加默认 admin socket 的时候遇到了权限相关的问题,在阅读社区代码[1]时遇到了类似 3770 这样的权限,以前 ls -l 也遇到过类似 -rwxrwxr-T 的
git 协议使用 http 代理
通常来说,我们会使用 http/https 协议来访问 git 库,但是有些开源代码里引用的第三方模块的 URL 可能是 git 协议的,比如 qemu 最新的代码引用的都是类
NTP 手工同步
常见的 NTP 软件有 ntpd 和 chronyd(本文操作以 CentOS 为例,Ubuntu 为 ntp 和 chrony),从 CentOS 7.x 和 Ubuntu 16.04 开始系统都默认安装 chronyd 作
为 Windows 命令行设置代理
虽然通常来说我们都是在 Linux 下进行开发工作,即使在 Windows 下通常也会用 cygwin 之类的 shell,但在某些特殊情况下可能会需要用到 Windows 自带的
Linux 下转换文本文件编码
Windows 下用 notepad++ 可以非常方便的使用不同的编码格式对文本文件进行查看以及转换编码格式,Linux 下需要结合 file 和 iconv 这两个工具才能完成
oom
How does vm.overcommit_memory work? https://serverfault.com/questions/606185/how-does-vm-overcommit-memory-work How to reproduce a condition which invokes the OOM-Killer ? https://access.redhat.com/solutions/47692 Virtual memory settings in Linux - The Problem with Overcommit http://engineering.pivotal.io/post/virtual_memory_settings_in_linux_-_the_problem_with_overcommit/
VirtualBox 命令行操作
在 linux 下 VirtualBox 的管理操作都是通过 VBoxManage 这个命令进行的,可以通过 -h 选项查看相关的操作,如: ~$ VBoxManage -h Oracle VM VirtualBox Command Line Management Interface Version 5.2.18 (C) 2005-2018 Oracle Corporation All rights reserved. Usage: VBoxManage