Skip to main content

Modify Open Service Ports

Common BI ports are described below. After deployment is complete, some configurations can be customized in the Development directory under the installation directory. Back up files before modification.

ServicePort
Web service80 (http) or 443 (https)
Internal database service3306
System operations19000
Other internal services6443

Modify Port 80 of the Web Service

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

Modify the guandata-web-service.yaml configuration file.

vim guandata-web-service.yaml

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

PS: vim Basics

  • Press i to enter edit mode and start editing text.

In normal command mode, pressing characters such as i, o, or a enters edit mode. In edit mode, you can see -- INSERT -- in the lower-left status line, indicating that any characters can be entered. At this point, all keys except [Esc] are treated as normal input keys, so you can edit freely.

  • Press [Esc] to return to normal command mode.

After editing is complete, press [Esc] to exit edit mode. You will immediately see -- INSERT -- disappear from the lower-left corner.

  • Save the file and leave the vim environment.

The command to write and quit is simple: enter :wq to save and exit.

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

image.png

Apply the modification: kubectl apply -f guandata-web-service.yaml

Modify Port 19000 of the guandata-admin Service

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

Modify the guandata-admin-service.yaml configuration file.

image.png

Apply the configuration: kubectl apply -f guandata-admin-service.yaml