Installing XXL-Job on ARM Server

1. Import the required software packages: docker-27.1.2.tgz, docker-compose-linux-aarch64, xxl-job-2.4.2.zip, xxl-job-admin-arrch64_2.3.1.tar2. Install Docker: “Installing Docker & Docker-Compose on ARM64 Server”

3. Import the image file

$ docker load -i xxl-job-admin-arrch64_2.3.1.tar

4. Install MySQL: “Installing MySQL on ARM Server”5. Create a database user

> CREATE USER 'xxl'@'%' IDENTIFIED BY 'Apple2009@';> GRANT ALL PRIVILEGES ON *.* TO 'xxl'@'%';> FLUSH PRIVILEGES;

6. Unzip the xxl-job package

$ unzip xxl-job-2.4.2.zip

7. Execute the SQL script

$ mysql -u root -pApple2009@ < xxl-job-2.4.2/doc/db/tables_xxl_job.sql

8. Run the container

$ docker run -e PARAMS="--spring.datasource.url=jdbc:mysql://90.2.45.193:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai --spring.datasource.username=xxl --spring.datasource.password=Apple2009@"  -p 8080:8080 -v /tmp:/data/applogs --name xxl-job-admin --restart always -d minixxie/xxl-job-admin:2.3.1

9. Test access via browser

http://<server_ip>:8080/xxl-job-admin/

10. Start the executor

$ nohup java -jar xxl-job-executor-samples/xxl-job-executor-sample-springboot/target/xxl-job-executor-sample-springboot-2.4.2.jar > /dev/null 2> /dev/null &

11. Installation complete. If you need the ARM image, please contact me in the background to obtain it.

Leave a Comment