Answer the question
In order to leave comments, you need to log in
Kubuntu 11.04 - Reinstalling nginx
I installed nginx. Everything is ok, everything works.
Then, having mocked the configs, I decided to install it again and
deleted it: sudo apt-get purge nginx
I look in etc the folder remained with the files, deleted it and
installed it again: sudo apt-get install nginx
files appeared but not all. no configs.
removed everything by hand,
then
sudo apt-get remove nginx
sudo apt-get purge nginx
now, no matter how I try to install, it says that everything is OK, the packages are installed, but the nginx directory does not appear in /etc/
Help! How to reinstall nginx with all default configs?
Answer the question
In order to leave comments, you need to log in
solution
1) put synaptic? all actions in it
2) complete removal of nginx and links
3) update
4) upgrade
5) installation
everything works
“I deleted everything with my hands” you did it in vain. And as far as I know, nginx has a default config with a left extension, just in case.
sudo apt-get remove nginx nginx-common # Removes all but config files.
sudo apt-get purge nginx nginx-common # Removes everything.
sudo apt-get autoremove # After using any of the above commands, use this in order to remove dependencies used by nginx which are no longer required.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question