Update dapostinstall.sh
This commit is contained in:
+2
-4
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# VERSION 1.6.1-28.07.2023
|
# VERSION 1.6.2-29.07.2023
|
||||||
DAPOSTINSTALL_DIR=/opt/dapostinstall
|
DAPOSTINSTALL_DIR=/opt/dapostinstall
|
||||||
DADIR=/usr/local/directadmin
|
DADIR=/usr/local/directadmin
|
||||||
CBDIR=/usr/local/directadmin/custombuild
|
CBDIR=/usr/local/directadmin/custombuild
|
||||||
@@ -7,16 +7,14 @@ LOG_FILE=/var/log/dapostinstall.log
|
|||||||
HTLINK="https://ht.zenadmin.pl"
|
HTLINK="https://ht.zenadmin.pl"
|
||||||
exec > >(tee -ia "$LOG_FILE") 2>&1
|
exec > >(tee -ia "$LOG_FILE") 2>&1
|
||||||
cd $DAPOSTINSTALL_DIR
|
cd $DAPOSTINSTALL_DIR
|
||||||
|
yum -y install htop wget rsync nano mc ncdu borgbackup
|
||||||
wget $HTLINK//daupdate.sh -O /opt/daupdate.sh
|
wget $HTLINK//daupdate.sh -O /opt/daupdate.sh
|
||||||
chmod 700 /opt/daupdate.sh
|
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 -y install epel-release
|
||||||
yum -y install htop wget rsync nano mc ncdu borgbackup
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
|
|
||||||
cd $DAPOSTINSTALL_DIR
|
cd $DAPOSTINSTALL_DIR
|
||||||
|
|
||||||
echo "Blokada logowania roota hasłem"
|
echo "Blokada logowania roota hasłem"
|
||||||
|
|||||||
Reference in New Issue
Block a user