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 Adminunzip
apache-shenyu-${current.version}-admin-bin.tar.gz
。 go to thebin
directory.
After version 2.5.1,
start.sh
started to support custom JVM startup parameters through the environment variableADMIN_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 theJDBC
configuration inapplication-mysql.yml
.Modify
spring.profiles.active
inconf/application.yml
tomysql
> 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 theJDBC
configuration inapplication-pg.yml
.Modify
spring.profiles.active
inconf/application.yml
topg
> 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 theJDBC
configuration inapplication-oracle.yml
.Modify
spring.profiles.active
inconf/application.yml
tooracle
> 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 theJDBC
configuration inapplication-og.yml
.Modify
spring.profiles.active
inconf/application.yml
toog
> windows: start.bat
> linux: ./start.sh
#
Start Apache ShenYu Bootstrapdownload apache-shenyu-${current.version}-bootstrap-bin.tar.gz
unzip
apache-shenyu-${current.version}-bootstrap-bin.tar.gz
。 go to thebin
directory.
After version 2.5.1,
start.sh
started to support custom JVM startup parameters through the environment variableBOOT_JVM
.
> windwos : start.bat
> linux : ./start.sh