Cara Aman Install WordPress dengan WordOps di Ubuntu 20.04

WordOps adalah salah satu LEMP Stack (Linux, Nginx, MySQL/MariaDB, dan PHP-FPM), yang sangat ringan, cepat dan aman untuk install, deploy, dan administrasi server WordPress.

Persyaratan

Minimum

  • ~100MB of storage
  • 512MB RAM

Direkomendasikan

  • Multi-core CPU
  • 20GB SSD storage
  • 2GB RAM

Virtualisasi

Dibawah ini beberapa virtualisasi yang disupport:

  • VMware
  • XEN
  • OpenVZ
  • KVM
  • Hyper-V
  • LXC / LXD

Fitur Utama

Fitur utama WordOrps
WordOrps Lemp Stack

Install WordOps

Update ubuntu dan install wordops

apt update -y
wget -qO wo wops.cc && sudo bash wo

Aktifkan bash_completion

source /etc/bash_completion.d/wo_auto.rc

Install main stack

wo stack install

WordOps install lemp stack

Simpan username dan password untuk login ke dashboard wordops.

WordOps Dashboard

WordOps dashboard
WordOps netdata status
WordOps Monitoring
WordOps Nginx status

MySQL Root Password

Anda bisa melihat password root disini:

nano /etc/mysql/conf.d/my.cnf

Untuk membuka phpMyAdmin atau Adminer, silakan ke Dashboard WordOps dan pilih tab Database

Kelola database dengan Adminer di WordOps

Disini saya memakai Adminer untuk kelola Database, karena sangat ringan dari phpMyAdmin dan sudah terbiasa memakainya

Default password Filemanager eXtplorer

Secara default Anda bisa mengakses filemanager eXtplorer dengan user: admin dan password: admin

Membuat Website HTML

wo site create html.serbasnack.my.id --html
wo site update html.serbasnack.my.id -le

Membuat Website PHP MySQL

wo site create php.serbasnack.my.id --mysql -le

WordOps secara default sudah membuatkan user dan database jika kita menambahkan prefix –mysql dan kita tinggal akses untuk melihat detilnya:

nano /var/www/php.serbasnack.my.id/wo-config.php

Install WordPress

Untuk uji coba kita akan install WordPress, mengaktifkan SSL Lets Encrypt dan Redis Cache

wo site create wo.serbasnack.my.id --wp -le --wpredis

Simpan user admin dan password untuk masuk ke dashboard wordpress

Uji Coba WordPress

Hasil uji coba WordPress Nginx Redis, saya memakai theme Astra dan started template, rasanya seperti whuzzzz…

Untuk mengganti password Dashboard WordOps

Gunakan perintah ini untuk menggati password Dashboard WordOps

wo secure --auth

Perintah lain WordOps

Site

Perintah site digunakan untuk CRUD dalam istilah web development

wo site (command) [options]
subcommanddescription
createCreate site with WordOps
updateUpdate site type or configuration
showShow site Nginx configuration
editEdit site Nginx configuration
deleteDelete site
listlist all sites
enableEnable site in Nginx
disableDisable site in Nginx
cdMove into site webroot directory

Clean

Untuk membersihkan Cache

wo clean [options]
optional argumentsdescription
–fastcgiclean Nginx fastcgi_cache
–redisclean Redis cache
–opcacheclean opcache
–allclean all cache

Stack

Kelola operasi stack

wo stack (command) [options]
subcommanddescription
installInstall WordOps stacks
upgradeUpgrade WordOps stack
removeUninstall packages
purgeUninstall & purge packages
reloadReload WordOps stack
restartRestart WordOps stack
stopStop WordOps stack
startStart WordOps stack
cdMove into site webroot directory

Lebih lanjut tentang WordOps, baca dokumentasi disini

Informasi Server

1 Core @ 3.50+ GHz
Fair Share CPU Usage
512 MB Memory
10 GB SSD Storage
Unmetered Bandwidth
1 IPv4 Address
DC Las Vegas

Selamat mencoba 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *