![]() When the process is complete, switch the user to postgres to be able to execute Postgres commands with Postgres default user by running: su - postgres This will install Postgres along with its associated dependencies. When that is done, install Postgres by running: sudo apt-get install postgresql postgresql-contrib Next, update your server packages and dependencies by running: sudo apt-get update Then input your relevant user password or SSH key password if any. Server_ip is the IP address of your server ![]() Server_user is your server user you would like to log in with The first thing to do is SSH into your server by running: ssh _ip In this step, you will be installing Postgres on your server.
0 Comments
Leave a Reply. |