85e18a22 |
#!/bin/bash
apt update -y
apt upgrade -y
|
db8a09cd |
apt install -y nginx php-fpm
|
85e18a22 |
apt --fix-broken install
|
db8a09cd |
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/nginx.conf -O /etc/nginx/nginx.conf
|
85e18a22 |
|
db8a09cd |
rm -rf /var/www/
mkdir /var/www/
|
b1eae37b |
mkdir /var/www/css/
mkdir /var/www/js/
mkdir /var/www/images/
#Index.php
|
db8a09cd |
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/index.php -O /var/www/index.php
|
85e18a22 |
|
b1eae37b |
#CSS
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/css/leaflet.css -O /var/www/css/leaflet.css
#IMAGES
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/images/layers-2x.png -O /var/www/images/layers-2x.png
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/images/layers.png -O /var/www/images/layers.png
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/images/marker-icon-2x.png -O /var/www/images/marker-icon-2x.png
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/images/marker-icon.png -O /var/www/images/marker-icon.png
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/images/marker-shadow.png -O /var/www/images/marker-shadow.png
#JS
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/js/leaflet.js -O /var/www/js/leaflet.js
wget https://git.willamettevalleymesh.net/K9RCP-AUTO-INSTALLERS/raw/master/MAPCACHE/html/js/Leaflet.VectorGrid.js -O /var/www/js/Leaflet.VectorGrid.js
|
85e18a22 |
|
db8a09cd |
echo "Install done!
|