mieru icon indicating copy to clipboard operation
mieru copied to clipboard

Instructions for full uninstalling

Open empireofpersia opened this issue 1 year ago • 10 comments

Hi @enfein . Hope you're doing great ! I wanna the instructions for uninstalling & removing all files related to mieru & mita in Ubuntu server . Best Regards!

empireofpersia avatar Feb 17 '24 10:02 empireofpersia

mieru

sudo dpkg -P mieru
rm -rf $HOME/.cache/mieru
rm -rf $HOME/.config/mieru

mita

sudo dpkg -P mita
sudo rm -rf /etc/mita
sudo userdel mita

enfein avatar Feb 18 '24 06:02 enfein

Hi @enfein I entered these commands , but when you want to install mita again , it says that files still exists .

sudo dpkg -P mita sudo rm -rf /etc/mita sudo userdel mita

empireofpersia avatar Mar 06 '24 18:03 empireofpersia

it says that files still exists

Can you show an error message?

enfein avatar Mar 07 '24 01:03 enfein

@enfein It's not an error . When I entered all the above commands , It must remove ALL file and folders related to Mita . After entering all above commands for uninstalling , when you want to reinstall Mita again , after "sudo dpkg -i mita " command , it shows a message that files ALREADY INSTALLED and it just overriding the files . [ It should be like the first time that I installed Mita ,but it's not ]

empireofpersia avatar Mar 07 '24 03:03 empireofpersia

I see. Let me check deb and rpm script.

enfein avatar Mar 07 '24 03:03 enfein

@ellahmezar Can you download https://github.com/enfein/mieru/blob/main/tools/uninstall_mita.py and execute that in your server? That will remove every file related to mita proxy server.

enfein avatar Mar 08 '24 01:03 enfein

@enfein I can download it on my server , but I don't know how to execute it

empireofpersia avatar Mar 08 '24 03:03 empireofpersia

After you download the file, run

sudo python3 uninstall_mita.py

enfein avatar Mar 08 '24 21:03 enfein

@enfein Are you sure that this script will remove ALL files and folder related to mita in ubuntu vps ? https://github.com/enfein/mieru/blob/main/tools/uninstall_mita.py

empireofpersia avatar Mar 18 '24 03:03 empireofpersia

I think so. You should no longer see a file already installed.

I also put the following content in the script. Please read carefully.

WARNING: this program is NOT safe against forensic collection, because
mita runtime information may be stored in system journal log.

enfein avatar Mar 18 '24 21:03 enfein