6. Copy Alma Linux Distribution Data
Download ISO
The Alma Linux ISO image that we will be using can be downloaded from
https://repo.almalinux.org/almalinux/10/isos/x86_64_v2/AlmaLinux-10.1-x86_64_v2-dvd.iso. But to make it faster we have created a local mirror. You can download it withwgetto the master node.[root@master ~]# dnf install wget [root@master ~]# wget http://172.16.6.5/AlmaLinux-10.1-x86_64_v2-dvd.iso
Mount ISO
We need to extract the contents of that ISO image to a folder. Mount the ISO as loopback device into a folder, e.g.
/mnt/iso.# mount ISO image [root@master ~]# mkdir -p /mnt/iso [root@master ~]# mount AlmaLinux-10.1-x86_64_v2-dvd.iso /mnt/iso
Copy contents to folder
Copy the contents of your mounted directory to a folder hosted by HTTP server, such as
/var/www/html/AlmaLinux-10.1-x86_64_v2.[root@master ~]# cp -r /mnt/iso/ /var/www/html/AlmaLinux-10.1-x86_64_v2
Copy Alma Linux installer kernel and initrd file for PXE boot
The ISO includes a kernel and initrd file which can be used for PXE booting via network. Copy these files into an
alma10folder in the TFTP root directory/var/lib/tftpboot/.[root@master ~]# mkdir -p /var/lib/tftpboot/alma10/ [root@master ~]# cp /mnt/iso/images/pxeboot/vmlinuz /var/lib/tftpboot/alma10/ [root@master ~]# cp /mnt/iso/images/pxeboot/initrd.img /var/lib/tftpboot/alma10/
Unmount ISO
Finally unmount the ISO image.
[root@master ~]# umount /mnt/iso