Skip to content

Instantly share code, notes, and snippets.

@saxenap
Last active December 31, 2015 01:45
Show Gist options
  • Save saxenap/8799c2c7211d9cf9815f to your computer and use it in GitHub Desktop.
Save saxenap/8799c2c7211d9cf9815f to your computer and use it in GitHub Desktop.
Installs Google's PageSpeed module (mod_pagespeed)
#!/bin/bash
# To get:
# rm -rf mod_pagespeed-install && wget -O mod_pagespeed-install https://gist.githubusercontent.com/saxenap/8799c2c7211d9cf9815f/raw && chmod 777 mod_pagespeed-install && ./mod_pagespeed-install
wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
sudo yum install at
sudo rpm -U mod-pagespeed-*.rpm
sudo service httpd restart
echo " Installed: PageSpeed module (mod_pagespeed)."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment