GPFS集群配置 1. 安装配置Net-SNMP 1.1 用yum命令安装软件包 yum install -y net-snmp 1.2 添加GPFS需要的共享库链接 libnetsnmpagent.so -- from Net-SNMP libnetsnmphelpers.so -- from Net-SNMP libnetsnmpmibs.so -- from Net-SNMP libnetsnmp.so -- from Net-SNMP libwrap.so -- from TCP Wrappers libcrypto.so -- from OpenSSL 这些文件通常在目录/lib64或者/usr/lib64或者/usr/local/lib64中,以libnetsnmpmibs.so为例说明: cd /usr/lib64 ln -s libnetsnmpmibs.so.5.1.2 libnetsnmpmibs.so # the version number could be different depends on your own environment […]
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 […]
1. Install Tools for Generating Initramfs emerge -avt genkernel # both genkernel and dracut are fine, # 'darcut' is more recommended. emerge -avt dracut For genkernel FILE /etc/default/grub Adding dolvm as a kernel boot parameter GRUB_CMDLINE_LINUX="dolvm" For dracut FILE /etc/default/grub Adding LVM support to the kernel boot parameters GRUB_CMDLINE_LINUX="rd.lvm.lv=vg00/lv_root" 2. Create LV and Migrate Data # […]