Installing mod_pagespeed on Ubuntu

The mod_pagespeed extension is designed to reduce the load time of pages on a web site by performing certain optimizations such as  optimizing images and minifying CSS and JavaScript. This guide covers installing mod_pagespeed on an Apache server running under Ubuntu 12.04. The process should be the same for later versions of Ubuntu as well.