WordOps provide the ability to deploy a blazing fast and secured WordPress with Nginx by using simple and easy to remember commands. WordOps is very lightweight, it doesn’t require a lot of resources and can be installed on low end devices. The following operating systems are supported: Ubuntu Server 20.04/22.04, Debian 10/11/12 and Raspbian 10/11/12.
Wordops Install
sudo apt-get update && sudo apt-get upgrade
wget -qO wo wops.cc && sudo bash wo
Wordops Stack Install
wo stack install
Wordops Stack Upgrade
wo stack upgrade [options]
--all |
Upgrade all stack |
--web |
Upgrade web stack |
--admin |
Upgrade admin tools stack |
--nginx |
Upgrade Nginx stack |
--php74 |
Upgrade PHP 7.4 stack |
--php80 |
Upgrade PHP 8.0 stack |
--php81 |
Upgrade PHP 8.1 stack |
--php82 |
Upgrade PHP 8.2 stack |
--php83 |
Upgrade PHP 8.3 stack |
--mysql |
Upgrade MySQL stack |
--wpcli |
Upgrade WPCLI |
--redis |
Upgrade Redis |
--netdata |
Upgrade Netdata |
--dashboard |
Upgrade WordOps Dashboard |
--composer |
Upgrade Composer |
--phpmyadmin |
Upgrade phpMyAdmin |
--adminer |
Upgrade Adminer |
--no-prompt |
Upgrade Packages without any prompt |
--force |
Force Packages upgrade without any prompt |
Wordops Creating Site
wo site create [<site-name>] [options]
Create Simple HTML Site
wo site create yoursite.com --html
Create PHP Site
wo site create yoursite.com --php
Create PHP + MySQL
wo site create yoursite.com --mysql
Create Proxy Site
wo site create yoursite.com --proxy=127.0.0.1:3000
Create Alias Site
wo site create yoursite.com --alias alias-yoursite.com
Create Let’s Encrypt
You can also issue Let’s Encrypt certificates domain or subdomains
wo site create yoursite.com --letsencrypt
Create WordPress Site
Following are the WordPress website types you can create website based on Cache Mechanism
Standard WordPress
wo site create yoursite.com --wp
WordPress multisite Subdir
wo site create yoursite.com --wpsubdir
WordPress multisite subdomain
wo site create yoursite.com --wpsubdomain
WordPress + Nginx fastcgi_cache
wo site create yoursite.com --wpfc
WordPress + Redis cache
wo site create yoursite.com --wpredis
WordPress + WP-Super-cache
wo site create yoursite.com --wpsc
WordPress + WP-Rocket cache
wo site create yoursite.com --wprocket
WordPress + Cache enabler
wo site create yoursite.com --wpce
WordPress + Custom User
wo site create yoursite.com --user=admin
wo site create yoursite.com --pass='password'
wo site create yoursite.com [email protected]
Wordops Update Site
wo site update [<site_name>] [options]
--html |
update to html site |
--php |
update to php site |
--mysql |
update to MySQL + PHP site |
--php74 |
update site to PHP 7.4 |
--php80 |
update site to PHP 8.0 |
--php81 |
update site to PHP 8.1 |
--php82 |
update site to PHP 8.2 |
--php82 |
update site to PHP 8.3 |
--wp |
update site to WordPress without cache |
--wpfc |
update site to WordPress with fastcgi_cache |
--wpsc |
update site to WordPress with wp-super-cache plugin |
--wpredis |
update site to WordPress with redis-cache |
--wprocket |
update site to WordPress with WP-Rocket plugin |
--wpce |
update site to WordPress with Cache-Enabler plugin |
--wpsubdir |
update site to WordPress multisite on subdirectories |
--wpsubdomain |
update site to WordPress multisite on subdomains |
--password |
update admin password for a WordPress site |
--letsencrypt ,-le |
secure site with Let’s Encrypt SSL certificate |
--letsencrypt=wildcard |
secure site/multisite with a wildcard SSL certificates |
--letsencrypt=off |
disable Let’s Encrypt SSL certificate |
--dns , --dns=<dns api provider> |
issue Let’s Encrypt certificate with DNS validation. default:Â dns_cf |
--hsts , --hsts=off |
Enable or disable HSTS on site secured with Let’s Encrypt |
--ngxblocker , --ngxblocker=off |
Enable or disable Ultimate Nginx bad blocker |
Wordops Delete Site
Delete site including webroot and database
wo site delete [<site_name>] [options]
--no-prompt |
delete website without confirmation prompt |
--files |
delete only website files |
--db |
delete only database |
Wordops Secure
wo secure [options]
--auth |
Set backend user credentials (user and) |
--port |
Set backend port (default: 22222) |
--ip |
Set the list of IP(s) allowed to access without authentification |
--ssh |
Harden SSH security |
--sshport |
Set custom ssh port (default: 22) |
--allowpassword |
Allow password authentification when hardening SSH security |
--force |
Force hardening SSH security without being prompt for confirmation |
Wordops Update
wo update --force
Wordops Commands
Upgrade MariaDB to the MariaDB
wo stack migrate --mariadb --force
Clean NGINX FastCGI cache, Opcache, Redis Cache
wo clean [options]
--fastcgi |
clean Nginx fastcgi_cache |
--redis |
clean Redis cache |
--opcache |
clean opcache |
--all |
clean all cache |
Information related to Nginx, PHP and MySQL
wo info [options]
--nginx |
Get Nginx configuration information |
--php |
Get All PHP versions configuration information |
--php74 |
Get PHP 7.4 configuration information |
--php80 |
Get PHP 8.0 configuration information |
--php81 |
Get PHP 8.1 configuration information |
--php82 |
Get PHP 8.2 configuration information |
--php83 |
Get PHP 8.3 configuration information |
--mysql |
Get MySQL configuration information |