Created
August 28, 2011 19:33
-
-
Save ninetwentyfour/1177110 to your computer and use it in GitHub Desktop.
Lightning Fast PHP Server With Nginx, eAccelerator, and Varnish 2 - blogpost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo /etc/init.d/php5-fpm restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo /etc/init.d/nginx restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install varnish |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkill varnishd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo varnishd -f /etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
varnishlog |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 SessionOpen c 192.168.10.101 51732 :80 | |
12 ReqStart c 192.168.10.101 51732 1440203205 | |
12 RxRequest c GET | |
12 RxURL c /favicon.ico | |
12 RxProtocol c HTTP/1.1 | |
12 RxHeader c Host: www.ironyogistudios.com | |
12 RxHeader c User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 | |
12 RxHeader c Accept: image/png,image/*;q=0.8,*/*;q=0.5 | |
12 RxHeader c Accept-Language: en-us,en;q=0.5 | |
12 RxHeader c Accept-Encoding: gzip,deflate | |
12 RxHeader c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 | |
12 RxHeader c Keep-Alive: 115 | |
12 RxHeader c Connection: keep-alive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment