Files
srv-pub/scr/0_download_scripts.sh

39 lines
1.1 KiB
Bash
Raw Permalink Normal View History

2025-10-26 17:21:27 -05:00
#!/bin/bash
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# downloads all needed scripts / frode klevstul / oct 2025
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2025-10-26 21:56:17 -05:00
# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
2025-10-26 21:28:20 -05:00
# first time setup:
#
# - ssh usr@srv -p [port]
# - cd /tmp
2025-12-09 19:44:28 -05:00
# - wget https://gi.op.fo/fro/srv-pub/raw/branch/trunk/scr/0_download_scripts.sh
2025-10-26 21:28:20 -05:00
# - chmod 755 *.sh
# - ./0_download_scripts.sh
2025-10-26 21:56:17 -05:00
# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
2025-10-26 21:28:20 -05:00
2025-10-26 17:21:27 -05:00
if [ "$EUID" -ne 0 ]
then echo "error: run as 'root'"
exit
fi
2025-12-09 19:44:28 -05:00
base_url_scr=https://gi.op.fo/fro/srv-pub/raw/branch/trunk/scr
2025-10-26 17:21:27 -05:00
rm /tmp/*.sh
cd /tmp/
wget ${base_url_scr}/0_download_scripts.sh
2025-10-26 21:56:17 -05:00
wget ${base_url_scr}/1_upd_install.sh
wget ${base_url_scr}/2a_postgrest_install.sh
2025-10-28 12:57:33 -05:00
wget ${base_url_scr}/2b_postgrest_service.sh
2025-10-28 13:08:30 -05:00
wget ${base_url_scr}/3_create_user.sh
2025-10-28 14:07:58 -05:00
wget ${base_url_scr}/4_acmesh.sh
2025-10-28 14:45:05 -05:00
wget ${base_url_scr}/5_https.sh
2025-10-28 14:50:36 -05:00
wget ${base_url_scr}/6_add_www_root.sh
2025-10-28 15:14:49 -05:00
wget ${base_url_scr}/7_add_www_placeholder.sh
2025-10-28 15:24:32 -05:00
wget ${base_url_scr}/8_nginx_enable_site.sh
2025-10-26 21:56:17 -05:00
2025-10-26 17:21:27 -05:00
chmod 755 /tmp/*.sh