Kategorie: DirectAdminVestaCP

Installation Mod_Pagespeed system for CentOS and DirectAdmin VESTACP

The following guide will help with a few commands to install Mod_Pagespeed system CentOS and DirectAdmin panels and VESTACP

Charge package pagespeed latest available version:

wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm

Then install the package at:

yum install at

Unpack and install the module package:

rpm -U mod-pagespeed-*.rpm

The last step is to add the module to the httpd conf.

VESTACP for the panel and DirectAdmin:

edit file:

/etc/httpd/conf/httpd.conf

And we add

#Google PageSpeed Module
Include /etc/httpd/conf.d/pagespeed.conf

The last step is to restart the httpd

service httpd restart

We check the installation on this page

https://ismodpagespeedworking.com/

If everything is ok, we should see something like this:

Success! Mod_Pagespeed is running on that domain.
Here are the headers we received:

200: OK
server: nginx
date: Sat, 03 Mar 2018 07:38:07 GMT
content-type: text/html; charset=UTF-8
content-length: 59961
connection: close
x-powered-by: PHP/7.0.27
vary: Accept-Encoding,Cookie
cache-control: max-age=0, no-cache, must-revalidate
x-mod-pagespeed: 1.13.35.2-0

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

4 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

4 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

4 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

4 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

4 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

4 years temu