You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
478 B

# Install Debian Buster.
apt install adminer
echo "Alias /adminer /usr/share/adminer/adminer/" | sudo tee /etc/apache2/conf-available/adminer.conf
sudo a2enconf adminer.conf
sudo systemctl reload apache2
6 years ago
# On DB server, sql1:
CREATE USER 'root'@'10.42.1.129' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'10.42.1.129';
FLUSH PRIVILEGES;
# On DB server, pg1:
# On workstation:
ssh -N -C -L 54452:localhost:80 adminer
# In browser
http://127.0.0.1:54452