Compare commits

..

5 Commits

Author SHA1 Message Date
tteckster 45c2641a36
Update postgresql.sh
default Debian 12
fixes https://github.com/tteck/Proxmox/issues/1542
2023-06-25 18:12:49 -04:00
tteckster b733b451d8
Update postgresql-install.sh
distribution agnostic
2023-06-25 18:11:35 -04:00
tteckster 1e8add89e2
Update omada.sh
default Debian 12
2023-06-25 13:23:26 -04:00
tteckster d6d1b86ad1
Update unifi.sh
default Debian 12
2023-06-25 13:18:05 -04:00
tteckster 049806d703
Update mqtt.sh
default Debian 12
2023-06-25 13:15:05 -04:00
5 changed files with 9 additions and 8 deletions

View File

@ -23,7 +23,7 @@ var_disk="2"
var_cpu="1" var_cpu="1"
var_ram="512" var_ram="512"
var_os="debian" var_os="debian"
var_version="11" var_version="12"
variables variables
color color
catch_errors catch_errors

View File

@ -23,7 +23,7 @@ var_disk="8"
var_cpu="2" var_cpu="2"
var_ram="2048" var_ram="2048"
var_os="debian" var_os="debian"
var_version="11" var_version="12"
variables variables
color color
catch_errors catch_errors

View File

@ -23,7 +23,7 @@ var_disk="4"
var_cpu="1" var_cpu="1"
var_ram="1024" var_ram="1024"
var_os="debian" var_os="debian"
var_version="11" var_version="12"
variables variables
color color
catch_errors catch_errors

View File

@ -23,7 +23,7 @@ var_disk="8"
var_cpu="2" var_cpu="2"
var_ram="2048" var_ram="2048"
var_os="debian" var_os="debian"
var_version="11" var_version="12"
variables variables
color color
catch_errors catch_errors

View File

@ -21,8 +21,9 @@ $STD apt-get install -y gnupg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Setting up PostgreSQL Repository" msg_info "Setting up PostgreSQL Repository"
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" > /etc/apt/sources.list.d/pgdg.list' VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
$STD apt-key add <(curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc) echo "deb http://apt.postgresql.org/pub/repos/apt ${VERSION}-pgdg main" >/etc/apt/sources.list.d/pgdg.list
curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor --output /etc/apt/trusted.gpg.d/postgresql.gpg
msg_ok "Setup PostgreSQL Repository" msg_ok "Setup PostgreSQL Repository"
msg_info "Installing PostgreSQL" msg_info "Installing PostgreSQL"
@ -136,8 +137,8 @@ read -r -p "Would you like to add Adminer? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
msg_info "Installing Adminer" msg_info "Installing Adminer"
$STD apt install -y adminer $STD apt install -y adminer
$STD sudo a2enconf adminer $STD a2enconf adminer
$STD systemctl reload apache2 systemctl reload apache2
msg_ok "Installed Adminer" msg_ok "Installed Adminer"
fi fi