EasyEngine と Nginx の Ubuntu にワードプレスをインストールする方法

This tutorial with pics explain how to install WordPress under 5 minutes on Nginx Ubuntu VPS using easyengine tool. This article also part of my previous article about EasyEngine, a nice easy tool to quick install Nginx (complete stack) on Ubuntu-based VPS. So please read that first if you are wondering what is it and how to install it.

ステップ 1 – Install EasyEngine (ee) following my previous guide here.

ステップ 2 – Edit default ee configuration using your favorite text editor (I use Nano):

nano /etc/easyengine/ee.conf

ステップ 3 – Look for these lines of configuration:


ステップ 4 – Edit necessary lines (or the parts you think it needs to change). A hint, the most important part is wpadminuser, wpadminpass and wpadminemail.


一度行って, save changes and exit (Control+O then Control+X).

ステップ 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 Total Cache plugin:

ee site create domain.com --wp --w3tc

WP Install with WP Super Cache plugin:

ee site create domain.com --wp --wpsc

Obviously you have to replace “domain.com” with your own domain name. Complete list of available commands can be found ここは.

Why should I use different command when I need to install WordPress with W3TC or WPSC plugin? Good question. That’s because both plugins need to add specific rewrite rules / 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 そして here for WPSC. おかげさまで, using EasyEngine you don’t have to do that manually as ee will automate the task and do the hard part for you.

In this example I’ll install basic WP site:

ee site create domain.com --wp --basic



それです. Now you can test your newly 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 defined username and password in step 3 上記.

Another example:



Can I use WP SEO-friendly / pretty permalink with Nginx? Can I change default WP permalink? Yes you can. Pretty permalink is enabled by default and yes you can change it to something else without having to edit Nginx conf file (or .htaccess in Apache).

If you did everything above correctly I believe the task can be done in 5 分. Enjoy


また好むかもしれない 著者より