|
@@ -80,7 +80,7 @@ elif [[ "${release}" == "rocky" ]]; then
|
|
if [[ ${os_version} -lt 8 ]]; then
|
|
if [[ ${os_version} -lt 8 ]]; then
|
|
echo -e "${red} Please use Rocky Linux 8 or higher ${plain}\n" && exit 1
|
|
echo -e "${red} Please use Rocky Linux 8 or higher ${plain}\n" && exit 1
|
|
fi
|
|
fi
|
|
-elif [[ "${release}" == "oracle" ]]; then
|
|
|
|
|
|
+elif [[ "${release}" == "ol" ]]; then
|
|
if [[ ${os_version} -lt 8 ]]; then
|
|
if [[ ${os_version} -lt 8 ]]; then
|
|
echo -e "${red} Please use Oracle Linux 8 or higher ${plain}\n" && exit 1
|
|
echo -e "${red} Please use Oracle Linux 8 or higher ${plain}\n" && exit 1
|
|
fi
|
|
fi
|
|
@@ -486,7 +486,7 @@ enable_bbr() {
|
|
ubuntu | debian | armbian)
|
|
ubuntu | debian | armbian)
|
|
apt-get update && apt-get install -yqq --no-install-recommends ca-certificates
|
|
apt-get update && apt-get install -yqq --no-install-recommends ca-certificates
|
|
;;
|
|
;;
|
|
- centos | almalinux | rocky | oracle)
|
|
|
|
|
|
+ centos | almalinux | rocky | ol)
|
|
yum -y update && yum -y install ca-certificates
|
|
yum -y update && yum -y install ca-certificates
|
|
;;
|
|
;;
|
|
fedora | amzn)
|
|
fedora | amzn)
|
|
@@ -925,7 +925,7 @@ ssl_cert_issue() {
|
|
ubuntu | debian | armbian)
|
|
ubuntu | debian | armbian)
|
|
apt update && apt install socat -y
|
|
apt update && apt install socat -y
|
|
;;
|
|
;;
|
|
- centos | almalinux | rocky | oracle)
|
|
|
|
|
|
+ centos | almalinux | rocky | ol)
|
|
yum -y update && yum -y install socat
|
|
yum -y update && yum -y install socat
|
|
;;
|
|
;;
|
|
fedora | amzn)
|
|
fedora | amzn)
|
|
@@ -1296,7 +1296,7 @@ install_iplimit() {
|
|
debian | armbian)
|
|
debian | armbian)
|
|
apt update && apt install fail2ban -y
|
|
apt update && apt install fail2ban -y
|
|
;;
|
|
;;
|
|
- centos | almalinux | rocky | oracle)
|
|
|
|
|
|
+ centos | almalinux | rocky | ol)
|
|
yum update -y && yum install epel-release -y
|
|
yum update -y && yum install epel-release -y
|
|
yum -y install fail2ban
|
|
yum -y install fail2ban
|
|
;;
|
|
;;
|
|
@@ -1377,7 +1377,7 @@ remove_iplimit() {
|
|
apt-get purge -y fail2ban -y
|
|
apt-get purge -y fail2ban -y
|
|
apt-get autoremove -y
|
|
apt-get autoremove -y
|
|
;;
|
|
;;
|
|
- centos | almalinux | rocky | oracle)
|
|
|
|
|
|
+ centos | almalinux | rocky | ol)
|
|
yum remove fail2ban -y
|
|
yum remove fail2ban -y
|
|
yum autoremove -y
|
|
yum autoremove -y
|
|
;;
|
|
;;
|