# PXE for UEFI 为使用 UEFI 的 AMD64 和 Intel 64 客户端配置 PXE 服务器 安装 tftp 软件包。请作为 root 运行以下命令完成此步骤: ~]# yum install tftp-server 在 /etc/xinet.d/tftp 配置文件中,将 disabled 参数从 yes 改为 no。 ~]# vim /etc/xinetd.d/tftp# default: off# description: The tftp server serves files using the trivial file transfer \#...

# Adding a Storage Device or Path # Add New Disk for i in /sys/class/scsi_host/*; do echo "- - -" > ${i}/scan; done# Expand Disk for i in /sys/class/scsi_device/*; do echo 1 > ${i}/device/rescan; done# EMC PowerPath 确保存储端已配置好 LUN 并映射给 Linux 主机,扫描...

# How to Shrink LVM XFS root partition RedHat 7.8 Reboot the system in Rescue Mode by booting Installation Media Select Rescue a Oracle Linux system. Select option 3 - Skip to shell. Preparing a backup by xfs_dump ~]# lvs --segments -o +devices LV VG Attr #Str Type SSize Devices data_lv...

# Changing and Resetting the Root Password RHEL 7 Setting up the root password is a mandatory part of the Red Hat Enterprise Linux 7 installation. If you forget or lose the root password it is possible to reset it, however users who are members of the wheel group can change the root password as...

# About HugePages # 简介 HugePages 是 Linux 内核的一个特性,它允许更大的页面管理内存,以替代 4KB 的页面大小。 操作系统把逻辑地址映射成物理地址时,需要把映射关系也存储到一块内存中,这部分内容就是页表(PageTables)。计算机内存是通过表映射(页表)的方式进行内存寻址。CPU 拥有内置的内存管理单元,包含这些页面的列表,每个页面通过页表条目引用。当内存越来越大的时候, CPU 需要管理这些内存页的成本也就越高,这样会对操作系统的性能产生影响。 在 64 位机器上,目前系统默认内存以 4KB...

# Creating Custom Unit Files Prepare the executable file with the custom service. This can be a custom-created script, or an executable delivered by a software provider. If required, prepare a PID file to hold a constant PID for the main process of the custom service. It is also possible to include...

# Creating a second instance of the sshd service System Administrators often need to configure and run multiple instances of a service. This is done by creating copies of the original service configuration files and modifying certain parameters to avoid conflicts with the primary instance of the...

# Introduction to grub 2 GRUB 2 Destination ​ BIOS-based ​ /boot/grub2/grub.cfg ​ UEFI ​ /boot/efi/EFI/redhat/grub.cfg Menu Entries in grub.cfg Examplemenuentry 'Red Hat Enterprise Linux Server' --class red --class gnu-linux --class gnu --class os$menuentry_id_option...

# Relax-and-Recover (ReaR) RHEL 7.9 (Maipo) # Setting up NFS server ・ Configuring NFS Server on Linux # Installing ReaR ~]# yum install rear nfs-utils・ Configuring Yum Repositories # Configuring ReaR ReaR is configured in the /etc/rear/local.conf file. ~]# cat >> /etc/rear/local.conf...