Score:0

How to set the path from one Ubuntu server to another Ubuntu server?

cc flag

I need to install thingworx in Ubuntu system. I have 2 systems. I need to install postgres in one system and I need to install thingworx in another system. I have already installed postgres in one system. I need to set the path of the postgres in thingworx system (another system). I have attached the error message I have received when I installed thingworx.

enter image description here

How to set the path from one system to another in Ubuntu?

Score:1
in flag

The error message is not asking you to set the path to the other server, but to the location of psql. If you are running Ubuntu 22.04, this will be in a location like /usr/lib/postgresql/14/bin.

Here is a series of steps that you can follow to ensure psql is properly part of your $PATH:

  1. If psql is not installed, you can install it like so:

    sudo apt update 
    sudo apt install postgresql-client
    

    You can confirm it's installed like this:

    psql --version
    sql (PostgreSQL) 14.5 (Ubuntu 14.5-0ubuntu0.22.04.1)
    
  2. Identify where psql is:

    locate psql 
    

    Note: You may get a message saying that locate is not installed. Feel free to install it if you wish to use this command.

  3. Create a link to /usr/bin:

    ln -s /usr/lib/postgresql/14/bin/psql /usr/bin/psql
    

Now the system will be able to connect to PostgreSQL databases.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.