Publishing Server - Additional installation options
1. Installation by Command Line
Installation can also be called by command line as follows:
$priint_path\update\bin\silent-install.bat <installation-settings-file>
installation-settings-file is an XML file containing all necessary property settings to run an installation of publishing server. In fact the wizard based installation will write a file $priint\_path\\etc\\settings.install.xml and execute it this way.
Typical use case for the command line based installation is either to run unattended installations or to use special installation options not available through the wizard.
1.1. How to use command line installer
If you want to use the command line tool yourself the following approach is strongly recommended:
- Start wizard based installation and complete all pages
- On last page do not click the "Install" button but click "Save" to save the installation configuration to disk.
- Open the file settings.install.xml in a text editor and modify it according to your needs.
- Run the command line tool using your modified file.
2. Default Credentials
Default credentials can be found here: https://kb.priint.com/index.php/article/default-passwords/
3. Network Ports
Since you may use priint:publishing hub developer stack together with other web development projects, we do not use the default ports for the difference services like Glassfish, MySQL or Apache. Since we are developing for the output system priint:comet no 4, we transferred all ports into the 40.000 region, so prefixed with 4 (or 40 or 400).
| Server | Service Name | Default | Pubserver | Comment |
|---|---|---|---|---|
| Local MySQL Database | mysql demon | 3306 | 43306 | |
| Payara Server | http admin_listener | 4848 | 40048 | |
| http_listener | 8080 | 40080 | ||
| https_listener | 8181 | 40081 | Not configured by default. Needs a valid certificate when used in production. | |
| http_comet_listener | 40082 | |||
| debugger | 9009 | 40009 | Only running if Payara was started with option "--debug". | |
| Hazelcast / Cache | 5900 | 40049 |
4. Additional Installer Options
The following options can be used in settings.install.xml to control a new installation or in settings.local.bat to control an already existing installation.
4.1. Path to local database installation
Used if database server is on local machine (same machine as Payara). DBPath points to directory where database (or database tools) are installed. Typically:
SET DBPath=%DevstackPath%databaseMySQL
4.2. Address of Database Server
Remote address and port of database server.
SET DBHost=localhost
SET DBPort=43306