#!/bin/bash

apt update -y
apt upgrade -y

apt install -y nginx php-fpm
apt --fix-broken install

wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/nginx.conf -O /etc/nginx/nginx.conf

rm -rf /var/www/
mkdir /var/www/
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/index.php -O /var/www/index.php



echo "Install done!