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

Ubuntu Server25.10 : OS Install , Initial settings

Ubuntu Server 25.10 Download & Install

1.Download the installation image

Ubuntu 25.10 (Questing Quokka) was released on October 9, 2025.
The Ubuntu 25.10 (Questing Quokka) installation image (ubuntu-25.10-live-server-amd64.iso) can be downloaded from the following site.

Ubuntu 25.10 (Questing Quokka)
CD images for Ubuntu 25.10 (Questing Quokka)

For general use, this version is an intermediate release provided between LTS and LTS and should be assumed to be “transferable to the next version within 9 months”.
If you expect to use it for a longer period of time, use 24.04.

2.Ubuntu Server 25.10 Install

Create an installation CD/DVD or USB disk from the downloaded ISO file, modify the BIOS settings to boot from the installation disk, and start the PC.
The installation procedure is the same as for Ubuntu Server 25.04, so it will be omitted here.
Please refer to the page below.

Set root password

In the default configuration of Ubuntu, the root user is unavailable because no password has been set.
By setting a password for the root user, transitions using the traditional [su] command will be possible.

Switch to root user

System Modernization

Make locate command available

The find command is often used to search for specific files throughout the Linux system, but find is somewhat confusing in terms of specifying options.
The locate command can extract all files with a specified filename.

1. Installing the locate package

2. Example of executing the locate command

vim editor settings

Ubuntu has vim installed by default

There may be cases where you do not want to allow vim settings for all users. In such cases, a ".vimrc" file can be created in each user's home directory to change the vim environment for each user.
In this case, we will create a ".vimrc" file in the root user's home directory "/root/" and apply it to all users.

Contents of [.vimrc]

set clipboard+=autoselect
" Use vim's own extensions (not compatible with vi)
set nocompatible
" Specify character code
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
" 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 the search term The reverse is [ set nohlsearch ].
set hlsearch
" Use incremental search (start searching for matching strings at any time while entering search terms)
set incsearch
" Display line numbers
set number
" 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

Select the above settings according to your preference.

Network Settings

1. Host Name Settings

This procedure is not necessary if you have already set the hostname at the time of Ubuntu installation and wish to use the hostname as it is.
To change the hostname, use the "hostnamectl set-hostname" command.
As an example, we set "Lepard" as the hostname.

2. Set IP address to network interface

If you specified a static IP address during Ubuntu installation, this section is unnecessary.
To change the IP address, modify the /etc/netplan/00-installer-config.yaml file, then restart the network interface (ens33 in this environment).
The network interface name varies depending on the setup environment, so first check the interface name.

ens33:Network Interface Name
192.168.11.83 : IP Address

2.1 Setting up a static IP address
This time, we'll set the IP address to 192.168.11.63 as an example. The required network information is as follows, and this will be reflected in the configuration file.
Address : 192.168.11.63/24
Default gateway : 192.168.11.1
Name server : 192.168.11.1
IP address settings are configured by modifying the "/etc/netplan/00-installer-config.yaml" file.

2.2 Disabling IPv6

Configure server time synchronization

Starting with Ubuntu 25.10, the service that automatically synchronizes the server's time has been changed from system-timesyncd to chrony by default.

1. Configuration of the chronyd service

Configuration of the time synchronization server is performed in /etc/chrony/sources.d/ubuntu-ntp-pools.sources.

Restart chrony and enable it to remain active after a system reboot.

Open the NTP port in the firewall (We'll explain firewalls on the next page, so just open it for now).

2.Checking the status (operation) of chronyd

If "System clock synchronized: yes" is displayed, the time is synchronized.

3. Set time zone to Japan

Current Time Zone Check

In the above, Time zone: Etc/UTC (UTC, +0000), so it matches Japan (Asia/Tokyo).

As above, it is in Japan.

Copied title and URL