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
相关推荐
熊猫钓鱼>_>12 小时前
文心4.5开源之路:从封闭到开放的力量
开源
Java中文社群13 小时前
Coze开源版?别吹了!
人工智能·后端·开源
猫头虎15 小时前
GitHub下载教程:2025年最新详解从GitHub上传、下载文件、子目录与完整项目【图文教程】
git·svn·gitee·开源·github·gitea·gitcode
学不动CV了17 小时前
单片机ADC采集机理层面详细分析(二)
c语言·arm开发·stm32·单片机·嵌入式硬件·开源·51单片机
阿坡RPA20 小时前
coze 开源版本地部署及踩过的坑【喂饭级教程】
开源·aigc
kymjs张涛21 小时前
零一开源|前沿技术周刊 #9
前端框架·开源·github
HelloGitHub21 小时前
《HelloGitHub》第 112 期
开源·github
Olrookie1 天前
若依前后端分离版学习笔记(一)——本地部署
笔记·后端·开源
草梅友仁1 天前
草梅 Auth 1.1.0 发布与最新动态 | 2025 年第 30 周草梅周报
开源·github·ai编程
Xi_Xu2 天前
Xget:下一代开源资源获取加速引擎,让你的文件下载、储存库克隆和镜像拉取快如闪电
开源·github