Installing magento 2 does not deploy the /pub/static/frontend and backend

You get 404 responses probably because you don't have mod_rewrite enabled. You should enable it. But it can work without it. There is a 'cache' system for these static resources. navigate to the folder dev/tools/Magento/Tools/View and run this in the command line

php deploy.php

It works perfect. But still if you have issues then let me know.

------ EDIT ------

Edit as per the Chirag Bhavsar's answer.Enter below command from root of the Magento folder. New command will be

php bin/magento setup:static-content:deploy

An easier would be to run below command from magento root folder.

php bin/magento setup:static-content:deploy

This will feed the content perfectly in respective folders. If you have specific language then run like below.

php bin/magento setup:static-content:deploy en_US
php bin/magento setup:static-content:deploy en_GB

The static content deploy process is described as below:

1) Delete adminhtml,frontend and _requirejs folders from pub/static folder.

2) Please don't delete the .htacces file in that pub/static folder.

3) Delete all folders in the directory var/cache.

4) Give 777 permission to both pub and var folders.

5) Run the command:

php bin/magento setup:static-content:deploy