The production mode (both with/without compilation) does not load CSS and JS

After installing Magento 2 with “One click image” on Digital Ocean (Ubuntu 14.04, Apache 2.4) cant bring it to PR mode: without compilation - doesnt load CSS and JS (console: Failed to load resource: the server responded with a status of 404 (Not Found)); with compilation - 500 server error (sys log: magento2 Broken reference: the ‘store.settings.currency’ tries to reorder itself towards ‘store_language’, but their parents are different: ‘store.settings’ and ‘header.panel’ respectively).
Dev mode works fine.

Yoy should setup the proper filesystem permissions: http://devdocs.magento.com/guides/v2.0/install-gde/install/file-system-perms.html

Login ssh then go to magento root directory1: rm -rf var/di/ var/generation/ var/cache/ var/page_cache/ var/view_preprocessed/ var/composer_home/cache/2: php bin/magento setup:static-content:deploy3: chmod 777 -R var/* or chmod 777 var -Rchmod 777 -R pub/* or chmod 777 pub -R