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.
unzip apache-shenyu-${current.version}-admin-bin.tar.gz。 go to the bin directory.
After version 2.5.1,
start.shstarted to support custom JVM startup parameters through the environment variableADMIN_JVM.
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
use OpenGauss to store data, follow the guide document to initialize the database, go to the /conf directory, and modify the JDBC configuration in application-og.yml.
Modify spring.profiles.active in conf/application.yml to og
> windows: start.bat > linux: ./start.sh
download apache-shenyu-${current.version}-bootstrap-bin.tar.gz
unzip apache-shenyu-${current.version}-bootstrap-bin.tar.gz。 go to the bin directory.
After version 2.5.1,
start.shstarted to support custom JVM startup parameters through the environment variableBOOT_JVM.
> windwos : start.bat > linux : ./start.sh