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. -
use
h2to store data:
> windows: start.bat
> linux: ./start.sh
-
use
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.sh
-
use
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 = pg
-
use
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.sh
Start Apache ShenYu Bootstrap
-
download apache-shenyu-${current.version}-bootstrap-bin.tar.gz
-
unzip
apache-shenyu-$\{current.version}-bootstrap-bin.tar.gz。 go to thebindirectory.
> windwos : start.bat
> linux : ./start.sh