Update installdebian.sh

ISPConfig Test prepared after exit command
This commit is contained in:
cpzengel 2022-02-01 16:57:39 +01:00 committed by GitHub
parent ebd5cb8932
commit 6e54f23da2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,8 @@ git clone https://github.com/optimans/cockpit-zfs-manager.git
sed -i 's/12/3/g' /etc/cron.monthly/zfs-auto-snapshot sed -i 's/12/3/g' /etc/cron.monthly/zfs-auto-snapshot
# change hostname # change hostname
echo nasbeery > /etc/hostname hostnamectl set-hostname nasbeery.bashclub.lan
sed -i 's/localhost/nasbeery.bashclub.lan nasbeery/g' /etc/hosts
# ask for deletion of existing data and create Mirror # ask for deletion of existing data and create Mirror
whiptail --title "Possible data loss!" \ whiptail --title "Possible data loss!" \
@ -59,3 +60,14 @@ done
echo "root:$PASSWORD" | chpasswd echo "root:$PASSWORD" | chpasswd
(echo "$PASSWORD"; echo "$PASSWORD") | smbpasswd -a root (echo "$PASSWORD"; echo "$PASSWORD") | smbpasswd -a root
### here we go with ispconfig later
exit
zfs create -o mountpoint=/var/www tank/ispwww
zfs create -o mountpoint=/var/backup tank/ispbackup
zfs create -o mountpoint=/var/lib/mysql tank/ispmysql
wget -O - https://get.ispconfig.org | sh -s -- --help
#Rar is not available, so we go with Midnight Commander:)
sed -i 's/rar/mc/g' /tmp/ispconfig-ai/lib/os/class.ISPConfigDebianOS.inc.php
wget -O - https://get.ispconfig.org | sh -s -- --lang=en --use-php=7.4,8.1 --no-mail --no-dns --no-firewall --no-roundcube --no-quota --unattended-upgrades --i-know-what-i-am-doing