2

i'd like to setup phpmyadmin in Ubuntu without asking for parameters in prompts, i don't know if there's a way to pass these parameters in the command: sudo apt-get install phpmyadmin and give the options like the server type "apache2" and mysql admin password.

Thanks a lot.

user78322
  • 131
  • 1
  • 3

1 Answers1

2

phpmyadmin appears to be using debconf for the configuration of the main package. Which means the standard pre-seeding method applies.

See:

Also, if you set the installer to non-interactive configuration (DEBIAN_FRONTEND=noninteractive apt-get -y install), you can simply script or manually update the configuration files after the package has been installed.

Zoredache
  • 128,755
  • 40
  • 271
  • 413