Armpro搭建教程全开源版的教程

Armpro搭建教程 全开源版的教程,其他未知

资源宝整理分享 www.httple.net

首先ssh执行指令安装运行环境

php 复制代码
yum install java-1.8.0-openjdk* -y

导入文件服务器

php 复制代码
导入arm.zip到www目录下然后解压
导入jar包.zip到www目录然后解压
导入basic.zip到www目录然后解压

在宝塔内安装

  1. MySQL8.0
  2. php8.0
  3. Redis 6.2.6
  4. Redis数据管理工具

放行全部端口宝塔安全组(如果是阿里云还需前往阿里云安全组放行端口)

  1. 1-65535端口
  2. 数据库名字:mitu
  3. 用户名:mitu
  4. 密码:mitu

Redis根据jar包/production/配置

  1. redis.port=5555
  2. redis.password=armadillo666
  3. 库数量16

在www/arm/res 搜索xzp. 将全部dex里的xzp.修改为你的域名,这个域名只需解析了你的服务器ip即可,无需其他操作(不可以套cdn)

接下来配置软件端,apk文件搜索47.120.5.将它改成你的域名(同上)

挂载jar包命令

php 复制代码
cd /www
php 复制代码
nohup java -jar Ultima-1.0-SNAPSHOT.jar -sp 10000 -ep 10020 -io 125 -s 15000 -x 16000 >> run.log 2>&1 &

这样arm就搭建成功了

------------------------补充教程---------------------------------------------------

挂jar

php 复制代码
nohup java -jar Ultima-1.0-SNAPSHOT.jar -sp 10000 -ep 10020 -io 125 -s 15000 -x 16000 >> run.log 2>&1 &
php 复制代码
nohup java -Dfile.encoding=UTF-8 -jar Ultima-1.0-SNAPSHOT.jar >> run.log 2>&1 &
php 复制代码
java -jar Ultima-1.0-SNAPSHOT.jar -sp 10000 -ep 10020 -io 125 -s 15000 -x 16000

php 复制代码
cd /www
php 复制代码
java -jar Ultima-1.0-SNAPSHOT.jar -sp 20000 -ep 20020 -io 125 -s 25000 -x 26000
php 复制代码
-CreateCard -CardCount 100 -CardType 1 -CardValue 1 -CardOut 100月卡.txt
php 复制代码
-CreateCard -CardCount 100 -CardType 2 -CardValue 1 -CardOut 100年卡.txt
php 复制代码
-CreateCard -CardCount 100 -CardType 1 -CardValue 6 -CardOut 100半年卡.txt
php 复制代码
-CreateCard -CardCount 100 -CardType 1 -CardValue 3 -CardOut 100季度卡.txt
php 复制代码
-CreateCard -CardCount 100 -CardType 2 -CardValue 99 -CardOut 100永久卡.txt

正常启动

php 复制代码
nohup java -jar Ultima-1.0-SNAPSHOT.jar -sp 10000 -ep 10020 -io 125 -s 15000 -x 16000 >> run.log 2>&1 &

需要创建充值卡的时候

php 复制代码
cd /www
php 复制代码
java -jar Ultima-1.0-SNAPSHOT.jar -sp 20000 -ep 20020 -io 125 -s 25000 -x 26000
php 复制代码
-CreateCard -CardCount 100 -CardType 1 -CardValue 1 -CardOut 100月卡.txt
-CreateCard -CardCount 100 -CardType 2 -CardValue 1 -CardOut 100年卡.txt
-CreateCard -CardCount 100 -CardType 1 -CardValue 6 -CardOut 100半年卡.txt
-CreateCard -CardCount 100 -CardType 1 -CardValue 3 -CardOut 100季度卡.txt
-CreateCard -CardCount 100 -CardType 2 -CardValue 99 -CardOut 100永久卡.txt
相关推荐
时光慢煮18 小时前
基于 Flutter × OpenHarmony 图书馆管理系统之构建搜索栏
flutter·华为·开源·openharmony
时光慢煮19 小时前
基于 Flutter × OpenHarmony 图书馆管理系统之构建模块选择器(底部导航栏样式)
flutter·开源·openharmony
PaQiuQiu20 小时前
GitHub 开源分享 | Coding Interview University
面试·开源·github
CoderJia程序员甲1 天前
GitHub 热榜项目 - 日榜(2026-01-17)
ai·开源·大模型·github·ai教程
纵有疾風起1 天前
【Linux 系统开发】基础开发工具详解:自动化构建、版本控制与调试器开发实战
linux·服务器·开发语言·c++·经验分享·开源·bash
csdn_aspnet1 天前
热门开源项目,分享一些真实使用体验
开源
万岳科技系统开发1 天前
开源上门预约系统源码,如何实现智能排班与时间冲突校验?
小程序·开源
时光慢煮1 天前
基于 Flutter × OpenHarmony 图书馆管理系统之构建书籍列表
flutter·华为·开源·openharmony
IT陈图图1 天前
基于 Flutter × OpenHarmony 的图书馆管理系统之书籍卡片模块构建
flutter·开源·鸿蒙·openharmony
Yeats_Liao1 天前
显存瓶颈分析:大模型推理过程中的内存管理机制
python·深度学习·神经网络·架构·开源