Install nginx + php5-fpm + wordpress without control panel

ogah

New member
Install nginx + php5-fpm + memcached with google pagespeed + wordpress without control panel (OS Debian)
  1. 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)
  2. login SSH, by default open shell in folder /root
    enter command sudo ./nginxautoinstall.sh (or your script name)
  3. install wordpress, follow this step https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-nginx-on-ubuntu-12-04
  4. 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
  5. restart nginx
open your wordpress and view source (ctrl+u)
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>
your css and js link also changed