Step 1: bundle your spring boot application to jar
, and then upload it to your VPS (via git)
Step 2: you may need to install java 8 (most common)
# update
um -y update
# install java 8
yum install java-1.8.0-openjdk
# check version
java -version
For detailed information, you can check this link: https://www.liquidweb.com/kb/install-java-8-on-centos-7
Step 3: run your application
java -jar {application}