Installation on Linux and Windows
Installation on Linux
- Download the required version from EnterpriseDB
- Login as root and execute below commands
[root@host]# chmod +x postgresql-10.10-1-linux-x64.run [root@host]# ./postgresql-10.10-1-linux-x64.run
- Provide location, port number, password of the username etc., to complete the installation.
Installation on Windows
- Download the required version from EnterpriseDB
- Run the executable file and specify the installation directory.
- Select the components as per your requirement. Stack Builder is used to download additional components for future purpose.
- Provide the password.
- provide port number
- Setup is ready now to start the installation process.
- Installation takes few minutes to complete.
- Verify the installation.
- Open psql
- Provide servername, database name, port number, user name and password which you have provided during installation.
- Check the version using
select version();
Connect to database
- open pgadmin 4
- provide password
- If server is not already available, create by right clicking on Servers and provide hostname, username and passsword.
- Open Querytool by right clicking on the database you created.