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 Admin#
unzip
apache-shenyu-${current.version}-admin-bin.tar.gz。 go to thebindirectory.
After version 2.5.1,
start.shstarted to support custom JVM startup parameters through the environment variableADMIN_JVM.
- use
h2to store data:
> windows: start.bat
> linux: ./start.shuse
MySQLto store data, follow the guide document to initialize the database, copy mysql-connector.jar to /$(your_work_dir)/ext-lib, go to the/confdirectory, and modify theJDBCconfiguration inapplication-mysql.yml.Modify
spring.profiles.activeinconf/application.ymltomysql
> windows: start.bat
> linux: ./start.shuse
PostgreSqlto store data, follow the guide document to initialize the database, go to the/confdirectory, and modify theJDBCconfiguration inapplication-pg.yml.Modify
spring.profiles.activeinconf/application.ymltopg
> windows: start.bat
> linux: ./start.sh --spring.profiles.active = pguse
Oracleto store data, follow the guide document to initialize the database, go to the/confdirectory, and modify theJDBCconfiguration inapplication-oracle.yml.Modify
spring.profiles.activeinconf/application.ymltooracle
> windows: start.bat
> linux: ./start.shuse
OpenGaussto store data, follow the guide document to initialize the database, go to the/confdirectory, and modify theJDBCconfiguration inapplication-og.yml.Modify
spring.profiles.activeinconf/application.ymltoog
> windows: start.bat
> linux: ./start.shStart Apache ShenYu Bootstrap#
download apache-shenyu-${current.version}-bootstrap-bin.tar.gz
unzip
apache-shenyu-${current.version}-bootstrap-bin.tar.gz。 go to thebindirectory.
After version 2.5.1,
start.shstarted to support custom JVM startup parameters through the environment variableBOOT_JVM.
> windwos : start.bat
> linux : ./start.sh