Automation Scripts for WordPress — Part 2 Webinoly

Webinoly

Components and Options

Installation Overview

Step 1. Open the Required Ports

  1. Port 22/TCP (Inbound/Outbound) — Standard SSH port
  2. Port 587/TCP (Outbound) — SMTP port (Port 25 is blocked by default. You would need to apply for permission to open it. Read the full documentation here.)
  3. Port 80/TCP (Inbound/Outbound) — Standard HTTP port
  4. Port 443/TCP (Inbound/Outbound) — Standard HTTPS port
  5. Port 22222/TCP (Inbound only) — Webinoly admin tools port
  6. Port 11371/TCP (Outbound only) — To connect to GPG Key Server
from-port-number/to-port-number
0.0.0.0/0

Step 2. Configure your Domain and DNS

  1. ‘A’ record with the host ‘@’ and the value of your servers public IP address
  1. ‘CNAME’ record with the host ‘www’ and the value of the domain name

Step 3. Install Webinoly

$ ssh your_user@your_server_ip
$ sudo apt-get install -y software-properties-common python-software-properties
$ sudo apt-get update
$ wget -qO weby qrok.es/wy && sudo bash weby 3
$ webinoly -verify
$ sudo httpauth -add

Step 4. Create your WordPress Site

$ sudo site create an-example-domain.com -wp -cache
$ sudo site create an-example-domain.com -wp=default -cache

Step 5. Add Let’s Encrypt SSL for HTTPS

$ sudo site another-example-domain.com -ssl-on

Step 6. Complete Your WordPress Installation

Step 7. Configure Server Caching Plugins

Configure Redis with Redis Object Cache Plugin

$ sudo nano /var/www/another-example-domain.com/wp-config.php
define( 'WP_CACHE_KEY_SALT', 'another-example-domain.com' );
define( 'WP_CACHE', true );

Configure Nginx FastCGI Cache Purging with NGINX Helper Plugin

  1. HIT — The page was returned from cached.
  2. MISS — The page wasn’t returned from cache, but if you reload you should get a HIT as this caches the page.
  3. BYPASS — The page is cached, but wasn’t returned from cache. (usually the case if you are logged in)

Webinoly Real Time Logging

$ sudo log
<no option>    # View access logs
-wp # View WordPress debug logs
-error # View PHP Error logs
-mail # View Mail logs
-php # View PHP logs
-mysql # View MySQL logs

Summary

EasyEngine vs. Webinoly

--

--

--

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Migrate Data from an Amazon ES Domain to an Alibaba Cloud Elasticsearch Cluster

Beam Hard Fork Announcement

See How Alibaba Cloud Powered Some of China’s Best Classrooms in the Cloud

I set up API Gateway caching — here are some things that surprised me

Manage Customer Relations with SuiteCRM on Alibaba Cloud

CoreData with Codable

How to Install Webmin on Ubuntu 18.04

Better Validation Errors in Go Gin

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com

More from Medium

Spell checking Markdown documents using a Github action

How to: Launching a web server on an ECS instance (2/2)

Getting Started With AWS Lambda

How to create a Docker image using Docker File and push it on Docker Hub.