From c749154fb3d04c33dcc9b9449c56e178d1504635 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 10 Jun 2024 12:55:08 +0800 Subject: [PATCH] Update rhel.sh --- scripts/install/rhel.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index bbea09d13..f4be159c5 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -32,6 +32,8 @@ if [ $VERSION_ID -ge 8 ];then fi $PKGMGR install -y curl-devel libmcrypt libmcrypt-devel python3-devel +$PKGMGR install -y net-tools + $PKGMGR install -y libncurses* echo "install remi source" @@ -52,7 +54,7 @@ if [ ! -d /root/.acme.sh ];then curl https://get.acme.sh | sh fi -yum install -y net-tools + SSH_PORT=`netstat -ntpl|grep sshd|grep -v grep | sed -n "1,1p" | awk '{print $4}' | awk -F : '{print $2}'` if [ "$SSH_PORT" == "" ];then