Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-09-26 13:19:18 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-09-26 13:19:18 +0300
commit8b6e3491c4ed8e8dca8c068d99c4126b6927cf2e (patch)
tree9823e10506567d3a6cae77bcdb60ca12c4adba8c
parent6cf2b56f9bdb38452a4ecdd1b10ae3cf6ed41bbe (diff)
base install for amzn
-rw-r--r--install.sh2
-rw-r--r--x-ui.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/install.sh b/install.sh
index a0b937a4..3435fc76 100644
--- a/install.sh
+++ b/install.sh
@@ -110,7 +110,7 @@ install_base() {
centos | almalinux | rocky | oracle)
yum -y update && yum install -y -q wget curl tar tzdata
;;
- fedora)
+ fedora | amzn)
dnf -y update && dnf install -y -q wget curl tar tzdata
;;
arch | manjaro | parch)
diff --git a/x-ui.sh b/x-ui.sh
index 120c83a0..e4bc622b 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -478,7 +478,7 @@ enable_bbr() {
centos | almalinux | rocky | oracle)
yum -y update && yum -y install ca-certificates
;;
- fedora)
+ fedora | amzn)
dnf -y update && dnf -y install ca-certificates
;;
arch | manjaro | parch)
@@ -818,7 +818,7 @@ ssl_cert_issue() {
centos | almalinux | rocky | oracle)
yum -y update && yum -y install socat
;;
- fedora)
+ fedora | amzn)
dnf -y update && dnf -y install socat
;;
arch | manjaro | parch)
@@ -1169,7 +1169,7 @@ install_iplimit() {
yum update -y && yum install epel-release -y
yum -y install fail2ban
;;
- fedora)
+ fedora | amzn)
dnf -y update && dnf -y install fail2ban
;;
arch | manjaro | parch)
@@ -1250,7 +1250,7 @@ remove_iplimit() {
yum remove fail2ban -y
yum autoremove -y
;;
- fedora)
+ fedora | amzn)
dnf remove fail2ban -y
dnf autoremove -y
;;