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-incubating-${current.version}-admin-bin.tar.gz
. go to thebin
directory.use
h2
to store data:
> windows: start.bat --spring.profiles.active = h2
> linux: ./start.sh --spring.profiles.active = h2
- 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
.
> windows: start.bat --spring.profiles.active = mysql
> linux: ./start.sh --spring.profiles.active = mysql
- 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
.
> windows: start.bat --spring.profiles.active = pg
> 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
.
> windows: start.bat --spring.profiles.active = oracle
> linux: ./start.sh --spring.profiles.active = oracle
#
Start Apache ShenYu Bootstrapdownload apache-shenyu-incubating-${current.version}-bootstrap-bin.tar.gz
unzip
apache-shenyu-incubating-${current.version}-bootstrap-bin.tar.gz
。 go to thebin
directory.
> windwos : start.bat
> linux : ./start.sh