From 60e9a7b3ef110d14254945c0acd8a5f1b7106482 Mon Sep 17 00:00:00 2001 From: Patrick Samson Date: Sun, 10 Dec 2017 16:28:28 -0500 Subject: [PATCH] remove apache and mysql --- app/Modules/Software/BaseTools.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/Modules/Software/BaseTools.php b/app/Modules/Software/BaseTools.php index 32a6fb0..a103138 100644 --- a/app/Modules/Software/BaseTools.php +++ b/app/Modules/Software/BaseTools.php @@ -31,8 +31,11 @@ public function install() parent::install(); // Remove apache2 and MySQL - `sudo apt-get --purge remove mysql-server mysql-client`; - `sudo apt-get --purge remove apache2`; + `sudo service mysql stop`; + `sudo apt-get -y --purge remove mysql-server mysql-client`; + `sudo apt-get -y --purge remove apache2`; + `sudo apt-get -y --purge autoremove`; + `sudo apt-get autoclean`; } public function getVersion(): string