Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to deploy the Dubbo-admin server

Shulou Source: shulou.com Published: 2022-06-01 08:36:58 09月26日 Update

This article mainly explains "how to deploy Dubbo-admin server". The explanation content in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian slowly and deeply to study and learn "how to deploy Dubbo-admin server" together!

1, Download dubbo-admin server version

2. Upload to server and extract tar-zxvf xxxx.tar.gz

3. Enter the decompressed directory

4. Port 8080 is started by default, and there may be conflicts.

Modify the port of dubbo-admin-server

Modify the port of dubbo-admin-ui

Mvn Clean, Mvn Package

Executing to this location may result in npm run build faild; enter the dubbo-admin-ui directory and execute npm run build

Building for production... Killed; is the server memory is not enough, so give him a separate memory configuration out to solve;

Execute command:

sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024

sudo /sbin/mkswap /var/swap.1

sudo /sbin/swapon /var/swap.1

Then again mvn clean, mvn package;

it will wait for more than ten to twenty minutes for installation at this location, and it will take a long time to open a new terminal to execute commands;

The following diagram shows that nodes are being built,

Packaging success:

Go to dubbo-admin-distribution directory

Execute command:java -jar dubbo-admin-0.2.0.jar

Start successfully; visit ip:8094 and the following page will appear, indicating that the deployment has been successful.

Thank you for reading, the above is the "Dubbo-admin server how to deploy" content, after learning this article, I believe we have a deeper understanding of how to deploy the Dubbo-admin server, the specific use of the situation also needs to be verified. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

Tags: Server service success command directory port learning location memory content will report the following figure not enough 20 representative again that is ideas situations articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi vpn Linux Docker Shulou Information