297d22459f
This commit makes koha-create more flexible by adding a number of command-line and configuration options. The biggest change is to add support for pre-determined MySQL credentials using a file in /etc/koha/passwd (for security reasons, if you use this feature, make sure the file is not world-readable). The configuration file has the following format: instance:user:password:database The database is optional, but the other two are both required if you want to specify MySQL credentials. If no credentials are specified for a given instance, the standard koha_instance username and an auto-generated password are used. The following additional command line options are now available: * --use-db - use a pre-existing database, see also --database * --database - specify the name of the mysql database (still defaults to koha_instance) * --passwdfile - specify a custom (Koha) passwd file for MySQL credentials The following additional variables are now available (for use in koha-sites.conf or a custom config file): * OPACPORT (previously added but not documented) - port on which the OPAC should be served * OPACPREFIX - prefix for the OPAC's virtual host * OPACSUFFIX - suffix for the OPAC's virtual host This commit also adds the --keep-mysql option to koha-remove, which, if specified, will prevent koha-remove from deleting the database or MySQL user when removing an instance. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> |
||
---|---|---|
.. | ||
koha-common.xml | ||
koha-create-dirs.xml | ||
koha-create.xml | ||
koha-disable.xml | ||
koha-dump-defaults.xml | ||
koha-dump.xml | ||
koha-email-disable.xml | ||
koha-email-enable.xml | ||
koha-enable.xml | ||
koha-foreach.xml | ||
koha-list.xml | ||
koha-mysql.xml | ||
koha-rebuild-zebra.xml | ||
koha-remove.xml | ||
koha-reset-passwd.xml | ||
koha-restart-zebra.xml | ||
koha-restore.xml | ||
koha-start-zebra.xml | ||
koha-stop-zebra.xml | ||
koha-upgrade-schema.xml | ||
koha-upgrade-to-3.4.xml | ||
LEEME.Debian |