XAXA Server control panel

CLI & API

xaxa Commands

The xaxa command is installed to /usr/local/bin/xaxa. Run it as root or with sudo.

Command Description
xaxa update Update XAXA to the latest release (keeps the last 3 releases).
xaxa rollback Switch back to the previous release and its database snapshot.
xaxa panel-backup Back up the panel itself now (also runs daily at 02:45).
xaxa backup-scan [domain] Add the archives in /var/backups/xaxa/<user>/ that the panel has no record of (copied back from remote storage or from a deleted site), so they can be restored.
xaxa runtime-update Install the latest patch release of every installed Node.js and Python version.
xaxa resync-sites Rewrite PHP pools, app services, default vhosts and crontabs from the panel database. With --recreate (moving to a new server), sites whose Linux account is missing are created again with their databases, with new passwords.
xaxa cloudflare-refresh Download the Cloudflare IP ranges again now (also refreshed every Monday at 04:40): the real visitor address behind Cloudflare and "Cloudflare only" sites use them.
xaxa site:list List all sites with type, user, PHP version, port and SSL.
xaxa user:reset-password <email> Generate a new password for a panel user.
xaxa user:disable-2fa <email> Turn off two-factor authentication for a panel user.
xaxa setup-token Create a new setup link (only while no admin exists).
xaxa user:create <email> [--admin] Create a panel user and print the generated password.
xaxa token:create <email> [--write] Create an API token and print it once.
xaxa user:delete <email> Delete a panel user and its API tokens.
xaxa version Show the installed version.
xaxa php-install <version> Install another PHP-FPM version, e.g. 8.2.

Working as a site user

Log in with SSH as the site user, or switch from root:

su - example
cd ~/htdocs/example.com

Composer, WP-CLI, Node.js/npm and Python are available to every site user.

Found a mistake or need help? support@xaxa.com.tr