From c81828073af3ef65caa9b171ac537058957ea725 Mon Sep 17 00:00:00 2001 From: sem Date: Mon, 6 Feb 2023 14:52:40 +0300 Subject: [PATCH] Utils --- Installers/pre_install_clearOS.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Installers/pre_install_clearOS.sh b/Installers/pre_install_clearOS.sh index a3207c7..b446e69 100644 --- a/Installers/pre_install_clearOS.sh +++ b/Installers/pre_install_clearOS.sh @@ -17,7 +17,7 @@ echo -e "${C_LGn}Installation of necessary components ...${RES}" sudo apt install openssh-server mc htop qemu-guest-agent curl lsb-release wget -y -sudo sed -i 's/#Port 22/#Port 22\n\nAllowUsers root@92.255.251.110 sem\n/' /etc/ssh/sshd_config +sudo sed -i 's/#Port 22/#Port 22\n\nAllowUsers root@92.255.251.110 root@51.77.60.29 sem\n/' /etc/ssh/sshd_config #write out current crontab crontab -l > mycron @@ -81,5 +81,9 @@ sudo systemctl restart exporterd zabbix_agentd -V +echo "Меняем часовой пояс на Europe/Moscow" +sudo timedatectl set-timezone Europe/Moscow +date + echo -e "\nПроверить работу zabbix-agent ${C_LGn}sudo systemctl status zabbix-agent${RES}" echo -e "\nПроверить работу Node Exporter ${C_LGn}sudo journalctl -u exporterd -f${RES}" \ No newline at end of file