Apusic文档中心
首页
  • 应用服务器 AAS
  • 负载均衡器 ALB
  • 分布式消息队列 ADMQ
  • 分布式缓存 AMDC
  • 分布式配置中心 ADCC
  • Java开发工具包软件 AJDK
  • 搜索引擎 ASE
  • 中间件云平台 ACP
  • 统一管理平台 AUMP
  • 云原生中间件管理 ACMP
  • DevOps平台 ADOP
  • 许可授权中心 ACLS
  • Copilot智能问答系统 ACS
  • 监控平台 AMP
  • 智能日志 AILP
  • 应用性能管理 AAPM
  • 智能告警 AAlarm
  • 金蝶Apusic AI 极光
  • 主数据管理 AMDM
  • 数据交换平台 ADXP
  • 企业服务总线 AESB
  • 数据智脑 ADPR
  • 服务治理 ASGP
  • 统一身份管理 AIDM
  • 标准模板
  • Markdown教程 (opens new window)
  • VuePress官方社区 (opens new window)
  • 帮助
贡献文档 (opens new window)
首页
  • 应用服务器 AAS
  • 负载均衡器 ALB
  • 分布式消息队列 ADMQ
  • 分布式缓存 AMDC
  • 分布式配置中心 ADCC
  • Java开发工具包软件 AJDK
  • 搜索引擎 ASE
  • 中间件云平台 ACP
  • 统一管理平台 AUMP
  • 云原生中间件管理 ACMP
  • DevOps平台 ADOP
  • 许可授权中心 ACLS
  • Copilot智能问答系统 ACS
  • 监控平台 AMP
  • 智能日志 AILP
  • 应用性能管理 AAPM
  • 智能告警 AAlarm
  • 金蝶Apusic AI 极光
  • 主数据管理 AMDM
  • 数据交换平台 ADXP
  • 企业服务总线 AESB
  • 数据智脑 ADPR
  • 服务治理 ASGP
  • 统一身份管理 AIDM
  • 标准模板
  • Markdown教程 (opens new window)
  • VuePress官方社区 (opens new window)
  • 帮助
贡献文档 (opens new window)
文档中心
  • 金蝶Apusic应用服务器

    • 产品白皮书
    • 产品更新说明
    • Product Whitepaper
    • 產品白皮書
    • V10.0.8SP12标准版

    • V10.0.8SP12标准版_繁體

    • V10.0.8SP12标准版_EN

      • Installation and Deployment
      • Quick Start
      • User Manual
      • Console User Manual
      • Command Line Operation Guide
      • Monitoring Metrics
      • API Documentation
      • Release Notes
    • V10.0.8SP11企业版

    • V10.0.8SP11标准版

    • V10.0.8SP10企业版

    • V10.0.8SP9企业版

    • V10.0.8SP9标准版

    • V10.0.8SP8企业版

    • V10.0.8SP8标准版

    • V10.0.8SP9智能安全版

    • V9.0.0SP9企业版

    • V9.0.0SP8企业版

    • V10.0.8SP8国际版

    • V10.0.10标准版

    • V10.0.10SP1企业版

    • V10.0.11标准版

    • 迁移工具V1.0

    • 金蝶Apusic应用迁移工具

  • 金蝶Apusic负载均衡器

  • 金蝶Apusic分布式消息队列

  • 金蝶Apusic分布式缓存

  • 金蝶Apusic分布式配置中心

  • 金蝶Apusic Java开发工具包软件

  • 金蝶Apusic全文检索

Installation and Deployment

# Preface

This document is the installation guide for Kingdee Apusic Application Server V10 Standard Edition. It describes system environment requirements, installation methods, and more, and is intended for developers who develop applications with Kingdee Apusic Application Server, system administrators of production environments, and operations personnel.

# Intended Audience

​ This manual is primarily intended for developers who develop applications with Kingdee Apusic Application Server, system administrators of production environments, application release engineers, and technical operations personnel. The following skills will help you better understand and use the Kingdee Apusic Application Server manuals:

  • Familiar with common Linux commands
  • Basic system administration tasks
  • Installing and managing software

# Related Documentation

For more information about the AAS V10 Standard Edition product, refer to the following AAS V10 product documentation set:

No.DocumentationDescription
1Kingdee Apusic Application Server V10 Standard Edition Installation GuideProvides detailed instructions on how to install AAS on various operating systems, as well as AAS service start/stop operations and the product registration process
2Kingdee Apusic Application Server V10 Standard Edition Quick Start GuideBriefly introduces how to quickly get started with AAS
3Kingdee Apusic Application Server V10 Standard Edition User ManualProvides detailed instructions on the usage and operation of AAS-related features, guiding users through system installation and deployment, feature operations, parameter configuration, daily operations and maintenance, and troubleshooting
4Kingdee Apusic Application Server V10 Standard Edition Administration Console User ManualProvides detailed instructions on the usage and operation of AAS Administration Console features, guiding users to perform operations through the visual administration console
5Kingdee Apusic Application Server V10 Standard Edition Command-Line Operation GuideProvides detailed instructions on how to operate and use AAS through the command line
6Kingdee Apusic Application Server V10 Standard Edition Monitoring Metrics DocumentationProvides detailed descriptions of various types of AAS monitoring metrics
7Kingdee Apusic Application Server V10 Standard Edition API DocumentationProvides detailed information about AAS APIs

# Technical Support

The Kingdee Apusic Application Server product provides comprehensive technical support services. You can obtain technical support in the following ways:

  • Website: www.apusic.com
  • Phone: 400-855-5800
  • Email: support@apusic.com
  • Kingdee Cloud Community: https://vip.kingdee.com/?productId=73&productLineId=14&lang=zh-CN

When seeking technical support, please provide the following information:

  1. Your name
  2. Company information and contact details
  3. Operating system and version
  4. Product version number
  5. Details of any exceptions and errors, such as logs and screenshots

# Product Introduction

# Overview

Kingdee Apusic Application Server V10 Standard Edition is a JAVAEE-compliant web application server. As a lightweight application server, it is typically used in scenarios that require efficient application system development.

# Terms

AAS: Kingdee Apusic Application Server

AE: Product package identifier of Kingdee Apusic Application Server Standard Edition

APUSIC_HOME: Installation directory of Kingdee Apusic Application Server

# System Environment Requirements

# Platform Environment

Kingdee Apusic Application Server is compatible with various operating systems, as shown in the following table.

Table 1: Operating systems supported by Kingdee Apusic Application Server V10 Standard Edition

Operating SystemDescription
WindowsWindows 7, Windows 10, Windows Server
LinuxCentOS, Ubuntu, SUSE, Red Hat
Chinese domestic platformsGalaxy Kylin series, NeoKylin series, i-soft, Red Flag, Deepin, etc.

# System Environment

The recommended system environment for Kingdee Apusic Application Server is as follows.

Table 2: System environment for Kingdee Apusic Application Server V10 Standard Edition

System ComponentRequirement
Java environmentJDK 8 or later; JDK 8u252 or later is recommended for HTTP/2
MemoryAt least 512 MB of memory; 1024 MB or more is recommended
Disk spaceAt least 1024 MB of disk space; 10 GB or more is recommended

# Package Contents

The product installation package is usually packaged as AAMS-[version].tar.gz or AAMS-[version].zip.

In this document, ${APUSIC_HOME} indicates the installation directory of the application server.

Table 3: Kingdee Apusic Application Server V10 Standard Edition product packages

PackageDescription
AAMS-[version].zip/AAMS-[version].tar.gzInstallation package of Kingdee Apusic Application Server V10 Standard Edition

The following describes the product package of Kingdee Apusic Application Server V10 Standard Edition.

Table 4: Contents of the Kingdee Apusic Application Server V10 Standard Edition product package

FileDescription
binDirectory that contains the scripts for starting and stopping the application server
confDirectory that contains the configuration files of the application server
consoleDirectory that contains the console of the application server
libDirectory that contains the JAR files of the application server
logsDefault directory of application server log files
pluginsDirectory that contains the application server plugins
storeData warehouse directory, where various types of data are centrally stored
webappsDirectory for auto-deploying application packages
webapps-consoleDirectory for application packages deployed through the console
webapps-jakartaDirectory for deploying Jakarta EE application packages
tempDirectory for temporary files of the application server
workStores the class files generated from JSP compilation
license.xmlLicense file of the product package

# Installation and Uninstallation

# Java Environment

Before installation, confirm the Java environment. JDK 1.8.0_201 or later is recommended. Run the following command to check the JDK version:

[user@test bin]# java -version
java version "1.8.0_212"
Java(TM) SE Runtime Environment (build 1.8.0_212-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode)
1
2
3
4

You can specify the Java runtime environment by adding JAVA_HOME at the beginning of apusic.sh or apusic.bat, for example:

set JAVA_HOME="/opt/java/jdk1.8.0_271"
1

# Installation

Prepare the installation package AAMS-V10.0.8-SP12-AE-20260701.tar.gz or AAMS-V10.0.8-SP12-AE-20260701.zip, copy it to a directory with the required permissions, and extract it.

The installation is complete once the package is extracted.

Run tar -zxvf AAMS-V10.0.8-SP12-AE-20260701.tar.gz
or unzip AAMS-V10.0.8-SP12-AE-20260701.zip
1
2

# Uninstallation

Delete all files under the installation directory ${APUSIC_HOME}/ to uninstall the product. Uninstallation loses all configured files of the current AAS instance. Proceed with caution.

# License Authorization

AAS requires a valid license to work properly. Normally, Kingdee Apusic provides a matching license according to the product version purchased. If the license expires or becomes invalid during use, contact your Kingdee Apusic service representative first to apply for a new license.

The product provides two authorization modes: standard authorization and centralized authorization.

# Standard Authorization

Standard authorization generates a license.xml file based on the IP address, domain name, or the like, and the license file is placed in the installation directory: ${APUSIC_HOME}/license.xml.

image1

If the management console is installed, the system administrator admin logs in to the management console, clicks the license icon in the upper-right corner, clicks "Update License", uploads a valid license file, and saves it to complete the update. The new license file takes effect after AAS is restarted.

# Centralized Authorization

Centralized authorization connects to an authorization center for unified licensing. The Kingdee Apusic authorization center must be set up first. For details, refer to the Kingdee Apusic License Authorization Center User Manual, or contact Kingdee Apusic technical support.

Configure environment variables in the operating system, or create an acls.properties file in the root directory of the AAS installation directory and add the following parameters:

apusic_acls_enable=true
apusic_acls_authUrls=127.0.0.1:6886
apusic_acls_ns=apusic
apusic_acls_tenant=ApusicTest
1
2
3
4

Description of the connection parameters:

Table 5: Connection parameters of the Kingdee Apusic license authorization center

Parameter Description
apusic_acls_enable Whether to enable authorization center authentication. Valid values: true or false; true enables authorization center authentication. If this parameter is absent or set to false, authorization center authentication is disabled;
apusic_acls_authUrls Address of the authorization center. Multiple authorization addresses can be set in the format ip1:port1,ip2:port2; if one authorization address fails to connect, the others are polled in turn. Required if authorization center authentication is enabled; the port is the HTTPS port of the authorization center;
apusic_acls_ns Namespace that the instance belongs to. Optional parameter; default value: public. You can view the available namespaces in the authorization center management console under System Management - Authorization Management.
apusic_acls_tenant Tenant that the instance belongs to. Optional parameter.

AAS automatically connects to the Apusic authorization center at startup.

# Obtaining the Auth Code

If the license expires or becomes invalid during use, contact your Kingdee Apusic service representative first to apply for a new license. When applying for a new license, provide the product auth code to the Kingdee Apusic representative.

In ${APUSIC_HOME}/bin, run apusic.sh -ac [ethname or ip], where [ethname or ip] is an IP address or a network interface name, for example:

apusic.sh -ac 127.0.0.1
1

The auth code is printed as follows, where Auth Code= is followed by the auth code:

Using APUSIC_BASE:   /opt/AAS/AAMS-V10.0.0
Using APUSIC_HOME:   /opt/AAS/AAMS-V10.0.0
Using APUSIC_TMPDIR: /opt/AAS/AAMS-V10.0.0/temp
Using JRE_HOME:        /usr/local/java/jdk1.8.0_231/jre
Using CLASSPATH:       /opt/AAS/AAMS-V10.0.0/bin/bootstrap.jar:/opt/AAS/AAMS-V10.0.0/bin/aas-juli.jar
Using APUSIC_OPTS:
Auth Code=SZTY829390371
1
2
3
4
5
6
7

After obtaining the auth code, provide it to apply for the license file.

# Obtaining the Auth Code (Embedded Deployment)

When AAS is integrated with Spring Boot, the apusic command for obtaining the auth code is unavailable, and the auth code must be obtained through your application.

If you have a temporary license file that allows the application to start, remove the license file first, then add the JVM parameter apusic-ac to the startup command. Its value is an IP address or a network interface name, for example (eth3 is the network interface name of the test machine; change it according to your actual network information):

java -jar -Dapusic-ac=eth3 boot-quickstart-1.0.jar
1

Because no license file is present, the application stops during startup. Before it stops, the auth code is printed as follows, where Auth Code= is followed by the auth code:

Auth Code=SZTY263537626
license is invalid.
1
2

# Starting the Server

# On Linux

After the installation is complete and the license file is updated, go to ${APUSIC_HOME}/bin and run apusic.sh run.

You can also run ./startapusic.sh to start the service.

# On Windows

After the installation is complete and the license file is updated, go to ${APUSIC_HOME}\bin and run apusic.bat run.

You can also run startapusic.bat to start the service.

# Stopping the Server

# On Linux

​ 1. Ctrl + C

​ If the server was started in the foreground, press Ctrl + C to exit and stop AAS.

​ 2. stopapusic.sh

​ Go to ${APUSIC_HOME}/bin and run stopapusic.sh.

​ 3. Kill the process

​ The server can be stopped with kill [PID]

# On Windows

​ 1. Ctrl + C

​ If the server was started in the foreground, press Ctrl + C to exit and stop AAS

​ 2. stopapusic.bat

​ Go to ${APUSIC_HOME}\bin and run stopapusic.bat.

​ 3. Stop the process

​ Open Task Manager, locate the process, and stop it.

# Accessing the Console

The management console starts by default when the server starts. Visit the system address in a browser: https://127.0.0.1:6848/aas-console.

Log in with the system administrator account:

  • Username: admin
  • Password: Apusic@123

Note: The password must be changed on first login.

image1

# Deploying Applications

# Auto Deployment

Kingdee Apusic Application Server supports automatic application deployment. Place the application package file, such as test1.war, in the ${APUSIC_HOME}/webapps/ directory and start the application server to complete the deployment.

# Console Deployment

Kingdee Apusic Application Server supports deploying applications through the console. The system administrator logs in to the management console, goes to [App Management] - [Applications], clicks "Deploy Application", uploads the application as instructed, and confirms the deployment to complete the operation.

# Command-Line Deployment

Kingdee Apusic Application Server supports deploying applications from the command line. Go to ${APUSIC_HOME}/bin, run ./aascli.sh, enter the username and password, and run app deploy --app-name=test1 --app-path="/opt/demo/test1.war"

# Accessing Applications

On a client such as a browser, the URL format is usually http://[IP]:[port]/[application context path], for example http://127.0.0.1:6888/test1 .

编辑页面 (opens new window)

← 發版說明 Quick Start→

  • 浅色模式