Install Base Software

Base Software 

 #!/bin/bash

# Update and Upgrade

apt update && apt upgrade -y && apt full-upgrade -y

#All the base Stuff

apt-get install -y apt-show-versions apt-transport-https bc binutils bsdmainutils bzip2 ca-certificates curl file git gpg gzip htop jq lib32gcc-s1 lib32stdc++6 libauthen-pam-perl libio-pty-perl libnet-ssleay-perl libpam-runtime lsb-release openssl perl rsync screen software-properties-common sudo tar tmux unzip util-linux wget 

 Webserver + Datenbankserver 

 #!/bin/bash

# Update and Upgrade

apt update && apt upgrade -y && apt full-upgrade -y

#Apache + MariaDB

apt-get install -y apache2 libmariadb3 mariadb-client mariadb-server 

 Apache Module aktivieren: 

 a2dismod mpm_event

a2enmod core so watchdog http log_config logio version unixd access_compat alias auth_basic authn_core authn_file authz_core authz_host authz_user autoindex cgi cgid deflate dir env filter headers mime mpm_prefork negotiation php proxy proxy_connect proxy_fcgi proxy_http proxy_wstunnel reqtimeout rewrite setenvif socache_shmcb ssl status xml2enc cgi 

 

 

 Qemu Agent (Nur wenn VM) 

 #!/bin/bash

#If VM guest additions

apt-get install -y qemu-guest-agent 

 ResolvConf (Mainly for WireGuard) 

 Nach der Installation von ResolvConf muss die Maschine neu gestartet werden, da sonst keine Domains auflösbar sind! 

 #!/bin/bash

#If VM guest additions

apt-get install -y resolvconf