CentOS Linux machine-id

Contents
Introduction
Узнать machine-id
Изменить machine-id
Создать новый machine-id
Сгенерировать с помощью dbus
Статьи про CentOS

Introduction

Узнать свой machine-id

cat /etc/machine-id

4ab7d70cacd0d33ca5bc9b2344e5e328

Изменить machine-id

Удалите старый machine-id

sudo rm /etc/machine-id

Сгенерируйте новый machine-id

sudo systemd-machine-id-setup

Проверьте результат

cat /etc/machine-id

Теперь желательно перезагрузиться и проверить всё ли работает правильно

Создать новый machine-id

Если вы удалили machine-id создать новый можно командой

systemd-machine-id-setup

Изменить machine-id

Если генерируется всё время один и тот же id значит скорее всего он берётся откуда-то ещё

Можно сгенерировать его самостоятельно с помощью dbus--uuidgen

rm -f /etc/machine-id
dbus-uuidgen --ensure=/etc/machine-id
dbus-uuidge --ensure
cat /etc/machine-id

Related Articles
CentOS
Network Configuration
Firewall
iftop: Network Monitoring
nethogs: Network Monitoring
tc: Traffic Control
iperf: Network Performance
Date Time
X Window System CentOS
XRDP: Remote Desktop
VNC: Remote Desktop
Change machine-id
Change ulimit
xclip: Buffer
docker-ce: install in CentOS 8
FAQ
Errors
Install virtual CentOS on Ubuntu
Docker container CentOS with SSH access
Files
Combine .pdf Files
diff: Compare Files
find: Search for Files
kill: Finish Process
make
signal
env
localectl
systemctl: List Active Services
SCP: File Exchange
SSH: Remote Access
cron
sudo

Search on this site

Subscribe to @aofeed channel for updates

Visit Channel

@aofeed

Feedbak and Questions in Telegram

@aofeedchat