﻿# System configuration

> [HTML Version](configure-system.html)

## Basic information

A set of servers or virtual machines is used separately for each component.

## Step 1: Configure host names

Configure host names:

````
sudo hostnamectl set-hostname server1.your\_domain --static  
sudo hostnamectl set-hostname server2.your\_domain --static  
sudo hostnamectl set-hostname server3.your\_domain --static

## ````
Step 2: Configure time synchronization

1. If your DHCP server** **doesn’t provide time synchronization information, add IP addresses of NTP servers you want to synchronize the system with. For example:

````
sudo echo 'NTP=0.pool.ntp.org server 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org' >> /etc/systemd/timesyncd.conf

2. ````
Restart the \[OBJECT\]** **service:

````
sudo systemctl restart systemd-timesyncd

3. ````
To view the current time synchronization status, run the following command:

````
sudo timedatectl status

4. ````
You can view detailed information about time synchronization status by running the following command:

````
sudo timedatectl timesync-status

````


