Nginx:Installasi PageSpeed: Difference between revisions
Created page with "===Install the necessary dependencies=== The first thing we’ll do is install a few dependencies. Log into your server and issue the commands: sudo apt-get update sudo apt-get install libssl-dev libxslt-dev libgd-dev curl nano gnupg2 ca-certificates lsb-release git -y ===Download the ngx_pagespeed source=== Change into the src directory with the command: cd /usr/local/src Clone the necessary source code: sudo git clone https://github.com/apache/incubator-pages..." |
No edit summary |
||
| Line 13: | Line 13: | ||
Clone the necessary source code: | Clone the necessary source code: | ||
sudo git clone https://github.com/apache/incubator-pagespeed-ngx.git | sudo git clone <nowiki>https://github.com/apache/incubator-pagespeed-ngx.git</nowiki> | ||
Change into the newly created directory: | Change into the newly created directory: | ||
| Line 29: | Line 29: | ||
Use that URL to download the PSOL with a command like this: | Use that URL to download the PSOL with a command like this: | ||
sudo wget https://dl.google.com/dl/page-speed/psol/1.13.35.2-x64.tar.gz | sudo wget <nowiki>https://dl.google.com/dl/page-speed/psol/1.13.35.2-x64.tar.gz</nowiki> | ||
Extract the new file with: | Extract the new file with: | ||
| Line 215: | Line 215: | ||
==Source== | ==Source== | ||
*[https://www.techrepublic.com/article/how-to-install-google-pagespeed-to-improve-nginx-performance/ techrepublic.com] | *[https://www.techrepublic.com/article/how-to-install-google-pagespeed-to-improve-nginx-performance/ techrepublic.com] | ||
[[Category:Server]] | |||
[[Category:Web Server]] | |||
[[Category:Nginx]] | |||
[[Category:Tutorial]] | |||