Fedora39 ; Various settings after installation

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 ""

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. (It takes about 10 minutes to synchronize after startup.)

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