Skip to main content

Modify Open Service Ports

BI common port descriptions are as follows. After deployment is complete, you can install the Development directory in the deployment directory for partial configuration customization (be sure to backup before modification).

ServicePort
Web Service80 (http) or 443 (https)
Internal Database Service3306
System Operation & Maintenance19000
Internal Other Services6443

Modify web service port 80

cd /home/guandata/autoOffLineInstall/Development/guandata-web

Modify the guandata-web-service.yaml configuration file

vim guandata-web-service.yaml

------------------------------------------------------------------------------------------------------------------

ps: vim introduction

  • Press i to enter edit mode and start editing text

In general command mode, just press i, o, a and other characters to enter edit mode! In edit mode, you can find that the status column in the lower left corner will show –INSERT-, which is a prompt that you can input any characters! At this time, except for the [Esc] key on the keyboard, other keys can be treated as general input buttons, so you can perform any editing!

  • Press [ESC] button to return to general command mode

Okay, suppose I have finished editing according to the above style, then how should I exit? Yes! That's right! Just press the [Esc] button! You will immediately find that the – INSERT – in the lower left corner of the screen is gone!!

  • Save file and exit vim environment

The command to save (write) and exit (quit) is very simple, just input ":wq" to save and exit!


image.png

Make modifications effective kubectl apply -f guandata-web-service.yaml

Modify guandata-admin service port 19000

cd /home/guandata/autoOffLineInstall/Development/guandata-admin

Modify the guandata-admin-service.yaml configuration file

image.png

Make configuration effective kubectl apply -f guandata-admin-service.yaml