Fedora45(Released November 3, 2026 )
Fedora45 : Download
Please download Fedora 45 from the following mirror sites.
https://ftp.riken.jp/Linux/fedora/releases/45/Server/x86_64/iso/
The file to download is the"Fedora-Server-dvd-x86_64-45-1.4.iso"image.
Create an installation disk from the downloaded "Fedora-Server-dvd-x86_64-45-1.4.iso"image onto a USB disk, then install it on the physical machine.
Fedora45 : Install
In the PC's BIOS setup screen, configure the system to boot from a USB drive, then start the PC.
The installation procedure from this point on is the same as for Fedora 43, so I will omit the details. Please refer to the page below.
※ The [Software Selection] screen has been updated
Initial Settings
1. Disabling SELinux
First, disable SELinux. SELinux is a feature that enhances Linux auditing and security, but when enabled, it imposes significant restrictions on service operation and configuration. For this reason, it is commonly disabled in practice. If you're building a server while following a website and it doesn't function as expected, SELinux being enabled is often the cause. Therefore, be sure to disable it after installation.
# grubby --update-kernel ALL --args selinux=0
System Restart
# reboot
System Restart
# getenforce
Disabled
2. Services suspended for system updates and security measures
2.1 System Upgrade
# dnf -y upgrade
# cat /etc/fedora-release
Fedora release 45 (Forty Five)
2.2 Services suspended for security reasons
# systemctl stop atd.service
# systemctl disable atd.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.Network Settings
3.1 Set the hostname
When setting the hostname to "Lepard"
# hostnamectl set-hostname Lepard
After logging in again following the change, the modified hostname will be reflected in the prompt.
# cat /etc/hostname
Lepard
3.2 Change the network settings to a static IP address
(The name of the network interface [ens160] may vary depending on your environment; replace it with the name for your specific setup.)
Network Device Verification
# nmcli device
DEVICE TYPE STATE CONNECTION
ens160 ethernet connected Wired connection 1
lo loopback connected (externally) lo
If you configure a static IP address in this state, you will encounter a connection error.
Since [DEVICE] and [CONNECTION] do not match, use the following command to make them match
# nmcli connection modify "Wired connection 1" connection.id ens160
Confirm
# nmcli connection
NAME UUID TYPE DEVICE
ens160 3110a719-94fd-370c-bb03-34f3dcd4ba27 ethernet ens160
lo 42e1cd98-228a-41b2-8582-b4107527b54e loopback lo
Change the IP address of the network interface named [ens160] to "192.168.11.83".
* Static IPv4 Address Configuration
# nmcli connection modify ens160 ipv4.addresses 192.168.11.83/24
* Gateway Settings
# nmcli connection modify ens160 ipv4.gateway 192.168.11.1
* DNS settings to reference
# nmcli connection modify ens160 ipv4.dns 192.168.11.1
* DNS Search Base Settings (Your Domain Name)
# nmcli connection modify ens160 ipv4.dns-search <Custom domain name>
* Set to static IP address assignment
# nmcli connection modify ens160 ipv4.method manual
* Restart the interface to apply the settings.
# nmcli connection down ens160; nmcli connection up ens160
Configuration Verification
# nmcli device show ens160
GENERAL.DEVICE: ens160
GENERAL.TYPE: ethernet
GENERAL.HWADDR: 00:0C:29:6C:33:CC
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: ens160
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 192.168.11.83/24
IP4.GATEWAY: 192.168.11.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.168.11.1, mt = 100
IP4.ROUTE[2]: dst = 192.168.11.0/24, nh = 0.0.0.0, mt = 100
IP4.DNS[1]: 192.168.11.1
IP6.GATEWAY: --
3.3 Disable IPv6 if not required.
# grubby --update-kernel ALL --args ipv6.disable=1
# reboot
4.Implement an NTP server and configure the time synchronization service
4.1 Install Chrony
# dnf -y install chrony
4.2 Editing the configuration file
# vi /etc/chrony.conf
# Line 8: Change the NTP server for time synchronization
# pool 2.fedora.pool.ntp.org iburst
pool ntp.nict.jp iburst
# Around line 32: Add the network accepting time synchronization requests from NTP clients
# Specify your own local network, etc.
allow 192.168.11.0/24
4.3 Restart chrony and keep chrony enabled after restart.
# systemctl enable chronyd.service
# systemctl restart chronyd.service
4.4 If Firewalld is enabled, you must allow the NTP service.
Note that NTP uses [123/UDP].
We will cover Firewalld in detail in the next section, so here we will only open the NTP port using the following command.
# firewall-cmd --add-service=ntp --permanent
success
# firewall-cmd --reload
success
4.5 Verifying chronyd Operation
# chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^* ntp-b3.nict.go.jp 1 6 37 12 +6772ns[-1213us] +/- 7260us
^- ntp-b2.nict.go.jp 1 6 37 11 -610us[ -610us] +/- 8286us
^- ntp-a3.nict.go.jp 1 6 37 11 +202us[ +202us] +/- 7188us
^- ntp-a2.nict.go.jp 1 6 37 11 -10us[ -10us] +/- 7697us
If a checkmark(*) appears, synchronization is complete.
5.Set the server's time zone
Set the time zone to Japan (Tokyo)
# timedatectl set-timezone Asia/Tokyo
Configuration Verification
# timedatectl
Local time: Sat 2026-11-07 10:44:15 JST
Universal time: Sat 2026-11-07 01:44:15 UTC
RTC time: Sat 2026-11-07 01:44:14
Time zone: Asia/Tokyo (JST, +0900)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
6.Vim Configuration
①Reflection of Vim
# vi ~/.bashrc
# Add alias to the last line
alias vi='vim'
# source ~/.bashrc
②Vim configuration as a user-specific environment
# vi ~/.vimrc
" Use vim's own extensions (not compatible with vi)
set nocompatible
" Use vim's own extensions (not compatible with vi)
set encoding=utf-8
" Specify file encoding
set fileencodings=utf-8,iso-2022-jp,sjis,euc-jp
" Specify the line feed code to be automatically recognized
set fileformats=unix,dos
" Obtain a backup
set backup
" Specify the directory from which to obtain backups
set backupdir=~/backup
" Number of generations to keep search history
set history=50
" Do not distinguish between upper and lower case letters when searching
set ignorecase
"Mixing capital letters in search terms makes the search case sensitive
set smartcase
" Highlight words matching your search term
set hlsearch
" Use incremental search
set incsearch
" Display line numbers
set number
" Visualize line breaks ( $ ) and tabs ( ^I )
set list
" Highlight corresponding parentheses when entering parentheses
set showmatch
"No newlines at the end of files
set binary noeol
" Enable automatic indentation
set autoindent
" Color-coded display by syntax
syntax on
"change color of comment text in case of [ syntax on]
highlight Comment ctermfg=LightCyan
"Wrap lines by window width
set wrap
