### Example %setup Macro Output Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/packaging_and_distributing_software/advanced-topics This example shows the typical output when the `%setup` macro is executed during the RPM build process, indicating the start of the %prep phase and the commands being run. ```bash Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DhddsG ``` -------------------------------- ### Example %setup macro output Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/packaging_and_distributing_software/index This example shows the output of the %setup macro during the %prep phase, including unpacking the source tarball and setting up permissions. ```bash Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DhddsG cd '/builddir/build/BUILD' rm -rf 'cello-1.0' /usr/bin/gzip -dc '/builddir/build/SOURCES/cello-1.0.tar.gz' | /usr/bin/tar -xof - STATUS=$? if [ $STATUS -ne 0 ]; then exit $STATUS fi cd 'cello-1.0' /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ``` -------------------------------- ### Example of pcs cluster setup Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/deploying_rhel_8_on_amazon_web_services/console.redhat.com An example showing the output of `pcs cluster setup`, including certificate synchronization and service restarts on cluster nodes. ```bash [root@node01 clouduser]# pcs cluster setup new_cluster node01 node02 node03 [...] Synchronizing pcsd certificates on nodes node01, node02, node03... node02: Success node03: Success node01: Success Restarting pcsd on the nodes in order to reload the certificates... node02: Success node03: Success node01: Success ``` -------------------------------- ### Install perf tool Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/monitoring_and_managing_system_status_and_performance/getting-started-with-perf_monitoring-and-managing-system-status-and-performance Installs the `perf` user-space tool using `yum`. This is the primary command to get started with performance monitoring. ```bash # yum install perf ``` -------------------------------- ### Basic Kickstart Package Selection Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/kickstart-script-file-format-reference_rhel-installer Example of how to start the %packages section with common options. ```kickstart %packages --multilib --ignoremissing ``` -------------------------------- ### IPA Help Usage Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/managing_idm_users_groups_hosts_and_access_control_rules/introduction-to-the-ipa-command-line-utilities_managing-users-groups-hosts Displays information about basic help usage and common command examples. Use this to get started with the IPA help system. ```bash ipa help [TOPIC | commands | topics] ``` -------------------------------- ### Install and Start Daemon Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/using_selinux/writing-a-custom-selinux-policy_using-selinux Installs the compiled daemon and its systemd unit file, then starts and checks the status of the daemon. ```bash # cp mydaemon /usr/local/bin/** # cp mydaemon.service /usr/lib/systemd/system** # systemctl start mydaemon** # systemctl status mydaemon** ● mydaemon.service - Simple testing daemon Loaded: loaded (/usr/lib/systemd/system/mydaemon.service; disabled; vendor preset: disabled) Active: active (running) since Sat 2020-05-23 16:56:01 CEST; 19s ago Main PID: 4117 (mydaemon) Tasks: 1 Memory: 148.0K CGroup: /system.slice/mydaemon.service └─4117 /usr/local/bin/mydaemon May 23 16:56:01 localhost.localdomain systemd[1]: Started Simple testing daemon. ``` -------------------------------- ### Create cloud-init directory and navigate Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/composing_a_customized_rhel_system_image/preparing-and-deploying-kvm-guest-images-with-image-builder_composing-a-customized-rhel-system-image Create a directory for cloud-init configuration and change into it. ```bash $ mkdir cloudinitiso $ cd cloudinitiso ``` -------------------------------- ### Create Example Index Files Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_different_types_of_servers/setting-up-and-configuring-nginx_deploying-different-types-of-servers Creates simple index.html files in the document roots of 'example.com' and 'example.net' to verify virtual host configurations. ```bash # echo "Content for example.com" > /var/www/example.com/index.html # echo "Content for example.net" > /var/www/example.net/index.html ``` -------------------------------- ### Enabling the Podman API using systemd in root mode Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/building_running_and_managing_containers This section details the steps to enable and start the Podman API socket using systemd in root mode, including installing necessary packages and verifying the setup. ```APIDOC ## Enabling the Podman API using systemd in root mode ### Prerequisites * The `podman-remote` package is installed. ```bash # **yum install podman-remote** ``` ### Procedure 1. Start the service immediately: ```bash # **systemctl enable --now podman.socket** ``` 2. To enable the link to `var/lib/docker.sock` using the `docker-podman` package: ```bash # **yum install podman-docker** ``` ### Verification 1. Display system information of Podman: ```bash # **podman-remote info** ``` 2. Verify the link: ```bash # **ls -al /var/run/docker.sock** ``` ``` -------------------------------- ### Example Cluster Setup Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_rhel_8_on_amazon_web_services/configuring-a-red-hat-high-availability-cluster-on-aws_deploying-a-virtual-machine-on-aws An example of setting up a cluster named 'new_cluster' with three nodes: node01, node02, and node03. This includes synchronizing pcsd certificates and restarting the service. ```bash [root@node01 clouduser]# **pcs cluster setup new_cluster node01 node02 node03** [...] Synchronizing pcsd certificates on nodes node01, node02, node03... node02: Success node03: Success node01: Success Restarting pcsd on the nodes in order to reload the certificates... node02: Success node03: Success node01: Success ``` -------------------------------- ### Run Podman in a Container for Building Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/building_running_and_managing_containers/assembly_running-skopeo-buildah-and-podman-in-a-container Start an interactive Podman container with elevated privileges to build other containers. This setup allows for container image creation and management from within an isolated environment. Ensure the container-tools module is installed. ```bash # **podman run --privileged --name podman_container -it \** **registry.redhat.io/rhel8/podman /bin/bash** ``` -------------------------------- ### Create Example Virtual Host Files Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/deploying_different_types_of_servers/index Creates sample index.html files for different virtual hosts and a catch-all file. ```bash echo "Content for example.com" > /var/www/example.com/index.html echo "Content for example.net" > /var/www/example.net/index.html echo "Catch All content" > /usr/share/nginx/html/index.html ``` -------------------------------- ### OpenSCAP Add-on with SCAP Security Guide Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/kickstart-commands-and-options-reference_rhel-installer Example of using the %addon org_fedora_oscap command to apply security policies from the scap-security-guide package available on the installation media. This configuration uses the 'scap-security-guide' content type and specifies a profile. ```kickstart %addon org_fedora_oscap content-type = scap-security-guide profile = xccdf_org.ssgproject.content_profile_pci-dss %end ``` -------------------------------- ### Start partitioning tool Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/managing_storage_devices/getting-started-with-swap_managing-storage-devices Begin the process of creating a standard swap partition by launching a partitioning tool like `fdisk` on the target disk device. Replace `/dev/sda` with your actual disk device. ```bash $ **fdisk /dev/sda** ``` -------------------------------- ### Example: Get Device and Inode for /etc/crontab Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/monitoring_and_managing_system_status_and_performance/assembly_monitoring-disk-and-i-o-activity-with-systemtap_assembly_profiling-kernel-activity-with-systemtap This example demonstrates how to use 'stat' to get the device and inode numbers for a specific file, '/etc/crontab'. ```bash # stat -c '%D %i' /etc/crontab ``` -------------------------------- ### Install from Hard Drive Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/kickstart-commands-and-options-reference_rhel-installer Use the `harddrive` command to install from a local drive containing a Red Hat installation tree or ISO image. The drive must be formatted with a compatible file system. ```kickstart harddrive --partition=hdb2 --dir=/tmp/install-tree ``` -------------------------------- ### Example of Using Hints to Prefer Packages Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/packaging_and_distributing_software/index Demonstrates how to use 'Suggests' to guide the dependency resolver when multiple packages provide the same dependency. This helps prefer one provider over another. ```text Package A: Requires: mysql Package mariadb: Provides: mysql Package community-mysql: Provides: mysql ``` ```text Suggests: mariadb to Package A. ``` -------------------------------- ### Control Initial Setup Application Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/kickstart-commands-and-options-reference_rhel-installer Use the firstboot command to control whether the Initial Setup application starts the first time the system boots. Options include enabling, disabling, or reconfiguring. ```kickstart firstboot --enable ``` ```kickstart firstboot --enabled ``` ```kickstart firstboot --disable ``` ```kickstart firstboot --disabled ``` ```kickstart firstboot --reconfig ``` -------------------------------- ### NFSv3 Export Example with Default Client Access Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_different_types_of_servers/deploying-an-nfs-server_deploying-different-types-of-servers Example of an /etc/exports entry where a specific client gets read-only access, and all other clients get read-write access. ```shell /projects client.example.com (rw) ``` -------------------------------- ### Set Up OStree-Based Installation Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/kickstart-commands-and-options-reference_rhel-installer Use `ostreesetup` to configure OStree-based installations. Specify the OS name, repository URL, and the branch (ref) to install from. GPG verification can be disabled with `--nogpg`. ```kickstart ostreesetup --osname=my-os --url=http://my.repo.com/ostree/repo --ref=mybranch ``` -------------------------------- ### Example of booting RHEL installation from prepared DASD Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/starting-kickstart-installations_rhel-installer An example command to boot the RHEL installation from a prepared DASD device, specifying the device number and boot entry. ```bash cp ipl eb1c loadparm 0 ``` -------------------------------- ### Install pykickstart package Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/creating-kickstart-files_rhel-installer Install the pykickstart package to enable Kickstart file management and creation. ```bash sudo dnf install -y pykickstart ``` -------------------------------- ### Start a compose for an installer image Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/composing_a_customized_rhel_system_image/creating-a-boot-iso-installer-image-with-image-builder_composing-a-customized-rhel-system-image Starts the image composition process for a RHEL installer ISO. Replace _BLUEPRINT-NAME_ with your blueprint's name and _image-installer_ with the desired image type. ```bash # composer-cli compose start _BLUEPRINT-NAME_ _image-installer_ ``` -------------------------------- ### Specify Kickstart file for automatic installation Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/preparing-a-rhel-installation-on-64-bit-ibm-z_rhel-installer Use `inst.ks` to reference a Kickstart file for automated installations. Replace _URL_ with the full path to your Kickstart file. ```bash inst.ks=_URL_ ``` -------------------------------- ### RubyGems Spec File Example Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/packaging_and_distributing_software/advanced-topics This example demonstrates the structure and common commands used in a RubyGems spec file for building and installing gems. It includes sections for preparation, building, and installation. ```shell %prep %setup -q -n %{gem_name}-%{version} # Modify the gemspec if necessary # Also apply patches to code if necessary %patch0 -p1 %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ # If there were programs installed: mkdir -p %{buildroot}%{_bindir} cp -a ./%{_bindir}/* %{buildroot}%{_bindir} ``` -------------------------------- ### Example of building source RPMs Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/packaging_and_distributing_software/packaging-software_packaging-and-distributing-software Demonstrates building source RPMs for multiple packages using their respective spec files. ```bash $ **rpmbuild -bs bello.spec** Wrote: /home/admiller/rpmbuild/SRPMS/bello-0.1-1.el8.src.rpm $ **rpmbuild -bs python-pello.spec** Wrote: /home/admiller/rpmbuild/SRPMS/python-pello-1.0.2-1.el8.src.rpm $ **rpmbuild -bs cello.spec** Wrote: /home/admiller/rpmbuild/SRPMS/cello-1.0-1.el8.src.rpm ``` -------------------------------- ### Start and Enable HTTP Server Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/preparing-to-install-from-the-network-using-http_rhel-installer Enables the HTTP server to start automatically on boot and starts it immediately for serving installation files. ```bash # systemctl enable --now httpd ``` -------------------------------- ### Perform Media Check During Installation Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/kickstart-commands-and-options-reference_rhel-installer Use the `mediacheck` command to force the installer to perform a media check before starting the installation. This command requires an attended installation and should be used only once. ```kickstart mediacheck ``` -------------------------------- ### Specify Default Installation Mode with install Kickstart Command (Deprecated) Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/automatically_installing_rhel/index The `install` command, now deprecated, was used to specify the default installation mode. It must be followed by an installation method on a separate line. ```bash install cdrom ``` -------------------------------- ### Specify Installation Source with inst.repo= Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/interactively_installing_rhel_from_installation_media/index Use the `inst.repo=` boot option to specify the installation source. The target must be an installable tree, a DVD, or an ISO image. ```bash inst.repo=cdrom ``` ```bash inst.repo=hd:__:/__ ``` ```bash inst.repo=nfs:[_options_:]__:/__ ``` ```bash inst.repo=http://__/__ ``` ```bash inst.repo=https://__/__ ``` ```bash inst.repo=ftp://__:__@__/__ ``` ```bash inst.repo=hmc ``` -------------------------------- ### Install debuginfo packages for GDB thread example Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/considerations_in_adopting_rhel_8/compilers-and-development-tools_considerations-in-adopting-rhel-8 Before running the GDB thread example, install the necessary debuginfo packages. Use `debuginfo-install` on RHEL 7 and `dnf debuginfo-install` on RHEL 8. ```bash # debuginfo-install coreutils ``` ```bash # dnf debuginfo-install coreutils ``` -------------------------------- ### Install pykickstart Package Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/creating-kickstart-files_rhel-installer Install the `pykickstart` package, which provides tools for working with Kickstart files, including validation. ```bash # yum install pykickstart ``` -------------------------------- ### Install Stratis Packages Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/managing_file_systems/index Installs the necessary packages for the Stratis service and command-line utilities. Ensure the stratisd service is enabled and started after installation. ```bash # **dnf install stratisd stratis-cli** ``` ```bash # **systemctl enable --now stratisd** ``` -------------------------------- ### Create VM from Network URL with Kickstart Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_virtualization/getting-started-with-virtualization-in-rhel-8_configuring-and-managing-virtualization This command creates a VM that installs an operating system from a network URL and automates the configuration using a Kickstart file. Ensure the URL points to a valid OS installation tree. ```bash # virt-install \ --graphics vnc \ --name demo-guest4 --memory 2048 --vcpus 2 \ --disk size=160,format=qcow2 --osinfo rhel8.0 \ --location http://example.com/OS-install --initrd-inject=/home/username/ks.cfg --extra-args 'ksfile=/home/username/ks.cfg' ``` -------------------------------- ### Start PostgreSQL Service Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_different_types_of_servers/using-databases Starts the PostgreSQL database service. This command is used after installation and initialization. ```bash # **systemctl start postgresql.service** ``` -------------------------------- ### Install from CD-ROM using Kickstart Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/kickstart-commands-and-options-reference_rhel-installer The 'cdrom' command installs from the first optical drive. It can be used on its own and implies the 'install' command. This command has no options. ```bash cdrom ``` -------------------------------- ### Install and enable WALinuxAgent Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_rhel_8_on_microsoft_azure/configuring-rhel-high-availability-on-azure_cloud-content-azure Install the WALinuxAgent package and enable the waagent service to start automatically. ```bash # **yum install WALinuxAgent -y** # **systemctl enable waagent** ``` -------------------------------- ### Install a Specific Kernel Version Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/managing_monitoring_and_updating_the_kernel/assembly_the-linux-kernel_managing-monitoring-and-updating-the-kernel Install a particular version of the kernel package using the `yum install` command, specifying the exact version number. For example, to install version 5.14.0. ```bash # **yum install kernel-5.14.0** ``` -------------------------------- ### Begin and End Package Selection Section Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/kickstart-script-file-format-reference_rhel-installer Use the %packages command to start a section for defining software packages to be installed. This section must be terminated with the %end command. ```kickstart %packages ... %end ``` -------------------------------- ### Install package inside container Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/building_running_and_managing_containers/assembly_working-with-containers_building-running-and-managing-containers Use `yum install` within an active container session to install new packages. This example installs the `procps-ng` package, which provides system utilities. ```bash [root@6ccffd0f6421 /]# **yum install procps-ng** ``` -------------------------------- ### Enable and start nm-cloud-setup service Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/automatically-configuring-network-interfaces-in-public-clouds-using-nm-cloud-setup_configuring-and-managing-networking Enable the nm-cloud-setup service to start automatically on boot and start it immediately. This ensures network interfaces are configured upon system startup. ```bash # systemctl enable --now nm-cloud-setup.service ``` -------------------------------- ### Enable and Start MariaDB Service Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_different_types_of_servers/using-databases Enables the MariaDB service to start on boot and starts it immediately. This command is used after installing MariaDB server packages. ```bash # systemctl enable --now mariadb.service ``` -------------------------------- ### Configure Post-installation for IdM Client Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/installing_identity_management/installing-an-ipa-client-with-kickstart_installing-identity-management The %post section of the Kickstart file is crucial for configuring the IdM client after the base system is installed. It includes generating SSH keys and running the 'ipa-client-install' utility with necessary parameters. ```bash %post --log=/root/ks-post.log # Generate SSH keys; ipa-client-install uploads them to the IdM server by default /usr/libexec/openssh/sshd-keygen rsa # Run the client install script /usr/sbin/ipa-client-install --hostname=_client.example.com_ --domain=_EXAMPLE.COM_ --enable-dns-updates --mkhomedir -w _secret_ --realm=_EXAMPLE.COM_ --server=_server.example.com_ ``` -------------------------------- ### Example of listing module profile packages with YUM Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/installing_managing_and_removing_user-space_components/index This example displays the packages installed by each profile of the 'nodejs' module. It helps to differentiate between profiles by showing the specific set of packages, including dependencies, that each profile installs. ```bash $ **yum module info --profile nodejs** ... Name : nodejs:18:8090020240301110609:a75119d5:x86_64 common : nodejs : npm development : nodejs : nodejs-devel : npm minimal : nodejs s2i : nodejs : nodejs-nodemon : npm ... ``` -------------------------------- ### Start NGINX Service Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_different_types_of_servers/setting-up-and-configuring-nginx_deploying-different-types-of-servers Starts the NGINX service. Ensure NGINX is installed and configured before running this command. ```bash # systemctl start nginx ``` -------------------------------- ### Run ipa-server-install with Certificates Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/installing_identity_management/installing-an-ipa-server-without-a-ca_installing-identity-management Execute the `ipa-server-install` utility to begin the interactive installation, providing necessary certificate files and their corresponding pins. ```bash [root@server ~]# **ipa-server-install \** **--http-cert-file _/tmp/server.crt_ \** **--http-cert-file _/tmp/server.key_ \** **--http-pin _secret_ \** **--dirsrv-cert-file _/tmp/server.crt_ \** **--dirsrv-cert-file _/tmp/server.key_ \** **--dirsrv-pin _secret_ \** **--ca-cert-file _ca.crt_** ``` -------------------------------- ### Start PostgreSQL Service Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_different_types_of_servers/using-databases Starts the PostgreSQL service. This command is used after initial setup or after restoring a backup. ```bash # systemctl start postgresql.service ``` -------------------------------- ### Log %pre-install Script Output Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/automatically_installing_rhel/kickstart-script-file-format-reference_rhel-installer Use the --log option to direct the output of the %pre-install script to a specified log file. This helps in debugging by capturing script execution details. ```kickstart %pre-install --log=/mnt/sysroot/root/ks-pre.log ``` -------------------------------- ### Example of isolating to a target Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/managing-systemd_configuring-basic-system-settings This example shows how to isolate the system to the 'multi-user.target', starting its services and stopping others. ```bash # **systemctl isolate multi-user.target** ``` -------------------------------- ### Basic Client Installation with One-Time Password Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/installing_identity_management/index Run this command on the client system to initiate interactive installation. Use the `--password` option with single quotes for the one-time password and `--mkhomedir` to create user home directories. ```bash # ipa-client-install --mkhomedir --password=_password_ ``` -------------------------------- ### Specify Installation Source with inst.repo= Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/interactively_installing_rhel_from_installation_media/custom-boot-options_rhel-installer Use the `inst.repo=` boot option to specify the primary installation source. This can be a CD/DVD drive, a mountable device, an NFS server, an HTTP/HTTPS server, an FTP server, or HMC. ```bash inst.repo=cdrom: ``` ```bash inst.repo=hd:: ``` ```bash inst.repo=nfs:[options:]: ``` ```bash inst.repo=http:/// ``` ```bash inst.repo=https:/// ``` ```bash inst.repo=ftp://:@/ ``` ```bash inst.repo=hmc ``` -------------------------------- ### Install PHP 8.0 Module Stream Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings Example command to install the PHP 8.0 module stream. This installs the default common profile, including php-fpm. ```bash # **yum module install php:8.0** ``` -------------------------------- ### Enable and start nm-cloud-setup service and timer Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html-single/configuring_and_managing_networking Enables the nm-cloud-setup service and timer to start automatically on boot and starts them immediately. This ensures network configuration is applied automatically. ```bash # **systemctl enable --now nm-cloud-setup.service** # **systemctl enable --now nm-cloud-setup.timer** ``` -------------------------------- ### Reboot and start a new scan Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/interactively_installing_rhel_over_the_network/customizing-the-system-in-the-installer_rhel-installer After installation, reboot the system and start a new scan to verify the current status. ```bash reboot systemctl reboot ```