Pages

Tuesday, 26 January 2016

Installing postgresql in Ubuntu/Trusty64 vagrant box!

                                                   So to install postgresql in vagrant ubuntu/trusty64 it's quite simple first of all run this command in terminal like this ...


This file will basically create a file in /etc/apt/sources.list.d/ directory which we name pgdg.list and will open this file in nano text editor .. so all you gotta do now is add the following line as shown in the pic below


after saving this run this one more command in the terminal[note :- i forgot to add this step when i was actually writing this post now i use babun so terminal may look different :p only for this step ]



Now all you gotta do is update the system using "sudo apt-get update" after this just add the following command to get this latest version of postgresql


As you can see it's postgresql 9.5 which is latest at the day i'm writing this blog! That's it!

No comments:

Post a Comment