It can be useful to know the debconf variables for an application you are going to install on Ubuntu Linux before installing the application. Below are the possible debconf variables to set for acidbase when installing on Ubuntu Linux 12.04 Precise Pangolin.
acidbase debconf Variables:
- acidbase acidbase/app-password-confirm password
- acidbase acidbase/password-confirm password
- # PostgreSQL application password for acidbase:
- acidbase acidbase/pgsql/app-pass password
- acidbase acidbase/mysql/admin-pass password
- # MySQL application password for acidbase:
- acidbase acidbase/mysql/app-pass password
- acidbase acidbase/pgsql/admin-pass password
- acidbase acidbase/pgsql/admin-user string postgres
- acidbase acidbase/pgsql/changeconf boolean false
- acidbase acidbase/pgsql/manualconf note
- # Perform upgrade on database for acidbase with dbconfig-common?
- acidbase acidbase/dbconfig-upgrade boolean true
- # Deconfigure database for acidbase with dbconfig-common?
- acidbase acidbase/dbconfig-remove boolean
- acidbase acidbase/mysql/admin-user string root
- acidbase acidbase/upgrade-error select abort
- acidbase acidbase/pgsql/authmethod-admin select ident
- # database name for acidbase:
- acidbase acidbase/db/dbname string snort
- acidbase acidbase/internal/reconfiguring boolean false
- acidbase acidbase/passwords-do-not-match error
- # Connection method for MySQL database of acidbase:
- acidbase acidbase/mysql/method select unix socket
- acidbase acidbase/pgsql/no-empty-passwords error
- # Host running the server for acidbase:
- acidbase acidbase/remote/newhost string
- # Database type to be used by acidbase:
- acidbase acidbase/database-type select mysql
- # username for acidbase:
- acidbase acidbase/db/app-user string snort
- acidbase acidbase/remote/port string
- acidbase acidbase/internal/skip-preseed boolean false
- # Host name of the database server for acidbase:
- acidbase acidbase/remote/host select
- acidbase acidbase/pgsql/authmethod-user select
- acidbase acidbase/remove-error select abort
- # storage directory for acidbase:
- acidbase acidbase/db/basepath string
- acidbase acidbase/webserver select All
- acidbase acidbase/install-error select abort
- # Configure database for acidbase with dbconfig-common?
- acidbase acidbase/dbconfig-install boolean true
- acidbase acidbase/base_advisory note
- acidbase acidbase/missing-db-package-error select abort
- # Reinstall database for acidbase?
- acidbase acidbase/dbconfig-reinstall boolean false
- # Do you want to purge the database for acidbase?
- acidbase acidbase/purge boolean false
- # Do you want to back up the database for acidbase before upgrading?
- acidbase acidbase/upgrade-backup boolean true
- # Connection method for PostgreSQL database of acidbase:
- acidbase acidbase/pgsql/method select unix socket
Use the command example below set one of the acidbase debconf variables before installing acidbase.
Set acidbase debconf Variable On Ubuntu Linux:
- echo acidbase acidbase/app-password-confirm PASSWORD | debconf-set-selections
The debconf variables to set that will allow you to install acidbase without any interaction are below.
No Interaction Install Of acidbase debconf Variables:
- /bin/echo acidbase acidbase/pgsql/manualconf note | debconf-set-selections
- /bin/echo acidbase acidbase/base_advisory note | debconf-set-selections
- /bin/echo acidbase acidbase/database-type select mysql | debconf-set-selections
- /bin/echo acidbase acidbase/mysql/admin-pass password | debconf-set-selections
- /bin/echo acidbase acidbase/mysql/app-pass password | debconf-set-selections
- /bin/echo acidbase acidbase/app-password-confirm password | debconf-set-selections
- /bin/echo acidbase acidbase/password-confirm password | debconf-set-selections
There is also another variable that must be set to avoid pop ups which is outlined in this article.