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
相关推荐
不悔哥3 天前
开源OV-Watch:怎么做一个智能手表
单片机·开源·嵌入式
家和803 天前
Carla仿真系列:4_在 Carla 的 Tesla 上装 4 路摄像头,并创建网格为环视拼接做准备
开源
感谢地心引力3 天前
我用 Doubao-Seed-2.1-pro 做了一个深度融入 AI 功能的本地知识库软件
ai·开源·seed·markdown·豆包
alsmile3 天前
Node-RED 之外,国产规则引擎的新方案:基于标准语法,Go 先行实现
后端·开源·go
瑶山3 天前
开源编程Agent-OpenCode完整使用教程
开源·agent·ai编程·opencode
m4Rk_3 天前
【论文阅读】Agent 记忆机制(77):TSM——让记忆回到事件真正发生的时间
论文阅读·人工智能·学习·开源·github
十六年开源服务商3 天前
2026网站主题打包方案深度解析
开源
小葱运维3 天前
命名与环境规范
运维·开源·云计算
菩提小狗3 天前
每日极客日报 · 2026年09月21日
ai·开源·极客日报·it热点·技术资讯