ee stack purge
# Another way
ee stack purge web
Sample output:
^_^[[email protected]:~]# ee stack purge
purge nginx-custom package, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
libxslt1.1
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
[...]
.
.
.
[...]
Removing Adminer, please wait...
Removing phpMyAdmin, please wait...
Removing WP-CLI, please wait...
Remove EasyEngine (ee) admin utilities, please wait...
Removing unwanted packages, please wait...
[...]
.
.
.
[...]
Successfully purged all packages
Above command removes all packages installed by ee stack install
If you are thinking removing all packages is not suitable for you, can remove single packages by using following commands:
Purge NGINX
ee stack purge nginx
# Deprecated way
ee system purge nginx
Purge PHP
ee stack purge php
# Deprecated way
ee system purge php
Purge MySQL
ee stack purge mysql
# Deprecated way
ee system purge mysql
Purge Postfix
ee stack purge postfix
# Deprecated way
ee system purge postfix
Purge WP-CLI
ee stack purge wpcli
# Deprecated way
ee system purge wpcli
Purge Adminer
ee stack purge adminer
# Deprecated way
ee system purge adminer
Purge phpMyAdmin
ee stack purge phpMyAdmin
# Deprecated way
ee system purge phpmyadmin
Purge Utilities
Below command remove phpMemcachedAdmin, FastCGI cleanup script, OPcache, Webgrind, Anemometer.
ee stack purge utils
# Deprecated way
ee system purge utils