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