Skip to main content
Version: V1.0

Start installation

Please note that this installer needs to correspond toApp Service Version

We will provide you with a complete module package, which will be installed and deployed in your intranet environment.

The installation process takes about 40 to 60 minutes. If you accidentally close the terminal session in the middle of the process, you can simply execute the installation command again.

danger

If you do not have our product deployment package, you should contact our sales personnel.

Deployment package structure

tip

Whether it is single-node deployment or multi-node deployment, you only need to operate in the first machine to complete the installation normally.

If the language displayed during installation is not a common language, you canChange the installation display language

If you download our product deployment package, you will see the following files in the current directory of the server:

xxxxxxxx.tar.gz: (Product module package (corresponding to the name of the pre-check dependency file, ending with the tar.gz suffix))

checker-xxxx-xx-xx.tar.gz: (The pre-check package needs to be associated with the pre-check dependency file)

caution

Due to large files, please move these files to a directory with large space, otherwise the installation will not be completed normally.

The file name may not be the same as the one you downloaded due to content requirements. In the actual deployment, change the command according to the actual file name.

Pre-check

Decompress the pre-check package

/root/checker-z0Lbrkw2j.tar.gz
tar xvf checker-z0Lbrkw2j.tar.gz
tip

If an error is encountered during decompression, the probability is that the package is not downloaded completely. Try downloading again

Installing the python environment

tip

bash install.sh [args]

Args:

--force : Optional Parameter, clear the previous python environment

bash install.sh

Execute the command, and you should see the following output

[2021-05-28 19:43:25] - [INFO]: Install Python3 env.
[2021-05-28 19:43:25] - [INFO]: Python Path: /usr/local/python 3.7.6/bin/python3
[2021-05-28 19:43:25] - [INFO]: Python Version: Python 3.7.6
[2021-05-28 19:43:25] - [INFO]: Install Succeed
tip

If you execute the above command and the result is inconsistent with the above, it indicates that the python3 environment may remain in your environment

In order to complete the installation normally, it is recommended that you re execute the command and add the -- force Parameter to clear the previous python environment

Perform pre-check

If the deployment language is not your common language, you can Change deployment language Is your common language. Unfortunately, at present, only Simplified Chinese and English are supported

/usr/local/python-3.7.6/bin/python3 run.py --check
info

Fill in key points

  • The language version refers to the subsequent logo, login page and other language version information
  • If a single node is deployed and only intranet IP is used for access, the load balancing IP is the server IP
  • If a single-node deployment requires public IP access, the server IP is the intranet IP, and the load balancing IP is the public IP
  • Multi-node deployment needs to fill in all node information. The load balancing IP is the actual lb IP
  • The deployment directory is very important. All services will be installed in this directory. It is strongly recommended to set it as a separate folder. For example: /data/laiye

caution

The pre-check will check whether your server meets the deployment conditions. If it does not meet the requirements, it cannot be deployed normally

Of course, if the hardware is not different. You can choose to force deployment, that is, add the -- force Parameter after -- gen

If you encounter difficulties during installation, you can refer toInstallation troubleshooting

Install Docker environment

/usr/local/python-3.7.6/bin/python3 run.py --gen

tip

If no error is returned and the QR code is displayed normally, the Docker environment deployment is successful. On the contrary, you can useTroubleshooting

Please keep this QR code because we need it when we officially authorize it

Run Installation

tip

This step takes a long time to install, please wait patiently (About 40 minutes)

The installation path must use an absolute path instead of a relative path

If the mandatory check fails, you need to add the -- force Parameter to force deployment

If you encounter errors during installation, you can use theInstallation exception removal

/usr/local/python-3.7.6/bin/laipvt -f /root/79e698f55.tar.gz

All logs will be output to the console during installation, so this article only captures the beginning and end of the figure

info

Congratulations, if you see the above log output, it means that your service has basically been installed. Next, let's visit it with a web page.

Verify installation

[root@pvt-test-commander-01 checker-z0Lbrkw2j]# kubectl get po -A
NAMESPACE NAME READY STATUS RESTARTS AGE
istio-system istio-ingressgateway-766cd89bbb-8vxvw 1/1 Running 2 2d9h
istio-system istio-ingressgateway-766cd89bbb-qhsr2 1/1 Running 2 2d9h
istio-system istiod-9f76c5d9c-ghj4q 1/1 Running 3 2d9h
istio-system istiod-9f76c5d9c-kd42v 1/1 Running 2 2d9h
kube-system coredns-7d9985555d-95fsn 1/1 Running 2 2d9h
kube-system coredns-7d9985555d-klsqz 1/1 Running 2 2d9h
kube-system etcd-master-01 1/1 Running 2 2d9h
kube-system kube-apiserver-master-01 1/1 Running 2 2d9h
kube-system kube-controller-manager-master-01 1/1 Running 3 2d9h
kube-system kube-flannel-ds-ns2r5 1/1 Running 2 2d9h
kube-system kube-proxy-vfc97 1/1 Running 2 2d9h
kube-system kube-scheduler-master-01 1/1 Running 3 2d9h
mid license-manager-55646b7fc9-zrvmk 2/2 Running 4 2d9h
rpa host-mqsubscriber-55bd4cd99f-wbxdj 1/1 Running 7 2d9h
rpa host-scheduler-55d5856d4f-75kf8 1/1 Running 7 2d9h
rpa view-commander-5b64d55fb9-brwgd 2/2 Running 4 2d9h
rpa view-global-ng-85d99f7b7c-h2mrx 2/2 Running 4 2d9h
rpa webapi-commander-bd5f55f89-ncn6t 2/2 Running 9 2d9h
rpa webapi-global-dd88cc94f-hxr4f 2/2 Running 9 2d7h
rpa webapi-open-c786f9545-r8495 2/2 Running 9 2d9h
rpa websocket-creator-867955d489-b97w5 2/2 Running 10 2d9h
rpa websocket-vnc-c665cd7c7-w4d88 2/2 Running 10 2d9h
rpa websocket-worker-5bc9f9cff-sdxgj 2/2 Running 10 2d9h

The following status indicates that all services are running. In most cases, the webpage can be logged in normally and the function is normal

info
Platform addressLogin addressDefault user name/passwordremarks
Tenant platformhttp://172.17.228.230:8081admin/123456Tenant management platform
Laiye Automation Commanderhttp://172.17.228.230:8080You need to go to the tenant system creation organization to generateLaiye Automation Commander
Laiye Intelligent Document Processinghttp://172.17.228.230:8082The tenant organization has synchronous tenant organization. If it does not exist, admin/123456Laiye Intelligent Document Processing

There are three situations after deployment

  • If only Mage is deployed
  • If the deployment includes Commander, you need to create an organization in the tenant system before you can log in to Commander or Image using the organization account
  • If the deployment includes Chatbot, you need to create an organization in the tenant system before you can log in using the organization account

If you cannot use the web page to access after installation, you can use theOperation troubleshooting

So far, our installation work is complete