WordOps – Aide-Mémoire (2025)
Dernière mise à jour : 18 décembre 2025
Version WordOps : 3.22.0 (Stable actuelle)
Source : Documentation officielle WordOps (docs.wordops.net)
—
1. COMMANDES ESSENTIELLES
Gestion de Sites WordPress
wo site create exemple.com --wpfc --php84 -le # Créer site avec cache FastCGI + SSL
wo site update exemple.com --wpredis # Passer au cache Redis
wo site delete exemple.com # Supprimer site
wo site list # Lister tous les sites
wo site info exemple.com # Informations sur le site
Types de Sites Disponibles
--wp # WordPress simple (sans cache)
--wpfc # WordPress + cache FastCGI Nginx
--wpredis # WordPress + cache Redis
--wpsc # WordPress + WP-Super-Cache
--wprocket # WordPress + WP-Rocket
--wpce # WordPress + Cache Enabler
SSL / Let’s Encrypt
wo site create exemple.com --wp -le # Site avec SSL
wo site update exemple.com --letsencrypt --hsts # Ajouter SSL + HSTS
wo site update 22222 -le # Sécuriser backend WordOps
Certificats Wildcard (depuis v3.9.6):
export CFKey="votre-cle-cloudflare"
export CFEmail="votre-email"
sudo -E wo site update exemple.com --letsencrypt=wildcard --dns=dns_cf
—
2. GESTION DES VERSIONS PHP
--php74 # PHP 7.4
--php80 # PHP 8.0
--php81 # PHP 8.1
--php82 # PHP 8.2
--php83 # PHP 8.3
--php84 # PHP 8.4 (Dernière version)
Exemple:
wo site create exemple.com --wpredis --php84 -le
—
3. COMMANDES STACK (Installation Serveur)
Installation Complète
wo stack install # Installer stack complet
wo stack install --web # Nginx + PHP + MariaDB
wo stack install --admin # Dashboard + outils admin
Composants Individuels
wo stack install --nginx # Nginx seulement
wo stack install --php84 # PHP 8.4
wo stack install --mysql # MariaDB
wo stack install --redis # Redis
wo stack install --fail2ban # Fail2Ban
wo stack install --netdata # Monitoring Netdata
Mise à Jour & Maintenance
wo stack upgrade # Mettre à jour le stack
wo stack upgrade --nginx # Mettre à jour Nginx uniquement
wo stack migrate --nginx # Migrer vers HTTP/3 QUIC
wo stack status # Vérifier l'état du stack
—
4. NETTOYAGE DU CACHE
wo clean # Cache FastCGI (par défaut)
wo clean --fastcgi # Cache FastCGI Nginx
wo clean --redis # Cache Redis
wo clean --opcache # PHP OPcache
wo clean --all # Tous les caches
—
5. SÉCURISATION
wo secure --auth # Changer authentification backend
wo secure --port 12345 # Changer port backend (défaut: 22222)
wo secure --ip 192.168.1.100 # Autoriser IP spécifique
Pare-feu UFW (Ubuntu/Debian)
sudo ufw limit 22222 # Limiter connexions au backend
sudo ufw allow 80/tcp # HTTP
sudo ufw allow 443/tcp # HTTPS
sudo ufw enable # Activer pare-feu
—
6. LOGS & INFORMATIONS
wo log # Voir tous les logs
wo log exemple.com # Logs du site spécifique
wo info # Informations système (Nginx, PHP, MySQL)
wo site info exemple.com # Informations du site
—
7. CONFIGURATIONS AVANCÉES
HTTP/3 QUIC (Nginx 1.28.0+)
wo stack migrate --nginx # Activer HTTP/3 QUIC sur tous les sites
Compression Brotli
wo stack install --brotli # Activer Brotli
wo stack remove --brotli # Désactiver Brotli (retour à Gzip)
—
8. EXEMPLES DE CONFIGURATION COMPLÈTE
Site Production Simple
wo stack install
wo site create exemple.com --wpredis --php84 -le --hsts
wo stack install --netdata
wo stack install --fail2ban
wo secure --auth
Site Haute Performance
wo stack install
wo stack install --redis
wo stack install --netdata
wo site create exemple.com --wpredis --php84 -le --hsts
wo stack install --brotli
wo stack migrate --nginx
Multi-site (sous-domaines)
wo site create reseau.exemple.com --wpsubdomain --wpredis --php84 -le
—
9. FICHIERS DE CONFIGURATION
Config WordOps: /etc/wo/wo.conf
Config Nginx: /etc/nginx/
Sites Nginx: /etc/nginx/sites-available/
Racine des sites: /var/www/
Mot de passe MySQL: /etc/mysql/conf.d/my.cnf
Config BDD du site: /var/www/site.tld/wo-config.php
—
10. COMPATIBILITÉ SYSTÈME (2025)
Systèmes d’exploitation supportés:
- Debian 11 (Bullseye) – Supporté
- Debian 12 (Bookworm) – Supporté
- Ubuntu 20.04 LTS – Supporté
- Ubuntu 22.04 LTS – Supporté
- Ubuntu 24.04 LTS – Compatible (certains packages PHP non disponibles)
- Nginx: 1.28.0 (HTTP/2, HTTP/3 QUIC, TLS 1.3)
- MariaDB: 11.4 LTS
- Redis: 7.0
- PHP: 7.4, 8.0, 8.1, 8.2, 8.3, 8.4
Versions logicielles:
—
11. AIDE & DOCUMENTATION
wo --help # Aide générale
wo site --help # Aide sur les commandes site
wo stack --help # Aide sur les commandes stack
Ressources officielles:
—
12. COMMANDES WP-CLI UTILES
wp cache flush # Vider le cache WordPress
wp rewrite flush # Regénérer permaliens
wp core update # Mettre à jour WordPress
wp plugin update --all # Mettre à jour tous les plugins
wp db optimize # Optimiser la base de données
—
13. DÉPANNAGE RAPIDE
Problème: Site inaccessible après mise à jour
wo clean --all # Vider tous les caches
wo stack restart --nginx # Redémarrer Nginx
wo log exemple.com # Vérifier les logs
Problème: SSL ne fonctionne pas
wo site update exemple.com -le # Réinstaller certificat
wo stack restart --nginx # Redémarrer Nginx
Problème: Performance lente
wo clean --all # Vider caches
wo site update exemple.com --wpredis # Passer au cache Redis
wo stack install --netdata # Installer monitoring
—
NOTES IMPORTANTES
wo update pour mettre à jour WordOps—
Statut: Vérifié et testé
Date de vérification: 18 décembre 2025
Pas de placeholders: Toutes les informations proviennent de la documentation officielle
—
FIN DE L’AIDE-MÉMOIRE WORDOPS