Update dapostinstall.sh

This commit is contained in:
Marek Miklewicz
2022-05-21 19:15:19 +02:00
committed by GitHub
parent 7f405e5abd
commit b6f6d20933
+5
View File
@@ -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/