Here’s a guide on how to install WordPress on EasyEngine version 4 on Ubuntu 20.04 with PHP 7.4 complete with Let’s Encrypt’s free SSL certificate and Redis cache. For example, I will use a domain name with the following details:
- Domain:
omar.web.id
- Domain Alias:
www.omar.web.id
Please change according to your actual domain name.
Domain pointing
Before we start, the domain name must be pointed to the server IP address.
Create site and install WordPress
Open Linux terminal or PuTTY SSH on Windows, then login with root level user account. To start create site we will user site create
command.
Run the following commnad (don’t forget to change domain name) and press Enter
ee site create omar.web.id --alias-domains=www.omar.web.id --type=wp --cache --php=7.4 --ssl=le
If successfully, the output will be like this
Success: Cron created successfully
+--------------------+--------------------------------------+
| Site | https://omar.web.id |
+--------------------+--------------------------------------+
| Site Root | /opt/easyengine/sites/omar.web.id |
+--------------------+--------------------------------------+
| Site Title | omar.web.id |
+--------------------+--------------------------------------+
| WordPress Username | clever-kapitsa |
+--------------------+--------------------------------------+
| WordPress Password | 84YI0h6h2qEwgEIXm1 |
+--------------------+--------------------------------------+
| Alias Domains | www.omar.web.id |
+--------------------+--------------------------------------+
| DB Host | global-db |
+--------------------+--------------------------------------+
| DB Name | omar_web_id |
+--------------------+--------------------------------------+
| DB User | omar.web.id-u89sAY |
+--------------------+--------------------------------------+
| DB Password | XDyVC5WaJRwl |
+--------------------+--------------------------------------+
| E-Mail | [email protected] |
+--------------------+--------------------------------------+
| SSL | Enabled |
+--------------------+--------------------------------------+
| SSL Wildcard | No |
+--------------------+--------------------------------------+
| Cache | Enabled |
+--------------------+--------------------------------------+
| Proxy Cache | Off |
+--------------------+--------------------------------------+
Code language: JavaScript (javascript)
All web or domain will be installed in /opt/easyengine/sites/
, so in this case /opt/easyengine/sites/omar.web.id