Easy ways to install Linux, Nginx, MySQL & PHP (LEMP) + WordPress using EasyEngine on a Debian / Ubuntu server

Must read:

Ferdian Alfianto

Ferdian Alfianto

Ferdian Alfianto is an Internet enthusiast, Mac Lover; likes using Wordpress, experimenting with Linux (especially Debian and Ubuntu), tinkering with pfSense routers, happy experimenting with LEMP (Linux, Nginx, MariaDB, PHP) and Redis. You can contact me here.

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.

Share on facebook
Facebook
Share on twitter
Twitter
Share on whatsapp
WhatsApp
Share on telegram
Telegram
Share on email
E-mail

Latest articles:

MongoDB logo
Linux

Easy to Install MongoDB on Ubuntu 20.04

This tutorial explains how to install and configure MongoDB Community Edition on Ubuntu 20.04. MongoDB is a free, open-source document database. Belongs to the so-called database family

Related article:

MongoDB logo

Easy to Install MongoDB on Ubuntu 20.04

This tutorial explains how to install and configure MongoDB Community Edition on Ubuntu 20.04. MongoDB is a free, open-source document database. Belongs to the so-called database family

rocket nginx

Rocket-Nginx + WP-Rocket: What are the Benefits?

What is Rocket-Nginx? Rocket-Nginx is a configuration add-on to Nginx for the WordPress cache plugin, WP-Rocket. The developer claims that by injecting the Rocket-Nginx configuration, the

domain

The World's Cheapest Domain Hunt!

The cheapest domain, who doesn't love getting it? Yes, even the author of this blog loves to hunt for cheap domains :). Frequently questions are asked to the author,