Skip to main content
Version: 2.5.1

Binary Packages Deployment

This article introduces the deployment of the Apache ShenYu gateway using the binary packages.

Before you read this document, you need to complete some preparations before deploying Shenyu according to the Deployment Prerequisites document.

Start Apache ShenYu Admin#

After version 2.5.1, start.sh started to support custom JVM startup parameters through the environment variable ADMIN_JVM.

  • use h2 to store data:
> windows: start.bat
> linux: ./start.sh
  • use MySQL to store data, follow the guide document to initialize the database, copy mysql-connector.jar to /$(your_work_dir)/ext-lib, go to the /conf directory, and modify the JDBC configuration in application-mysql.yml.

  • Modify spring.profiles.active in conf/application.yml to mysql

> windows: start.bat
> linux: ./start.sh
  • use PostgreSql to store data, follow the guide document to initialize the database, go to the /conf directory, and modify the JDBC configuration in application-pg.yml.

  • Modify spring.profiles.active in conf/application.yml to pg

> windows: start.bat
> linux: ./start.sh --spring.profiles.active = pg
  • use Oracle to store data, follow the guide document to initialize the database, go to the /conf directory, and modify the JDBC configuration in application-oracle.yml.

  • Modify spring.profiles.active in conf/application.yml to oracle

> windows: start.bat
> linux: ./start.sh

Start Apache ShenYu Bootstrap#

After version 2.5.1, start.sh started to support custom JVM startup parameters through the environment variable BOOT_JVM.

> windwos : start.bat 
> linux : ./start.sh