mnage

Gewijzigd op Do, 11 Dec om 4:46 PM

mnage

Usage

Run commands using the following syntax:

mnage <command> [options] [arguments]

For a simple summary without details:

nage --simple

account

account:info

Lists all account related info and versions

Aliases: account:info:show

Example:

mnage account:info

cache

cache:flush

Flush Redis/KeyDB Cache

Aliases: keydb:flush, redis:flush

Example:

mnage cache:flush

cron

cron:add

Add crontab job

Arguments:

  • cron (required) - Your crontab job line

Options:

  • --environments[=ENVIRONMENTS] - Comma seperated environment variables (KEY=VALUE,KEY2=VALUE2)

Example:

mnage cron:add

cron:list

List crontab jobs

Options:

  • --json - Output as JSON

Example:

mnage cron:list

cron:remove

Remove crontab job

Arguments:

  • line (required) - Line number of the cron job to remove

Example:

mnage cron:remove

es

es:add

Add ElasticSearch to the environment

Aliases: es:version:add

Arguments:

  • version (required) - any available ElasticSearch version

Example:

mnage es:add

ipblock

ipblock:remove

Checks and removes an IPv4 address from the firewall

Arguments:

  • ip (required) - Ipv4 address to check/remove from the firewall

Example:

mnage ipblock:remove

newrelic

newrelic:add

Adds the PHP New Relic module

Aliases: php:newrelic:add

Arguments:

  • license (required) - The New Relic license key

Example:

mnage newrelic:add

os

os:remove

Remove OpenSearch from the environment

Example:

mnage os:remove

os:switch

Arguments:

  • version (optional) - any available OpenSearch version
  • clean (optional) - (y/n) for cleaning up OpenSearch data

Example:

mnage os:switch

php

php:switch

Switch PHP versions

Aliases: php:version:switch

Arguments:

  • version (required) - any available PHP version

Example:

mnage php:switch

php:xdebug:add

Adds and enables Xdebug module to PHP

Example:

mnage php:xdebug:add

services

services:list

List services on the server

Example:

mnage services:list

services:restart

Restart a service on the server

Arguments:

  • service (required) - The service to restart (e.g. php-fpm, redis, etc.)

Example:

mnage services:restart

session

session:flush

Flush Redis/KeyDB Session

Example:

mnage session:flush

ssh

ssh:add

Add ssh key

Arguments:

  • key (required) - Your SSH key

Example:

mnage ssh:add

ssh:list

List ssh keys

Options:

  • --json - Output as JSON

Example:

mnage ssh:list

ssh:remove

Remove ssh key

Arguments:

  • key (required) - Your SSH key

Example:

mnage ssh:remove

ssl

ssl:add

Add a domain from your Let's Encrypt certificate

Aliases: ssl:domains:add

Arguments:

  • domains (required) - Domain(s) you wish to add to the certificate

Example:

mnage ssl:add

ssl:list

List all domain from your Let's Encrypt certificate

Aliases: ssl:domains:list

Example:

mnage ssl:list

ssl:remove

Removes a domain from your Let's Encrypt certificate

Aliases: ssl:domains:remove

Arguments:

  • domains (required) - Domain(s) you wish to remove from the certificate

Example:

mnage ssl:remove

tideways

tideways:add

Adds the PHP Tideways module

Aliases: php:tideways:add

Arguments:

  • key (required) - The Tideways API key

Example:

mnage tideways:add

whitelist

whitelist:add

Add an IP whitelist to HAProxy

Aliases: haproxy:whitelist:add

Example:

mnage whitelist:add

Was dit artikel nuttig?

Dat is fantastisch!

Hartelijk dank voor uw beoordeling

Sorry dat we u niet konden helpen

Hartelijk dank voor uw beoordeling

Laat ons weten hoe we dit artikel kunnen verbeteren!

Selecteer tenminste een van de redenen
CAPTCHA-verificatie is vereist.

Feedback verzonden

We stellen uw moeite op prijs en zullen proberen het artikel te verbeteren