System Environment Setup¶
Update the /etc/environment file:¶
Follow the instructions below to ready the /etc/environment file for
the system installation:
Open the
/etc/environmentfile:sudo nano /etc/environment
Add the followings environment variables to the
/etc/environmentfile:export HOST_NAME="<kubernetes.machine.name>" export API_SERVER_HOST_NAME="<cloud.reportingtool.org>" export POSTGRESQL_SERVER_HOST_NAME="<cloud.reportingtool.org>" export RABBITMQ_SERVER_HOST_NAME="<rabbitmq.reportingtool.org>" export REGISTRY_SERVER_HOST_NAME="<cloud.reportingtool.org>" export TRAEFIK_SERVER_HOST_NAME="<traefik.reportingtool.org>"
Press Ctrl + X button and the enter Y to save the updates.
Reload the
/etc/environmentfile:. /etc/environment
Update the /etc/hosts file¶
Follow the instructions that follow to ready the /etc/hosts file for
the system installation:
Open the
/etc/hostsfile:sudo nano /etc/hosts
Add the followings hosts line to the
/etc/hostsfile:<10.118.16.9> <cloud.reportingtool.org> <rabbitmq.reportingtool.org> <traefik.reportingtool.org>
Please remember to replace the sections with angular brackets with actual values.
Please note that this assumes that the cloud, rabbitmq and traefik are all on a single server.
Press Ctrl + X button and the enter Y to save the updates.
Reload the
/etc/hostsfile:. /etc/hosts
Install jq¶
jq is a lightweight and flexible command-line JSON processor. Follow the instructions that follow to install it on your system:
sudo apt-get install jq