Skip to content

How to install mod_pagespeed on Ubuntu

November 3, 2010

cd ~
# 64-bit
wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_amd64.deb
#32-bit
# wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_i386.deb
sudo dpkg -i mod-pagespeed*.deb
rm mod-pagespeed*.deb

Now configure the module:

nano /etc/apache2/mods-available/pagespeed.conf

You only need to worry about setting ModPagespeedDomain to your domain. Make sure you restart Apache:

sudo /etc/init.d/apache2 restart

Refresh your site a few times (yes, multiple times) and then look at the source to confirm it’s working.

3 Comments leave one →
  1. November 3, 2010 3:58 pm

    It really is that simple isn’t it? Installed beautifully on my Linux/Plesk box.

  2. Kevin permalink
    November 4, 2010 1:10 pm

    Posted some results here:

    http://subsoftware.posterous.com/does-modpagespeed-really-work

  3. February 2, 2012 9:28 am

    This is the EXACT type of instruction I was looking for.

    Thanks very much.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.