Skip to content

Instantly share code, notes, and snippets.

@waja
Last active April 30, 2020 10:20
Show Gist options
  • Save waja/77e3d2febb0745478466344f0ce5a50e to your computer and use it in GitHub Desktop.
Save waja/77e3d2febb0745478466344f0ce5a50e to your computer and use it in GitHub Desktop.
Deploy phpmyadmin on Debian (Buster) 10.x
#!/bin/bash
# wget https://gist.githubusercontent.com/waja/77e3d2febb0745478466344f0ce5a50e/raw/deploy_phpmyadmin_buster.sh -O /tmp/a && sh /tmp/a
# taken from https://github.com/phpmyadmin/phpmyadmin/issues/15236#issuecomment-507871960
[ $(grep buster-backports /etc/apt/sources.list.d/* | wc -l) -le 0 ] && cat <<EOF >> /etc/apt/sources.list.d/buster-backports.list
#
# Debian backports
#
deb http://ftp.de.debian.org/debian/ buster-backports main non-free contrib
deb-src http://ftp.de.debian.org/debian/ buster-backports main non-free contrib
EOF
apt-get update
apt-get -y install -t buster-backports phpmyadmin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment