If you have done all the things right in installation of cakephp on Ubuntu system as per specified in various sites and have made changes in apaches settings but still cakephp is not working on Ubuntu then try uncommenting the
Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’));
line in core.php of cakephp installation.