Configuring the Installation Environment
- Log in as the root user and install kernel development tools.
1# yum -y groupinstall "Development Tools" - Install other dependencies.
1# yum -y install audit-libs-devel binutils-devel elfutils-devel kabi-dw ncurses-devel newt-devel numactl-devel openssl-devel pciutils-devel perl perl-devel python2 python3-docutils xmlto xz-devel elfutils-libelf-devel libcap-devel libcap-ng-devel llvm-toolset libyaml libyaml-devel kernel-rpm-macros kernel-abi-whitelists java-devel python3-devel libnl3-devel
If libyaml-devel cannot be installed, download its RPM package and install it.
1# rpm -ivh https://repo.almalinux.org/almalinux/8/PowerTools/aarch64/os/Packages/libyaml-devel-0.1.7-5.el8.aarch64.rpm - Add mockbuild.
1# useradd -s /sbin/nologin mockbuild - Install the e2fsprogs package.
- Download the RPM package.
Download URL: https://build.whamcloud.com/job/e2fsprogs-master/arch=aarch64,distro=el8/
- Upload the RPM package to the server.
- Install the RPM packages.
1rpm -ivh libcom_err-1.46.2.wc3-0.el8.aarch64.rpm e2fsprogs-debuginfo-1.46.2.wc3-0.el8.aarch64.rpm libcom_err-debuginfo-1.46.2.wc3-0.el8.aarch64.rpm libcom_err-devel-1.46.2.wc3-0.el8.aarch64.rpm libss-1.46.2.wc3-0.el8.aarch64.rpm libss-debuginfo-1.46.2.wc3-0.el8.aarch64.rpm libss-devel-1.46.2.wc3-0.el8.aarch64.rpm e2fsprogs-libs-1.46.2.wc3-0.el8.aarch64.rpm e2fsprogs-1.46.2.wc3-0.el8.aarch64.rpm e2fsprogs-debugsource-1.46.2.wc3-0.el8.aarch64.rpm e2fsprogs-devel-1.46.2.wc3-0.el8.aarch64.rpm e2fsprogs-libs-debuginfo-1.46.2.wc3-0.el8.aarch64.rpm e2fsprogs-static-1.46.2.wc3-0.el8.aarch64.rpm
- Download the RPM package.
- Set the permissive mode.
- Modify the /etc/selinux/config file.
1# vi /etc/selinux/configChange SELINUX=enforcing to SELINUX=permissive.1 2 3 4 5 6 7 8 9 10 11
# Th----is file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=permissive # SELINUXTYPE= can take one of these three values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted
- Reboot the server.
1# reoot
- Modify the /etc/selinux/config file.
Parent topic: Installing the Lustre Server