Setup PostgreSQL in Ubuntu

PostgreSQL is a powerful, open source object-relational database system. Install PostgreSQL 1. From PPA (Recommended) Create a file /etc/apt/sources.list.d/pgdg.list, and add following line for the repository # for ubuntu 16.04 users deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main # for ubuntu 15.10 users deb http://apt.postgresql.org/pub/repos/apt/ wily-pgdg main # for ubuntu 14.04 users deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main # for ubuntu 12.04 users deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main Import the repository signing key, and update the package lists ...

June 19, 2016 · 2 min · Sanjeev Kumar Pandit

Setup XDebug in Ubuntu

Xdebug’s basic functions include the display of stack traces on error conditions, maximum nesting level protection and time tracking. Xdebug is a very powerful tool for finding out the errors and testing the implementation of logics using PHP. You can easily install Xdebug in your machine by following these instructions. Always run sudo apt-get update before installing any application. There are two sources for installation. Ubuntu: This will provide you the application compiled during the building of the OS you are using. Thus, you may get older version of the application and might not get updates frequently. PPA: You will get the latest version of the application and frequent updates on the application. [Optional] Add PPA to your Softwares List. Skip to step #4 if you don’t want to use PPA for installation. But, I recommend to use PPA for frequent updates. Enter these commands in your terminal. ...

May 24, 2016 · 3 min · Sanjeev Kumar Pandit