Command List

We provide commands that can be used to operate in a uniform manner on compatible cloud platforms, operating systems, and versions.

KUSANAGI commands | Business Edition commands | Security Edition commands | Analyzer commands

KUSANAGI commands

Adds functions to KUSANAGI. *This command is not available on KUSANAGI Security Edition.
Removes added functions from KUSANAGI. *This command is not available on KUSANAGI Security Edition.
Clears "bcache".
Turns "bcache" off.
Turns "bcache" on.
Displays the "bcache" status.
Changes the hostname (FQDN) specified during "provision".
You can change, select, or optimize the database used by KUSANAGI.
You can change, select, or optimize the database used by KUSANAGI.
Clears fcache. Valid only with nginx or httpd-behind-nginx.
Turns fcache off. Valid only with nginx or httpd-behind-nginx.
Turns fcache on. Valid only with nginx or httpd-behind-nginx.
Displays fcache status.
Switches the web server in use to Apache HTTPD. It will also restart the service.
Switches to "httpd-behind-nginx" mode, which allows the web server and applications to run under Apache httpd but also uses the nginx functionality together by reverse proxying with NGINX. It will also restart the service.
For the initial KUSANAGI configuration. Used to set and change Linux and database user passwords in the KUSANAGI virtual machine.
Displays the KUSANAGI profile list.
Migrates KUSANAGI profiles.
Displays the status of "monit".
Generates a "monit" configuration file.
Turns "monit" off.
Turns "monit" on.
Reloads the "monit" monitoring configuration.
Switches the web server you are using to nginx. It will also restart the service.
Switches the PHP version. It will also restart the service.
Provisions CMS, including WordPress. Creates a profile for using WordPress, etc. on KUSANAGI.
Turns off the DoS attack protection settings. Valid only with nginx.
Turns on the DoS attack protection settings. Valid only with nginx.
Displays the status of the DoS attack prevention settings.
Deletes KUSANAGI profiles.
Restarts the currently enabled services (nginx, httpd, php) provided by KUSANAGI.
Switches the Ruby version. Support for ruby had been discontinued for CentOS Stream 8 and AlmaLinux OS 8.
Displays KUSANAGI's profile details.
Manages SSL settings.
Displays the KUSANAGI profile status.
Renews Let’s Encrypt SSL certificate.
Updates KUSANAGI-Specific Plugins.
Upgrades the free version of KUSANAGI to a higher edition. *This command is not available on KUSANAGI Security Edition.
Upgrades the MariaDB version. Attempting to downgrade will result in an error.
Upgrades the version of PostgreSQL. Attempting to downgrade will result in an error.
Turns off WAF.
Turns on WAF.
Displays the status of WAF settings.

Business Edition commands

Analyzes the KUSANAGI environment and makes suggestions for improvement.
container off *This command is only available for the KUSANAGI 9 Business Edition. Disables the PHP container for the profile. Available only for nginx and ... Read more
Disables the PHP container for the profile. Available only for nginx and MariaDB.
Updates the PHP container image in the profile. Available only for nginx and MariaDB.
Restarts the PHP container in the profile. Available only for nginx and MariaDB.
Displays the status of the PHP container in the profile. Available only for nginx and MariaDB. The status will be displayed as shown below.

Security Edition commands

Security Edition commands

Turns off IP address limitation and Basic Authentication settings. Valid only with nginx.
Turns on IP address limitation and Basic Authentication settings. Valid only with nginx.
Resets IP address limitation and Basic Authentication settings. Valid only with nginx.
Displays IP address limitation and Basic Authentication settings. Valid only with nginx.
Turns off the malware and virus scans settings.
Turns on the malware and virus scans settings.
Displays the status of the malware and virus scans settings.
Turns off the OS/middleware automatic updates settings.
Turns on the OS/middleware automatic updates settings.
Displays the status of the OS/middleware automatic updates settings.
Switches the web server in use to Apache HTTPD. It will also restart the service.
For the initial KUSANAGI configuration. Used to set and change Linux and database user passwords in the KUSANAGI virtual machine.
Switches the web server you are using to nginx. It will also restart the service.
Switches the PHP version. It will also restart the service.
register Registers KUSANAGI Virtual Machines to KUSANAGI App.Registering KUSANAGI Virtual Machines with KUSANAGI App streamlines the operation of KUSANAGI Virtual Machines, such as receiving audits ... Read more

Analyzer commands

Analyzer commands

Displays the list of Analyzer.
Turns off Analyzer's autorun setting.
Turns on Analyzer's autorun setting.
Runs Analyzer.
Displays the status of Analyzer's autorun settings.