From 020354f5bc04d39cb8cc0db279a1ebd7680f6230 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 1 Oct 2024 17:46:49 +0800 Subject: [PATCH] update --- scripts/install/rhel.sh | 3 +++ scripts/install/ubuntu.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index fd957cbb9d..259f2ed1d7 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -31,6 +31,9 @@ if [ $VERSION_ID -ge 8 ];then PKGMGR='dnf' fi +# systemctl status chronyd -l +$PKGMGR install -y chrony + $PKGMGR install -y curl-devel libmcrypt libmcrypt-devel python3-devel $PKGMGR install -y net-tools $PKGMGR install -y unixODBC-devel diff --git a/scripts/install/ubuntu.sh b/scripts/install/ubuntu.sh index 8233a10fd4..9598de9c58 100644 --- a/scripts/install/ubuntu.sh +++ b/scripts/install/ubuntu.sh @@ -16,6 +16,7 @@ if grep -Eq "Ubuntu" /etc/*-release; then fi # synchronize server +# systemctl status chronyd -l apt install chrony -y apt install ntpdate -y