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-incubating-${current.version}-admin-bin.tar.gz. go to thebindirectory.use
h2to store data:
> windows: start.bat --spring.profiles.active = h2
> linux: ./start.sh --spring.profiles.active = h2- 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.
> windows: start.bat --spring.profiles.active = mysql
> linux: ./start.sh --spring.profiles.active = mysql- use
PostgreSqlto store data, follow the guide document to initialize the database, go to the/confdirectory, and modify theJDBCconfiguration inapplication-pg.yml.
> windows: start.bat --spring.profiles.active = pg
> 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.
> windows: start.bat --spring.profiles.active = oracle
> linux: ./start.sh --spring.profiles.active = oracleStart Apache ShenYu Bootstrap#
download apache-shenyu-incubating-${current.version}-bootstrap-bin.tar.gz
unzip
apache-shenyu-incubating-${current.version}-bootstrap-bin.tar.gz。 go to thebindirectory.
> windwos : start.bat
> linux : ./start.sh