北肙

当你不能够再拥有,唯一可以做的,就是令自己不要忘记。

Category: Linux

1. Netdata介绍 1.1 什么是Netdata Netdata是一款为系统管理员、DevOps工程师及开发者准备的系统性能指标、故障可视化监测工具。 支持大多数Linux发行版,包括Debian系、Redhat系等,以及容器平台(K8S,Docker)和FreeBSD。 1.2 官方吹嘘的优点 功能强大且可扩展 常态化1% CPU使用率,兆级内存及很少量的硬盘I/O,甚至能在IoT运行[^1]。 秒级采样 易对接现有的监控栈及其它时序数据库 更优优的故障排查 可视化异常探测 定制内容展示板块 集中处理多节点数据采样,方便用户排查集群、分布式节点问题 设计即安全 优秀的数据分发架构 数据边缘化存储 2.3 与其它监控解决方案的对比 Comparison with other monitoring solutions. [^1]: IoT: The Internet of Things. 2. NetData Agent安装 在线安装 curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh 离线安装 留点地方以便日后补充。 3. NetData数据存储配置 3.1 数据存储的必要性 反正就是很重要。 3.2 mongoDB安装及配置 3.2.1 MongoDB及C […]

1. What is CCACHE CCACHE helps avoid repeated recompilation for the same C and C++ object files by fetching result from the cache directory. 2. Packages for OS name dev-util/ccache Installation emerge -avt dev-util/ccache 3. Configuration for CCACHE FILE /etc/portage/env/ccache.conf; /etc/ccache.conf is fine, but not recommended. FEATURES="ccache" CCACHE_DIR="/var/cache/ccache" FILE /var/cache/ccache/ccache.conf # Maximum cache size to […]

Problem VFS: Cannot open root device "sda1" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0) Or Volume group "vgubuntu-studio" not found Cannot process volume group vgubuntu-studio Gave up waiting for root file system device. Root Cause SATA/SAS controller driver not […]

1. Installing Necessary Packages schroot squashfs-tools cdrtools syslinux dev-libs/libisoburn emerge -avt schroot squashfs-tools cdrtools libisoburn modprobe squashfs About squashfs: A compressed read-only file system for Linux. 2. Downloading Gentoo minimal liveCD https://www.gentoo.org 3. Mounting ISO as a file system We will mount Gentoo liveCD as directory: /mnt/gentoo, mount Gentoo liveCD squashfs as /mnt/squashfs, mount customize […]

The Kdump Procedure The normal kernel booted with option crashkernel=<size>M , reseving \<size> memory for the kdump kernel. These \<size> of memory is unavailable for the normal kernel during regular operation. The kernel panics. The kdump kernel is booted using kexec with the \<size> of memory been reserved. The normal kernel's memory is captured into […]