G
G
German Zvonchuk2014-03-10 00:54:43
Nginx
German Zvonchuk, 2014-03-10 00:54:43

How to uninstall Nginx built from source on CentOS 6.5?

Good day.
This is how I installed Nginx:
wget nginx.org/download/nginx-1.5.11.tar.gz
tar xvzf nginx-1.5.11.tar.gz
cd nginx-1.5.11 ./configure
make
make
install
/usr/local/src/nginx-1.5.11
and try to
make uninstall
make deinstall
no command works, get error:
root @nginx [/usr/local/src/nginx-1.5.11]# make uninstall
make: *** No rule to make target `uninstall'. stop.
I would be very grateful if you could tell me how to uninstall Nginx.
I want to install nginx via yum install nginx

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Usanov, 2014-03-10
@inside22

https://codeo.me/46h
Here is a stripped down version of the install target .
You can see what he does in the system

T
Tyranron, 2014-03-10
@Tyranron

Try running make uninstall from the installation folder, not the sorts on the system.
In case of emergency:

kill `cat /usr/local/nginx/logs/nginx.pid`
find / -name nginx

And we clean unnecessary files with handles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question