Independent engine

    You can use the following script to download and install XWorker.

1.Windows Script

   The following batch command is used to quickly install XWorker. The method is to enter the CMD command console of Windows (not PowerShell), create and enter an installation directory, paste and execute the following script.

    You can copy the necessary parts as needed. For example, if the system has JDK11 or above installed, you can ignore the part about installing java.

echo download java
curl https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_windows-x64_bin.zip --output openjdk-17.0.2_windows-x64_bin.zip
tar -xf openjdk-17.0.2_windows-x64_bin.zip
rename openjdk-17.0.2 jre
del openjdk-17.0.2_windows-x64_bin.zip

echo download maven
curl https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.zip  --output apache-maven-3.8.8-bin.zip
tar -xf apache-maven-3.8.8-bin.zip
del apache-maven-3.8.8-bin.zip

echo download xworker
curl https://www.xworker.org/files/xworker-2.0.4-SNAPSHOT.jar --ssl-no-revoke --output  xworker-2.0.4-SNAPSHOT.jar

echo setup
"./jre/bin/java" -jar xworker-2.0.4-SNAPSHOT.jar

2.Linux script

   The following commands are used to download and install XWorker. The method is to enter the Linux terminal, create and enter an installation directory, paste and execute the following script.

    You can copy the necessary parts as needed. For example, if the system has JDK11 or above installed, you can ignore the part about installing java.

echo download java
wget https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz
tar -xvf openjdk-17.0.2_linux-x64_bin.tar.gz
mv openjdk-17.0.2 jre
rm -f openjdk-17.0.2_linux-x64_bin.tar.gz
 
echo download maven
wget https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.zip 
unzip apache-maven-3.8.8-bin.zip -d ./
rm -f apache-maven-3.8.8-bin.zip
 
echo download xworker
wget https://www.xworker.org/files/xworker-2.0.4-SNAPSHOT.jar
 
echo setup
./jre/bin/java -jar xworker-2.0.4-SNAPSHOT.jar

 

Copyright ©  2007-2019 XWorker.org  版权所有  沪ICP备08000575号