Easy Way to Install Faster and Secure WordPress on Ubuntu

Easy Way to Install Faster and Secure WordPress on Ubuntu

To install WordPress on an Ubuntu server many steps must be done. Starting from installing the web server, PHP engine, database, and WordPress itself. To be more secure we need to install SSL for example SSL from Let’s Encrypt. Meanwhile, to speed up WordPress access speed we add a cache like Redis cache. Finally install a monitoring system to monitor server performance.

All the steps to install and configure WordPress certainly takes quite a long time. Not to mention if something goes wrong in the configuration. To simplify and speed up the installation and deployment of WordPress we can use the DevOps tool for WordPress called WordOps.

0.About WordOps

WordOps is an essential tool set that eases WordPress site and server administration. WordOps provide the ability to deploy a blazing fast and secured WordPress with Nginx by using simple and easy to remember commands. Forked from EasyEngine v3, it’s already much more than an up-to-date version of EEv3 with several new features including Let’s Encrypt wildcard SSL certificates with DNS API validation support, Linux kernel optimizations or a new custom Nginx package with TLS v1.3 and Cloudflare HTTP/2 HPACK support.

Key Features

  • Easy to install: One step automated installer with migration from EasyEngine v3 support
  • Fast deployment: Fast and automated WordPress, Nginx, PHP, MySQL & Redis installation
  • Custom Nginx build: Nginx 1.16.1 – TLS v1.3 Cloudflare HTTP/2 HPACK & Brotli support
  • Secured: Hardened WordPress security with strict Nginx location directives
  • Powerful: Optimized Nginx configurations with multiple cache backends support
  • SSL/TLS: Domain, Subdomain & Wildcard Let’s Encrypt SSL certificates handled by acme.sh
  • Monitoring: Live Nginx vhost traffic with ngx_vts and server monitoring with Netdata
  • Modern: Strong ciphers_suite, modern TLS protocols and HSTS support (Grade A+ on ssllabs)

Stacks

  • Nginx: Nginx v1.16.1 with TLS v1.3, Cloudflare HTTP/2 HPACK and Brotli support
  • PHP: PHP-FPM 7.2 & 7.3
  • MariaDB: MariaDB Server 10.3 with mariadb-backup for non-blocking database dump
  • Redis: Redis-server 5.0 for WordPress full-page cache and object-cache
  • WP-CLI: WP-CLI for WordPress setup and plugins pre-configuration
  • Netdata: Netdata for real-time Nginx, PHP-FPM, MySQL & Redis monitoring
  • Git: Git for configuration versioning with rollback if needed
  • phpMyAdmin: phpMyAdmin for MySQL databases management, Adminer also available

1.Requirements

Hardware

  • Minimum: 100MB Storage 512MB RAM
  • Recommended: Multi-core CPU, 20GB SSD Storage, 2GB RAM

Software

The following operating systems are supported:

  • Ubuntu: 16.04 LTS x86_64, 18.04 LTS x86_64, 19.04 x86_64
  • Debian: 9 x86_64, 10 x86_64
  • Raspbian: 9 armv7, 10 armv7

2.Install WordOps

Download installer script and run it.

Install WordOps
Install WordOps

Enable bash-completion.

Install main stack.

Install WordOps Stack
Install WordOps Stack

Save your username and password to login to the WordOps dashboard.

3.Install WordPress site

Install WordPress for the laradev.web.id domain.

WordOps Create Site
WordOps Create Site

Save your username and password to login to the WordPress dashboard.

Test the results of the install by browsing the domain.

Website WordPress dengan HTTP
WordPress with HTTP

4.Update WordPress site

Install SSL certificate (HTTPS)

Because it’s still HTTP, secure the website by adding SSL (HTTPS).

WordOps Site Update SSL
WordOps Site Update SSL

Browse the domain to test the HTTPS protocol. The website must redirect automatically from HTTP to HTTPS.

Website WordPress dengan HTTPS
WordPress with HTTPS

Install Redis cache

To speed up website access install Redis cache.

WordOps Site Update Redis
WordOps Site Update Redis

Redis service verification.

Redis service
Redis service

Check the Redis configuration in the WordPress dashboard, Settings-> Nginx helper.

Konfigurasi Redis cache di WordPress
Redis configuration

5.WordOps Dashboard

Login to WordOps dashboard for system monitoring.

WordOps Dashboard
WordOps dashboard
Netdata Dashboard
Netdata dashboard

6.Useful links

Default image
Musa Amin
I am a Linux System Administrator and also write many tutorials about Linux, Cloud, and Open Source. Hire me via email hai[at]musaamin.web.id.

6 Comments

  1. untuk brotli nya gimana cara aktivasi nya ya pak?

  2. 1.cara instal ioncube di wordops gmna om ?
    2.cara pindah dari wordops ke shared host tata caranya gmna om?

  3. Terima kasih dan apa pendapat Anda tentang SlickStack jika dibandingkan dengan EasyEngine atau WordOps?

    • belum pernah mencoba SlickStack, baru tahu juga. info dari web resminya, sekilas SlickStack memiliki fitur lebih banyak dibandingkan tool sejenis. menarik untuk dioprek.

Leave a Reply