Linux / Unix

Install

  1. Upload the distribution package to the server.
  2. Extract it into the installation path and grant execute permission.
  3. Write the configuration files for your environment (msgConfig.yml, dbConfig.yml, logConfig.xml).

Run

  • Start it in the foreground, or as a daemon or a service.
  • In a production environment, we recommend that you register it with a service manager such as systemd.
  • After startup, check the health log and the DB connection log.

Shut down

  • Shut it down with a service command or by PID.
  • After shutdown, check whether the process is still present and how much is left in the Queue.

Operational recommendations

  • Check the file, log, and network permissions of the run account in advance.
  • Tune the JVM memory options and the GC policy to match your production traffic.
  • Preparing a symbolic-link-based rollback structure for deployment keeps things stable.