enfein / mieru

mieru is a socks5 / HTTP / HTTPS proxy to bypass censorship. 見える是一款 socks5 / HTTP / HTTPS 网络代理翻墙工具。
GNU General Public License v3.0
939 stars 123 forks source link

Instructions for full uninstalling #121

Open ellahmezar opened 3 months ago

ellahmezar commented 3 months ago

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!

enfein commented 3 months ago

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
ellahmezar commented 3 months ago

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

enfein commented 3 months ago

it says that files still exists

Can you show an error message?

ellahmezar commented 3 months ago

@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 ]

enfein commented 3 months ago

I see. Let me check deb and rpm script.

enfein commented 3 months ago

@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.

ellahmezar commented 3 months ago

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

enfein commented 3 months ago

After you download the file, run

sudo python3 uninstall_mita.py
ellahmezar commented 2 months ago

@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

enfein commented 2 months ago

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.
github-actions[bot] commented 6 days ago

This issue is stale because it has been open 80 days with no activity. Remove stale label or comment or this will be closed in 9 days.