7.4.2. Create a configuration file using command line parameters
ibcmd server config init --dbms=postgresql --db-server=dbServerName --db-user=dbUser --db-pwd=dbUserPassword --db-name=dbName --name=docsIB --base=/webAccess
As a result of executing this command, the following configuration file will be output to the standard output stream (stdout):
server: address: localhost port: database: dbms: PostgreSQL server: dbServerName name: dbName user: dbUser password: dbUserPassword infobase: id: 7b88938e-5aa8-4933-afea-8a9ec121724f name: docsIB distribute-licenses: yes schedule-jobs: allow http: base: /webAccess
You can save this information to a file using either the --out parameter of the ibcmd utility or the stdout redirection to the > file.ext file.
It is also worth noting that the standalone server running with such a configuration file will start the web client when accessing the http://localhost:8314/webAccesshttp://localhost:8314/webAccess address.
See also:
- Standalone server configuration file (see article Standalone server configuration file).