From b6f6d209330b0f0d76bb75fa1862c195acbbf587 Mon Sep 17 00:00:00 2001 From: Marek Miklewicz <86836305+marsonpl@users.noreply.github.com> Date: Sat, 21 May 2022 19:15:19 +0200 Subject: [PATCH] Update dapostinstall.sh --- dapostinstall.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dapostinstall.sh b/dapostinstall.sh index 27b2671..f72ab1b 100644 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -7,6 +7,8 @@ chmod 700 /opt/daupdate.sh cd /opt/ sh daupdate.sh update cd $DAPOSTINSTALL_DIR +yum -y install epel-release +yum install -y htop wget rsync nano mc clear @@ -16,6 +18,9 @@ echo "Blokada logowania roota hasłem" sed -i '/PermitRootLogin yes/s/^#//g' /etc/ssh/sshd_config sed -i "s/PermitRootLogin yes/PermitRootLogin without-password/g" /etc/ssh/sshd_config +echo "Poprawa locale" +dnf install -y glibc-all-langpacks langpacks-pl glibc-langpack-pl +localectl set-locale LANG=pl_PL.utf8 echo "Tworzenie domyslnego pakietu" mkdir -p /usr/local/directadmin/data/users/admin/packages/