Postgres installation on Ubuntu

https://help.ubuntu.com/community/PostgreSQL

1. Installing server locally

$sudo apt-get install postgresql postgresql-contrib

2. Administration using GUI tool pgAdmin3

$sudo apt-get install pgadmin3

3. Basic server setup

$sudo -u postgres psql postgres

\password postgres

Give password when prompted. Then type Control+D or \q to exit the posgreSQL prompt.

4. Create database

How to Install Latest Nodejs, Npm, Angular 2, Typescript on Ubuntu 16.04

https://tecadmin.net/install-latest-nodejs-npm-on-ubuntu/#

Run following scripts

$ sudo apt-get install python-software-properties

$ curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -

$ sudo apt-get install nodejs

$ node -v

$ npm -v

Now install Angular

$ sudo npm install -g @angular/cli

$ ng -v

Now install Typescript

$ sudo npm install -g typescript

$ tsc -v

$ sudo npm install -g gulp