Fedora41 ; OS Install , Various settings

Fedora41

Download( October 29, 2024 Release)

Fedora41 can be downloaded from the following mirror sites
https://ftp.riken.jp/Linux/fedora/releases/41/Server/x86_64/iso/

The file to download is the “Fedora-Server-dvd-x86_64-41-1.4.iso” image
Create an installation disk from the downloaded “Fedora-Server-dvd-x86_64-41-1.14.iso” image on a USB disk and install it on the actual device.

INSTALL

Change to boot from USB disk on the BIOS change screen of the PC and boot the PC.
Select “Install Fedoara 41” at the top and press Enter
The subsequent installation procedure is the same as for Fedora 40, so please refer to the following page.

Various 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 invalidated in many cases.
You can disable it by doing the following

system reboot

Confirmation after change

2. System modernization & Services suspended due to security measures

2.1 System modernization

2.2 Services suspended due to security measures

3.Network Settings

3.1 Set host name
To set the hostname to "Lepard

Re-login after the change and the changed hostname will be reflected in the prompt

3.2 Change network settings to a static IP address
(Replace the network interface name [ens160] with the name of your environment because it varies depending on your environment.)
Network device confirmation

Change the IP address of network interface [ens160] to "192.168.11.83"

If you get the error [Warning: nmcli (1.44.2) and NetworkManager (1.44.0) versions don't match. Restarting NetworkManager is advised.] Restart the NetworkManager service

Confirmation of settings

3.3 Disable IPv6 if not needed

4.Install NTP server and set up time synchronization service

4.1 Chrony Install

4.2 Editing Configuration Files

4.3 Restart chrony and enable chrony after restart

4.4 NTP service must be opened if Firewalld is enabled
Note that NTP uses [123/UDP].
Firewalld is explained in detail in the next section, so here we will just release the NTP port with the following command.

4.5 Check chronyd status (behavior).

If it is marked with *, it has been synchronized.

5.Set server time zone

Set time zone to Japan (Tokyo)

Setup Confirmation

6.Install and configure vim editor

①Installing the vim package

②Change the editor used by default

③Change vim settings

Copied title and URL