業務用エアコン関連の技術情報、エラーコード、環境問題対策に関する別サイト「エアコンの安全な修理・適切なフロン回収」

Rocky Linux10.0 : Various settings

1. Disabling SELinux

First, disable selinux. selinux is a feature that improves auditing and security in Linux, but when enabled, it places considerable restrictions on the behavior of services and on what can be configured. Therefore, it is basically disabled in many cases.
SELinux operating modes
Enforcing : SELinux functionality is enabled and access control is enabled
Permissive : SElinux will warn, but no access restrictions will be placed
disabled : Both SElinux function and access control are disabled

Current SELinux status

Switching to [permissive] mode

Switching to [enforcing] mode

To completely disable SELinux, a reboot is required by adding selinux=0 to the kernel command line as follows

※ To return SELinux to active, do the following (reboot after changes)

2. System Modernization

Update packages as soon as possible after OS installation.

The kernel can be excluded from updates by running dnf -y update with "--exclude=kernel*" after it.

3. Services to be stopped due to security measures

4. Adding Repositories

①Add EPEL repository

[Add] priority=10 ← Specify priority in the range of 1~99

➁ Added Remi's RPM repository

[Add] priority=10 ← Specify priority in the range of 1~99

5. Network Settings(Command Line Setup)

Check network device name

The network device name can be found as "enp3s0f0"

Host Name Change

Change the host name to Lepard to try it out

Static IPv4 address configuration
The name of the network interface is "enp3s0f0" from 5.1
Change the static IPv4 address to "192.168.11.83".
Change by "nmcli" command

Change by "nmcli" command

6. Network Settings(Set by GUI)

Change the fixed IPv4 address to "192.168.11.83" as above.

Click <OK>

Click <Edit...>.

Fill in the following fields

Use the [Tab] key to move to the bottom column and click <OK>.


Host Name Change
Change the hostname to Lepard
Return to the first screen of [NetworkManager TUI], select [Set system hostname], and click <OK>.

Enter [Hostname] and click <OK>

7. Vim Configuration

Vim Install

Apply and reflect Vim

Configure Vim as a user-specific environment

Copied title and URL