This is the third article in the EasyEngine Series .
In the previous post, you already know how to install EasyEngine .
In this article, you will learn how to install a WordPress website using the EasyEngine script.
Contents
Install WordPress using Easy Engine
Compared to many other scripts, installing WordPress using EasyEngine is extremely easy.
For many other scripts, you must add a domain before installing WordPress. But this is not necessary with EasyEngine.
You can add a domain and install WordPress at the same time with just one command.
Here are the commands to add a domain and install WordPress:
ee site create example.com --wp
ee site create example.com --w3tc
ee site create example.com --wpsc
ee site create example.com --wpfc
ee site create example.com --wpredisThe difference is in the last parameter. Its meaning is as follows:
- –wp: Install a simple WordPress website
- –w3tc: Install a WordPress website with the W3 Total Cache plugin
- –wpfc: Install a WordPress site + nginx fastcgi_cache
- –wpsc: Install WordPress with WP Super Cache plugin
- –wpredis: Install WordPress + Redis cache
If you are confused about which option to choose, I recommend choosing the command with the w3 total cache option. Because it’s light and universal.
With the above command, the admin account username and password will be generated automatically. You can specify the user name and password you want with the following command:
ee site create example.com --w3tc --user=thinhnv2 --pass=123456With the command on the default WordPress website running on PHP 5.6. To use PHP 7 you change the command as follows:
ee site create example.com --w3tc --user=thinhnv2 --pass=123456 --php7
This is the result of running the command to add domain and install WordPress:

Although EasyEngine seems to have configured some cache options in W3 Total Cache. But it’s not like that.
You still need to go to W3 Total Cache’s configuration screen to turn it on. Go to Performance -> General Settings.
Page Cache : check the Enable option and select Disk: Enhanced .

Section Database Cache and Object Cache , you turn on and select Memcached . Then click on the Save Settings and Purge Caches button .

You see, installing WordPress on Ubuntu using EasyEngine is as simple as Shared Hosting.
Next, I will summarize the commonly used website management commands
All website management commands you can refer to HERE
How to command website management
Command to delete website:
To delete the entire website, you use the following command. See more options here.
ee site delete domain.comAccess the root directory of a website
To access the root directory of a website, use the following command:
ee site cd domain.comView website information
To view website information, use the following command:
ee site info domain.comTo edit the NGINX configuration of a certain website (located in /etc/nginx/sites-available) use the following command:
ee site edit domain.comYou will be asked which text editor to use, choose nano for simplicity. After you fix it, NGINX will automatically test and restart.
See list of websites
To see the list of websites you have installed on the server, use the following command:
ee site listCommand to clear cache
If you clear the cache of all FastCGI, Memcache, OPcache, and PageSpeed caches, use the following command:
ee clean --allSee more here.
View system and website logs
The log view commands you refer to here.
Epilogue
With today’s article you have learned how to install WordPress on Ubuntu using EasyEngine.
Next, let’s go through the location of the configuration files in EasyEngine .
Or you can also jump right to the Let’s Encrypt certificate installation guide with EasyEngine .

