начало внимание
This article contains instructions for the deprecated BRIX On-Premises in MicroK8s with PostgreSQL 10 database. It is supported up to system version 2024.4. Upgrading edition and database is not available. Please update to the current BRIX On-Premises edition.
конец внимание
If you want to use a proxy server to install and operate the system, you need to assign new values to the environment variables that are used to define the proxy.
Open the /etc/environment
configuration file (for example, sudo nano /etc/environment
) and add the following values:
HTTPS_PROXY="http://proxy_user:proxy_pass@host:port/"
HTTP_PROXY="http://proxy_user:proxy_pass@host:port/"
NO_PROXY="localhost,example.com,127.0.0.0/8,10.0.0.0/8,169.254.0.0/16,192.168.0.0/16,100.64.0.0/10,172.16.0.0/12,cluster.local,linkerd.svc"
https_proxy="http://proxy_user:proxy_pass@host:port/"
http_proxy="http://proxy_user:proxy_pass@host:port/"
no_proxy="localhost,example.com,127.0.0.0/8,10.0.0.0/8,169.254.0.0/16,192.168.0.0/16,100.64.0.0/10,172.16.0.0/12,cluster.local,linkerd.svc"
Where:
proxy_user
is the username used to log in to the proxy server.
proxy_pass
is the password used to log in to the proxy server.
host
is the proxy server’s host.
port
is the proxy server’s port.
Save and close the file.
начало внимание
You have to sign out and sign in to the system again to activate the new proxy settings.
конец внимание
Make sure that the IP addresses, IP ranges, and domains that the proxy should not be used for are specified in the no_proxy
and NO_PROXY
variables.
After setting up the proxy server, install BRIX. Read more in Install BRIX to MicroK8s.
Change proxy settings
To change the proxy’s settings, you need to assign new values to the environment variables used to set the proxy.
To do that:
- Open the
/etc/environment
file (for example,sudo nano /etc/environment
) and change the values in it in the same way you specified them when you were setting up the proxy. Save and close the file. - Sign out and sign in to the system again to activate the new proxy settings.
- Run the following command:
elma365ctl reconfigure
You will see the settings that are currently used and the new settings from the environment variables.
- Confirm that you want to change the proxy’s settings. Then move on to configuring other parameters (you can leave them as they are). After that the services will restart with the new proxy settings.
Note that when using a proxy, you need to add custom services using elma365ctl
commands: add-service
, expose-service
, and delete-service
.