From 2629ce953cb2eae7773847f2a6bb15842e96d401 Mon Sep 17 00:00:00 2001 From: kosenka Date: Mon, 7 Apr 2025 10:37:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82=D1=8C=20he?= =?UTF-8?q?st=5Finst=5F1.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hest_inst_1.sh | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 hest_inst_1.sh diff --git a/hest_inst_1.sh b/hest_inst_1.sh deleted file mode 100644 index 525c2fa..0000000 --- a/hest_inst_1.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/sh - -ColorRed='\033[0;31m' -ColorGreen='\033[0;32m' -ColorOff='\033[0m' - -# Function to display the confirmation prompt -function confirm() { - while true; do - read -p "$1? (y/n) " yn - case $yn in - [Yy]* ) return 0;; - [Nn]* ) return 1;; - esac - done -} - -clear - -# check if running as root in a bash script -# https://stackoverflow.com/a/28776100 -if [ `id -u` -ne 0 ] - then echo Please run this script as root or using sudo! - exit -fi - -echo -e "${ColorGreen}Введите HOSTNAME (пример: www.default.com):${ColorOff}" -read HOSTNAME -echo -e "${ColorGreen}Введите USERNAME:${ColorOff}" -read USERNAME -echo -e "${ColorGreen}Введите PASSWORD:${ColorOff}" -read PASSWORD -echo -e "${ColorGreen}Введите EMAIL:${ColorOff}" -read EMAIL - -# *** HESTIACP 1.9.3 *** -# sudo su - -gpg --no-default-keyring --keyring /usr/share/keyrings/hestia-keyring.gpg --keyserver hkp://185.125.188.26 --recv-keys A189E93654F0B0E5 -wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh -bash hst-install.sh --lang 'ru' --hostname '$HOSTNAME' --username '$USERNAME' --email '$EMAIL' --password '$PASSWORD' --multiphp '8.2' --postgresql yes --dovecot no --clamav no --spamassassin no