From 24963cd7ccca226fe77d5eb6de6e69255650a7b7 Mon Sep 17 00:00:00 2001 From: Sergey Mazein <37579301+semalis@users.noreply.github.com> Date: Fri, 29 Sep 2023 10:41:49 +0300 Subject: [PATCH] Utils --- .idea/deployment.xml | 30 +++++++++++++++++++++++++++++- Installers/golang.sh | 2 +- Installers/pre_install_LCX.sh | 2 +- Installers/pre_install_clearOS.sh | 2 +- 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/.idea/deployment.xml b/.idea/deployment.xml index e159bed..375c27f 100644 --- a/.idea/deployment.xml +++ b/.idea/deployment.xml @@ -2,7 +2,14 @@ - + + + + + + + + @@ -23,6 +30,27 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Installers/golang.sh b/Installers/golang.sh index d950332..9856f69 100644 --- a/Installers/golang.sh +++ b/Installers/golang.sh @@ -1,7 +1,7 @@ #!/bin/bash action="install" -go_version="1.19.7" +go_version="1.20.5" . <(wget -qO- http://astrader.net:3006/sem/Utils/raw/branch/main/bashbuilder/colors.sh) -- diff --git a/Installers/pre_install_LCX.sh b/Installers/pre_install_LCX.sh index 49158b7..c906cfb 100644 --- a/Installers/pre_install_LCX.sh +++ b/Installers/pre_install_LCX.sh @@ -15,7 +15,7 @@ sudo apt update sudo apt upgrade -y echo -e "${C_LGn}Installation of necessary components ...${RES}" -sudo apt install openssh-server mc htop qemu-guest-agent curl lsb-release wget git jq -y +sudo apt install openssh-server mc htop qemu-guest-agent curl lsb-release wget git jq lz4 build-essential -y sudo sed -i 's/#Port 22/#Port 22\n\nAllowUsers root@92.255.251.110 root@158.69.30.144 root@65.109.116.119 sem\n/' /etc/ssh/sshd_config sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes\n/' /etc/ssh/sshd_config diff --git a/Installers/pre_install_clearOS.sh b/Installers/pre_install_clearOS.sh index 50af08a..264ebc8 100644 --- a/Installers/pre_install_clearOS.sh +++ b/Installers/pre_install_clearOS.sh @@ -15,7 +15,7 @@ sudo apt update sudo apt upgrade -y echo -e "${C_LGn}Installation of necessary components ...${RES}" -sudo apt install openssh-server mc htop qemu-guest-agent curl lsb-release wget git jq -y +sudo apt install openssh-server mc htop qemu-guest-agent curl lsb-release wget git jq lz4 build-essential -y sudo sed -i 's/#Port 22/#Port 22\n\nAllowUsers root@92.255.251.110 root@158.69.30.144 root@65.109.116.119 sem\n/' /etc/ssh/sshd_config sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes\n/' /etc/ssh/sshd_config