No menu items!
    HomeTutsUbuntuHow to install WordOps on VPS or Dedicated Servers with Ubuntu

    How to install WordOps on VPS or Dedicated Servers with Ubuntu

    WordOps provide the ability to deploy a blazing fast and secured WordPress with Nginx by using simple and easy to remember commands. In this step-by-step guide, we’ll walk you through the process of installing WordOps on VPS running Ubuntu 22.04 LTS.

    Here our recommended hardware configuration for production

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

    Install WordOps Ubuntu 22.04

    Update the system with the following command

    apt update -y && apt list --upgradable

    Installed WordOps with the following command

    wget -qO wo && sudo bash wo

    Installing WordOps stacks

    Once the installation is done, you can optionally install WordOps stacks using the follwing command

    wo stack install
    –webGroupNginx, PHP, MySQL, WP-CLI
    –adminGroupphpMyAdmin, Adminer, Dashboard, Netdata, MySQLTuner …
    –utilsGroupOpcacheGUI, Webgrind, Anemometer
    –nginxAPT packagenginx stack
    –phpAPT packagePHP8.0-FPM stack
    –php73APT packagePHP7.3-FPM stack
    –php74APT packagePHP7.4-FPM stack
    –php80APT packagePHP8.0-FPM stack
    –php81APT packagePHP8.1-FPM stack
    –mysqlAPT packageMariaDB stack
    –redisAPT packageRedis stack
    –wpcliBinaryWP-CLI : WordPress CLI
    –phpmyadminWeb AppphpMyAdmin : Web interface for MySQL
    –composerBinaryComposer : PHP dependencies manager
    –netdataBinaryNetdata : Real-time monitoring suite
    –dashboardWeb AppWordOps dashboard
    –extplorerWeb AppeXtplorer Filemanager
    –adminerWeb Appadminer (phpmyadmin alternative)
    –fail2banAPT packageFail2ban : Bruteforce protection
    –phpredisadminWeb Appphpredisadmin : Web interface for Redis
    –proftpdAPT packageproftpd stack : FTP server
    –mysqltunerBinaryMySQLTuner stack : MySQL tuning tool
    –ufwAPT packageUFW : Firewall
    –sendmailAPT packageSendmail MTA
    –ngxblockerBinaryUltimate Nginx bad bots blocker
    –nanorcBinaryNano editor syntax highlighting

    Options are the same for wo stack installwo stack remove and wo stack purge

    wo stack upgrade [options]
    wo stack remove <stack> [options]
    –allRemove all stacks at once
    –forceForce install/remove/purge without prompt
    wo stack restart [options]
    wo stack reload [options]
    wo stack start [options]
    wo stack stop [options
    wo stack status [options]

      Create site with WordOps on Ubuntu 22.04

      You can create site with WordOps by using the command wo site create

      Create site basic html

      wo site create --html

      Create Simple PHP site

      wo site create --php

      Create simple PHP + MySQL site

      wo site create --mysql

      Create WordPress site and extra settings

      wo site create --wp
      CacheSingle SiteMultisite or SubdirMultisite or Subdomain
      No Cache–wp–wpsubdir–wpsubdomain
      WP Super Cache–wpsc–wpsubdir –wpsc–wpsubdomain –wpsc
      Nginx fastcgi_cache–wpfc–wpsubdir –wpfc–wpsubdomain –wpfc
      Redis cache–wpredis–wpsubdir –wpredis–wpsubdomain –wpredis
      WP-Rocket–wprocket–wpsubdir –wprocket–wpsubdomain –wprocket
      Cache-Enabler–wpce–wpsubdir –wpce–wpsubdomain –wpce

      WordPress administrator user during site creation

      wo site create --user=admin

      WordPress administrator password during site creation

      wo site create --pass=password

      If you have special characters, you can quote them using single quotes like this


      WordPress administrator email during site creation

      wo site create [email protected]

      Create site with Let’s Encrypt

      wo site create -le

      Let’s Encrypt Wildcard SSL certificate

      wo site create --wpsubdomain --letsencrypt=wildcard --dns=dns_cf

      More information about wildcard SSL certificates our guide about DNS API configuration

      Site Update Options

      wo site update [<site_name>] [options]
      update site to WordPress with fastcgi_cache
      update site to WordPress with wp-super-cache plugin
      update site to WordPress with redis-cache
      update site to WordPress with WP-Rocket plugin
      update site to WordPress with Cache-Enabler plugin
      update site to WordPress multisite on subdirectories
      update site to WordPress multisite on subdomains
      update admin password for a WordPress site
      secure site with Let’s Encrypt SSL certificate
      secure site/multisite with a wildcard SSL certificates
      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

      Site Info Command

      wo site info [<site_name>]

      Delete site including webroot and database

      wo site delete [<site_name>] [options]
      –no-promptdelete website without confirmation prompt
      –filesdelete only website files
      –dbdelete only database

      Edit site Nginx configuration

      wo site edit [<site_name>]

      Site show Nginx configuration

      wo site show [<site_name>]

      List all sites managed

      wo site list

      Disable and Enable site Nginx vhost

      wo site disable [<site_name>]
      wo site enable [<site_name>]

      WordOps Commands

      WordOps backend auth, IP and Port

      wo secure [options]
      –authSet backend user credentials (user and)
      –portSet backend port (default: 22222)
      –ipSet the list of IP(s) allowed to access without authentification
      –sshHarden SSH security
      –sshportSet custom ssh port (default: 22)
      –allowpasswordAllow password authentification when hardening SSH security
      –forceForce hardening SSH security without being prompt for confirmation


      Please enter your comment!
      Please enter your name here