This guide with photos explain how exactly to install WordPress under five minutes on Nginx Ubuntu VPS making use of tool that is easyengine. This article also part of my previous article about EasyEngine, a nice tool that is easy fast install Nginx (complete stack) on Ubuntu-based VPS. Therefore be sure to read that first it and how to install it.( if you are wondering what is*******)
Step 1 – Install EasyEngine (ee) following my guide that is previous here******).
Step 2 – Edit standard ee setup making use of your text that is favorite editorI use Nano):
Step 3 – Look for these lines of configuration:
Step 4 – Edit lines that are necessaryand/or components you might think it requires to alter). A hint, the absolute most part that is important wpadminuser, wpadminpass and wpadminemail.
Once done, save changes and exit (Control+O then Control+X).
Step 5 – Now issue one of these commands to install wordpress:
Basic WP install (without any caching):
ee site create domain.com --wp --basic
WP Install with w3 Cache that is total plugin**********)
ee website create domain.com --wp --w3tc
WP Install with WP Super Cache plugin:
ee website create domain.com --wp --wpsc
Obviously you must change “domain.com” with your personal domain title. Complete listing of available commands can here be found.
Why should I use command that is different i have to install WordPress with W3TC or WPSC plugin? Good concern. That’s because both plugins need certainly to include particular rules that are rewrite entries in .htaccess file (Apache) while Nginx does not support .htaccess so you’ll have to specify either W3TC or WPSC’s custom .htaccess rules to Nginx’s configuration (obviously you’ll need to convert from htaccess to nginx conf at first). Normally you can do that manually following my articles here for W3TC and here for WPSC. Luckily, using EasyEngine you don’t have to do that manually as ee will automate the task and do the part that is hard you.
In this instance I’ll install fundamental WP website:
ee website create domain.com --wp --basic
That’s it. You will newly test your installed WordPress by opening it on your browser:
Do not forget to login to WP Dashboard page via domain.com/wp-admin and sign in using username that is defined password in step three above.
Can i take advantage of WP SEO-friendly / pretty permalink with Nginx? Could I alter standard WP permalink? Yes it is possible to. Pretty permalink is enabled automatically and yes it is possible to change it out to something different and never have to modify Nginx conf file (or .htaccess in Apache).
(I believe the task can be done in 5 minutes*****)If you did everything above correctly. Enjoy