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
相关推荐
薛定e的猫咪9 小时前
中国版 ReadmeX + 海外爆款 Zread.ai:两款 AI 工具重构开源项目探索方式,一键解析GitHub项目,生成超详细技术文档。
人工智能·重构·开源
luoganttcc9 小时前
开源的 gpgpu 有哪些
开源
聆风吟º9 小时前
openEuler 开源操作系统测试实战:搭建本地AI问答工具
人工智能·ai·开源·openeuler·ollama
嘴贱欠吻!10 小时前
开源鸿蒙-Flutter基础-dart学习-1
学习·flutter·开源
嘴贱欠吻!11 小时前
开源鸿蒙-基于React搭建GitCode口袋工具-3
开源·gitcode
老青蛙11 小时前
Easy Work-简单、易用、傻瓜式的 Java 流程引擎
java·开源
隐语SecretFlow11 小时前
【隐语Secretflow】如何在Docker多机部署Kuscia点对点集群
开源·资讯
周杰伦_Jay11 小时前
【免费云平台部署指南】按场景选型+全维度对比(附直达地址)
网络·人工智能·架构·开源·云计算
岚天start11 小时前
在线安装 Kubernetes(k8s)集群和开源版KubeSphere
容器·kubernetes·开源
DO_Community12 小时前
开源视频生成新标杆:美团LongCat Video全面解析与实战指南
人工智能·开源·aigc·音视频·教程·ai推理