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.
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
download apache-shenyu-${current.version}-bootstrap-bin.tar.gz
unzip apache-shenyu-${current.version}-bootstrap-bin.tar.gz。 go to the bin directory.
> windwos : start.bat > linux : ./start.sh