Update dapostinstall.sh
This commit is contained in:
@@ -7,6 +7,8 @@ chmod 700 /opt/daupdate.sh
|
|||||||
cd /opt/
|
cd /opt/
|
||||||
sh daupdate.sh update
|
sh daupdate.sh update
|
||||||
cd $DAPOSTINSTALL_DIR
|
cd $DAPOSTINSTALL_DIR
|
||||||
|
yum -y install epel-release
|
||||||
|
yum install -y htop wget rsync nano mc
|
||||||
clear
|
clear
|
||||||
|
|
||||||
|
|
||||||
@@ -16,6 +18,9 @@ echo "Blokada logowania roota hasłem"
|
|||||||
sed -i '/PermitRootLogin yes/s/^#//g' /etc/ssh/sshd_config
|
sed -i '/PermitRootLogin yes/s/^#//g' /etc/ssh/sshd_config
|
||||||
sed -i "s/PermitRootLogin yes/PermitRootLogin without-password/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"
|
echo "Tworzenie domyslnego pakietu"
|
||||||
mkdir -p /usr/local/directadmin/data/users/admin/packages/
|
mkdir -p /usr/local/directadmin/data/users/admin/packages/
|
||||||
|
|||||||
Reference in New Issue
Block a user