北肙

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

Tag: Linux

1. Necessary Packages sys-boot/grub sys-fs/dosfstools sys-block/parted GRUB_PLATFORMS variable for controlling target platform for grub FILE /etc/portage/make.conf Available options: efi-64, efi-32 pc coreboot emu ieee1275 loongson multiboot qemu, qemu-mips uboot xen, xen-32, xen-pvh GRUB_PLATFORMS="efi-64" USE for packages FILE /etc/portage/package.use/grub # Enabling lvm2 support if '/' is mounted as a LVM partition sys-boot/grub device-mapper Installing packages emerge […]

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 […]

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 […]