Install nginx + php5-fpm + memcached with google pagespeed + wordpress without control panel (OS Debian)
if your installation success, you will see something like this after <body> tag
your css and js link also changed
- Go to https://github.com/nicolargo/debianpostinstall/blob/master/nginxautoinstall.sh copy script and upload to folder /root in your server and make it executable (CHOWN 744 or 777)
- login SSH, by default open shell in folder /root
enter command sudo ./nginxautoinstall.sh (or your script name) - install wordpress, follow this step https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-nginx-on-ubuntu-12-04
- edit /etc/nginx/sites-available/wordpress
enable and conigure page speed. you can see example in http://xmodulo.com/speed-nginx-web-server-pagespeed.html - restart nginx
if your installation success, you will see something like this after <body> tag
Code:
<noscript><meta HTTP-EQUIV="refresh" content="0;url='http://yourdomain.com/?PageSpeed=noscript'" /><style><!--table,div,span,font,p{display:none} --></style><div style="display:block">Please click <a href="http://yourdomain.com/?PageSpeed=noscript">here</a> if you are not redirected within a few seconds.</div></noscript>