Click here for "Safe Air Conditioner Repair and Proper Freon Recovery".(Japanese Version)

AlmaLinux 8.6 : Initial Settings

1. SELinux Disable

First, disable selinux. selinux is a feature that improves auditing and security in Linux, but when enabled, it can limit the behavior of services and the configuration considerably.
Therefore, it is basically disabled in many cases.
To disable SELinux, a reboot is required by adding selinux=0 to the kernel command line as follows

2. System Modernization

Package updates are performed as soon as possible immediately after OS installation.
However, when a dnf update is performed, a kernel update is also performed at the same time.
A kernel update may require rebooting the system or stopping services, or worse, a kernel panic may occur and the system may not boot. It is wiser to exclude the kernel from the update.

The kernel can be excluded from updates.

3. Services to be stopped due to security measures

4. Add Repositories

4.1 Add EPEL repository

4.2 Add Remi's RPM repository

5. Network Settings

5.1 Check network device name

The network device name can be found as "ens160"

5.2 Host Name Change

Change the host name to "Alma"

5.3 Static IP address setting

The name of the network interface is "ens160" from 5.1
Change the static IP address to "" using one of the following methods
①Rewrite /etc/sysconfig/network-scripts/ifcfg-ens160 to change
To reflect the settings
②Change with "nmcli" command

5. Vim Extension Installation

①Extension installation

②Apply and Reflect
③User-specific environment settings

Copied title and URL