X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-end;h=0e7c4b8197dab344b80a00602e76365deaa84dfa;hb=c37a4a61ba9d5d09ea52c9e0996897666ec5eb89;hp=c22e1130be39b67136dd60c5581f0776c1674771;hpb=4f13ea60bec1126f54b9da543b549d29d5013a69;p=distro-setup diff --git a/distro-end b/distro-end index c22e113..0e7c4b8 100755 --- a/distro-end +++ b/distro-end @@ -131,6 +131,7 @@ fi ### end docker install #### + ### begin certbot install ### case $distro in debian) @@ -180,6 +181,22 @@ sgo certbotmail.timer pi ${p1[@]} + +## prometheus node exporter setup +web-conf -f 9100 -p 9101 apache2 $(hostname -f) <<'EOF' +#https://httpd.apache.org/docs/2.4/mod/mod_authn_core.html#authtype +# https://stackoverflow.com/questions/5011102/apache-reverse-proxy-with-basic-authentication + + AllowOverride None + AuthType basic + AuthName "Authentication Required" + # setup one time, with root:www-data, 640 + AuthUserFile "/etc/prometheus-htpasswd" + Require valid-user + +EOF + + # website setup case $HOSTNAME in lj|li) @@ -592,25 +609,27 @@ fi sgo fsf-vpn-dns-cleanup -case $distro in - debian) - pi chromium ;; - trisquel|ubuntu) - wget -qO - https://downloads.iridiumbrowser.de/ubuntu/iridium-release-sign-01.pub|sudo apt-key add - - t=$(mktemp) - cat >$t <$t <