This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
пакет_heartbeat [2022/01/29 20:42] val [Запуск] |
пакет_heartbeat [2022/01/29 20:44] val [Debian/Ubuntu] |
||
---|---|---|---|
Line 11: | Line 11: | ||
<code> | <code> | ||
root@nodeN:~# apt install heartbeat | root@nodeN:~# apt install heartbeat | ||
- | |||
- | root@nodeN:~# systemctl enable heartbeat | ||
debian11# cat /etc/rc.local | debian11# cat /etc/rc.local | ||
Line 85: | Line 83: | ||
==== Debian/Ubuntu ==== | ==== Debian/Ubuntu ==== | ||
<code> | <code> | ||
- | root@nodeN:~# service heartbeat start | + | root@nodeN:~# systemctl enable heartbeat |
+ | |||
+ | root@nodeN:~# systemctl start heartbeat | ||
+ | |||
+ | root@nodeN:~# systemctl disable heartbeat | ||
+ | |||
+ | root@nodeN:~# systemctl stop heartbeat | ||
</code> | </code> | ||