Click here for "Error Codes for Commercial Air Conditioners".

Fedora35 : Initialization

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

# grubby --update-kernel ALL --args selinux=0
# reboot

Confirmation after change
# getenforce
Disabled

2. System modernization & Services suspended due to security measures

2.1 System modernization

# dnf -y upgrade

2.2 Services suspended due to security measures

# systemctl stop atd.service
# systemctl disable atd.service
# systemctl stop kdump.service
# systemctl disable kdump.service
# systemctl stop lvm2-monitor.service
# systemctl disable lvm2-monitor.service
# systemctl stop mdmonitor.service
# systemctl disable mdmonitor.service
# systemctl stop smartd.service
# systemctl disable smartd.service
# systemctl stop dm-event.socket
# systemctl disable dm-event.socket

3.Synchronize server time with Japan Standard Time

① Change the configuration file as follows

# vi /etc/chrony.conf
# Line 2 : Change NTP server for time synchronization
# pool 2.fedora.pool.ntp.org iburst
pool ntp.nict.jp iburst

# Line27 : Add network that accepts time synchronization requests from NTP clients
# Specify your local network, etc.
allow 192.168.11.0/24

②Restart chrony and enable chrony after restart

# systemctl enable chronyd.service

Check chronyd status (behavior).
# chronyc sources
Display as follows
MS Name/IP address Stratum Poll Reach LastRx Last sample
===========================================
^+ ntp-a2.nict.go.jp 1 6 377 56 -15us[ -71us] +/- 5282us
^+ ntp-b3.nict.go.jp 1 6 377 54 -94us[ -94us] +/- 5357us
^* ntp-k1.nict.jp 1 6 377 54 -232us[ -288us] +/- 3333us
^+ ntp-b2.nict.go.jp 1 6 377 55 -98us[ -154us] +/- 5465us
If it is marked with *, it has been synchronized. (It takes about 10 minutes to synchronize after startup.)

タイトルとURLをコピーしました