If before I used Tuxlite to install LAMP (Linux, Apache, MySQL, PHP + WordPress), but in the last almost year, I've been using more EasyEngine to install LEMP (Linux, Nginx, MySQL, PHP + WordPress).
EasyEngine installation method is as easy as installing Tuxlite. Apart from being discontinued by the programmer, there are also some EasyEngine features that Tuxlite doesn't have, such as:
- Ease of installing an SSL certificate with Let's Encrypt.
- Many cache system options for WordPress, such as W3Total Cache, WP Super Cache, Nginx's FastCGI Cache & Redis Cache.
- Automatic update to get new EasyEngine features.
- Can install standard WordPress, or WordPress multisite.
- Has a command to monitor log files.
- More complete documentation.
- There is community support, and other features.
EasyEngine Installation Method
Before starting the installation, please note that EasyEngine (until I write this blog), only supports distros:
- Ubuntu 12.04, 14.04 and 16.04
- Debian 7 and 8.
For other distributions such as CentOS, RHEL, etc .; unsupported and no plans from the developer to support it.
To start the installation, please copy and paste the following command into your Debian or Ubuntu server:
wget -qO ee rt.cx/ee && sudo bash ee
Automatically the above command will install EasyEngine and all the required support software.
Install WordPress
To install WordPress, use the following command.
Install WordPress without caching:
ee site create domain.com --wp
Install WordPress with W3 Total Cache caching:
ee site create domain.com --w3tc
Install WordPress with WP Super Cache caching:
ee site create domain.com --wpsc
Install WordPress with Nginx FastCGI caching:
ee site create domain.com --wpfc
Install WordPress with Nginx Redis caching:
ee site create domain.com --wpredis
Install Let's Encrypt
In order for your WordPress site to be accessible with HTTPS urls, you must install an SSL certificate. Alhamdulillah, EasyEngine SSL certification installation is very easy to use the services of Let's Encrypt. Run the command:
ee site update domain.com --letsencrypt
Let's Encrypt's SSL certificate is only valid for 90 days, and must be renewed if you want to continue using it. Alhamdulillah again, EasyEngine will install automatically crontab so that when the SSL certificate expires, EasyEngine will renew it.
Many other commands to maximize the performance of your WordPress & server. For example, you can use ElasticSearch and ElasticPress to replace the WordPress search engine; or how to optimize APC Cache, and so on. Just visit the site EasyEngine for the complete guide.
After installing EasyEngine, don't forget to secure the server with Fail2Ban + (D) DOS Deflate, or simpler with Dome9 Cloud Security.