Getting Started with PostgreSYS
This section will guide you through the installation process and the initial steps to use PostgreSYS.
- PgSmart Agent
-
Download the package
wget --user=USERNAME --password=PASSWORD https://repo.tecnisys.com.br/yum/pgsys/pgsmart/4.0.0/rhel-8-x86_64/pgsmart-agent-4.0.0-1.el8.x86_64.rpm
-
Install the RPM
rpm -ivh pgsmart-agent-4.0.0-1.el8.x86_64.rpm
-
Start the service
systemctl start pgsmart-agent
-
Retrieve the connection key
cat /opt/pgsmart-agent/pgsmart.yml | grep connectionKey
- PgSmart Client
-
Download the package
wget --user=USERNAME --password=PASSWORD https://repo.tecnisys.com.br/yum/pgsys/pgsmart/4.0.0/rhel-8-x86_64/pgsmart-client-4.0.0-1.el8.x86_64.rpm
-
Install the RPM
rpm -ivh pgsmart-client-4.0.0-1.el8.x86_64.rpm
-
Register the Agent
pgsmart config agent
- PgSmart Web
-
Install via CLI
pgsmart install -a <agent> -q --service=adm
where:
<agent>
= Alias, hostname, or IP of the server where the PgSmart Agent is installed. -
Select the options:
PgSmart Web
Metadata Database
-
Access PgSmart Web
https://<IP where the service was installed>:4435
- Using Docker
- Log in to the official Tecnisys repository
docker login -u <your email> repo.tecnisys.com.br
- Pull the image
docker pull repo.tecnisys.com.br/pgsys/pgsmart-client:4.0.0
- Run a container (mapping the access port to PgSmart Web)
docker run -p 4435:4435 -d pgsmart-client
- Optionally, access the PgSmart CLI in the running container
docker exec -it <container-id> bash
For complete instructions, refer to the detailed installation sections of each component.