Configuring the Linux operating system for AE Services Software-Only installation on on-premise

Last Updated : Apr 24, 2024 |
Prolog information
Use this procedure to configure the Linux operating system for software-only installation on on-premise.
Before you begin
  • Log in to Linux using the root credentials.
  • Back up the following files and folders (if present), before installing AE Services:
    • /etc/openldap
    • /etc/sssd
    • /etc/ssh
    • /etc/pam.d
    • /etc/ldap.conf
    • /etc/nslcd.conf
    • /etc/resolv.conf
    • /etc/hosts
  1. In the /etc/sysconfig/network-scripts/ifcfg-ensXXX or /etc/sysconfig/network-scripts/ifcfg-eth0, set the ONBOOT file attribute to Yes.
  2. If the network interface is not currently set to eth0, use GRUB Changes to rename network interface to eth0.
    1. Type vi /etc/default/grub.
    2. Look for the line GRUB_CMDLINE_LINUX and add the following:
      ADDITIONAL INFORMATION: net.ifnames=0 biosdevname=0 (with example) (GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet net.ifnames=0 biosdevname=0")
    3. Click Save.
    4. Type grub2-mkconfig -o /boot/grub2/grub.cfg.
    5. If you have not specified names for the interface files during the installation, rename /etc/sysconfig/network-scripts/ifcfg-* to /etc/sysconfig/network-scripts/ifcfg-eth0 using the below command:
      ADDITIONAL INFORMATION: mv /etc/sysconfig/network-scripts/ifcfg-ens  /etc/sysconfig/network-scripts/ifcfg-eth0
      ADDITIONAL INFORMATION:
      • Open /etc/sysconfig/network-scripts/ifcfg-eth0.
      • Update DEVICE and NAME value from esn* to eth0.
  3. Disable the firewall by entering the command:
    ADDITIONAL INFORMATION: systemctl disable firewalld
    Warning:
    This is a slow process and affects system performance when logging is enabled.
  4. Disable journaling for systemd as follows:
    ADDITIONAL INFORMATION: systemctl disable systemd-journald.service
    systemctl disable systemd-journald.socket
    STEP RESULT:
    Make sure you see the line SELINUX=disabled in the /etc/selinux/config file.
  5. Do the following to create entries in the /etc/hosts file and edit the /etc/hosts command:
    1. Make sure IPv4 and IPv6 loopback entries are added in the /etc/hosts file. The loopback entries must be in the following formats:
      ADDITIONAL INFORMATION:
      • 127.0.0.1 localhost.localdomain localhost
      • ::1 localhost6.localdomain6 localhost6
      Caution:
      If you need to use the IPv6 architecture, it must be dual stack (IPv6 and IPv4).
      Only IPv6 is not supported.
    2. Edit /etc/hosts and add an entry for your server. For example: ipAddress fqdn hostname.
  6. In /etc/resolv.conf edit nameserver. If nameserver is not present, add it.
  7. Run hostname <hostname>, where <hostname> is the host name entry you added.
  8. Run shutdown –r now