streamlined deploy

This commit is contained in:
Andreas Balogh
2022-01-24 21:06:11 +00:00
parent 95902543c6
commit ebf96981a8
4 changed files with 15 additions and 10 deletions

View File

@@ -1,8 +1,12 @@
apt-get update -y
DEBIAN_FRONTEND=noninteractive
TZ=Europe/Berlin
apt-get install -y tzdata z-push apache2
tar xzf core-11.0.2.50.507cbae-Ubuntu_20.04-amd64.tar.gz
tar xzf webapp-6.0.0.57.1049268-Ubuntu_20.04-all.tar.gz
cd ~/xzf core-11.0.2.50.507cbae-Ubuntu_20.04-amd64
for F in *.deb; do dpkg --unpack --no-triggers $F; done
cd ~/webapp-6.0.0.57.1049268-Ubuntu_20.04-all
for F in *.deb; do dpkg --unpack --no-triggers $F; done
apt install -f -y
apt install z-push -y
for F in ~/core-11.0.2.50.507cbae-Ubuntu_20.04-amd64/*.deb; do dpkg --unpack --no-triggers $F; done
for F in ~/webapp-6.0.0.57.1049268-Ubuntu_20.04-all/*.deb; do dpkg --unpack --no-triggers $F; done
apt-get install -f -y
# cleanup install
apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache ~/.npm