1. mod_pagespeed 설치
64비트일경우
# wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb
# dpkg -i mod-pagespeed-stable_current_amd64.debwget https://dl-
32비트
# wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_i386.deb
# dpkg -i mod-pagespeed-stable_current_i386.deb
2. Apache 재시작
# service apache2 restart
3. memcached 설치
# apt-get install memcached
4. Memcached 정상적으로 구동중인지 확인
# netstat -tap | grep memcached
정상구동중이면
tcp 0 0 localhost:11211 *:* LISTEN 2688/memcached
5. Apache2 설정파일 수정
# nano /etc/apache2/mods-available/pagespeed.conf
해당부분을 찾아서 #를 지워줍니다.
ModPagespeedMemcachedServers localhost:11211
ModPagespeedCreateSharedMemoryMetadataCache "/var/cache/mod_pagespeed/" 51200
6. Apache2 재시작
# service apache2 restart
--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------