Run commands using the following syntax:
mnage <command> [options] [arguments]For a simple summary without details:
nage --simpleaccount:infoLists all account related info and versions
Aliases: account:info:show
Example:
mnage account:infocache:flushFlush Redis/KeyDB Cache
Aliases: keydb:flush, redis:flush
Example:
mnage cache:flushcron:addAdd crontab job
Arguments:
cron (required) - Your crontab job lineOptions:
--environments[=ENVIRONMENTS] - Comma seperated environment variables (KEY=VALUE,KEY2=VALUE2)Example:
mnage cron:addcron:listList crontab jobs
Options:
--json - Output as JSONExample:
mnage cron:listcron:removeRemove crontab job
Arguments:
line (required) - Line number of the cron job to removeExample:
mnage cron:removees:addAdd ElasticSearch to the environment
Aliases: es:version:add
Arguments:
version (required) - any available ElasticSearch versionExample:
mnage es:addipblock:removeChecks and removes an IPv4 address from the firewall
Arguments:
ip (required) - Ipv4 address to check/remove from the firewallExample:
mnage ipblock:removenewrelic:addAdds the PHP New Relic module
Aliases: php:newrelic:add
Arguments:
license (required) - The New Relic license keyExample:
mnage newrelic:addos:removeRemove OpenSearch from the environment
Example:
mnage os:removeos:switchArguments:
version (optional) - any available OpenSearch versionclean (optional) - (y/n) for cleaning up OpenSearch dataExample:
mnage os:switchphp:switchSwitch PHP versions
Aliases: php:version:switch
Arguments:
version (required) - any available PHP versionExample:
mnage php:switchphp:xdebug:addAdds and enables Xdebug module to PHP
Example:
mnage php:xdebug:addservices:listList services on the server
Example:
mnage services:listservices:restartRestart a service on the server
Arguments:
service (required) - The service to restart (e.g. php-fpm, redis, etc.)Example:
mnage services:restartsession:flushFlush Redis/KeyDB Session
Example:
mnage session:flushssh:addAdd ssh key
Arguments:
key (required) - Your SSH keyExample:
mnage ssh:addssh:listList ssh keys
Options:
--json - Output as JSONExample:
mnage ssh:listssh:removeRemove ssh key
Arguments:
key (required) - Your SSH keyExample:
mnage ssh:removessl:addAdd a domain from your Let's Encrypt certificate
Aliases: ssl:domains:add
Arguments:
domains (required) - Domain(s) you wish to add to the certificateExample:
mnage ssl:addssl:listList all domain from your Let's Encrypt certificate
Aliases: ssl:domains:list
Example:
mnage ssl:listssl:removeRemoves a domain from your Let's Encrypt certificate
Aliases: ssl:domains:remove
Arguments:
domains (required) - Domain(s) you wish to remove from the certificateExample:
mnage ssl:removetideways:addAdds the PHP Tideways module
Aliases: php:tideways:add
Arguments:
key (required) - The Tideways API keyExample:
mnage tideways:addwhitelist:addAdd 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
Feedback verzonden
We stellen uw moeite op prijs en zullen proberen het artikel te verbeteren