How to remove this installation?
Hi i just installed fastCGI with this guide is quite short and now i want to undo all that changes.. can some one guide me with the steps to do it?
This is the install: mkdir code cd code wget http://www.fastcgi.com/dist/mod_fastcgi-current.tar.gz tar -zxvf mod_fastcgi-current.tar.gz cd mod_fastcgi-2.4.6/ cp Makefile.AP2 Makefile make top_dir=/usr/lib/httpd make install top_dir=/usr/lib/httpd vi /etc/httpd/conf.d/mod_fastcgi.conf (add this lines on it) User apache Group apache LoadModule fastcgi_module modules/mod_fastcgi.so # FastCGIWrapper on FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi FastCGIConfig -autoUpdate -idle-timeout 120 -killInterval 3600 -maxClassProcesses 6 -maxProcesses 15 So far i leave this file empty so the module is not loaded.. bou i like to remove it completely from my system Thanks |
1. cd mod_fastcgi-2.4.6/
Make uninstall 2. Restore the backup copy you made of /etc/httpd/conf.d/mod_fastcgi.conf before you edited it (or simply delete it, if you created it from scratch) 3. /etc/init.d/httpd restart Should be pretty much as simple as that :) |
Quote:
Thanks Paul.. when i try that i get this: [root@Level mod_fastcgi-2.4.6]# make uninstall Makefile:12: /usr/local/apache2/build/special.mk: No such file or directory make: *** No rule to make target `/usr/local/apache2/build/special.mk'. Stop. any idea? |
Go to mod_fastcgi-2.4.6 and run "make clean"
|
Quote:
i get this: [root@Level mod_fastcgi-2.4.6]# make clean Makefile:12: /usr/local/apache2/build/special.mk: No such file or directory make: *** No rule to make target `/usr/local/apache2/build/special.mk'. Stop. i tried this [root@Level mod_fastcgi-2.4.6]# make clean top_dir=/usr/lib/httpd make[1]: Entering directory `/root/code/mod_fastcgi-2.4.6' rm -f *.o *.lo *.slo *.obj *.a *.la rm -rf .libs make[1]: Leaving directory `/root/code/mod_fastcgi-2.4.6' rm -f *.o *.lo *.slo *.la its now removed??? |
Although uninstall is a standard GNU target for makefiles, it doesn’t mean that it is really supplied with all sources. The target clean and alike is usually only used to remove compiled object files in the source tree. When there is nothing provided in the makefile: install again in a well known location in your $HOME/local and then get a list of files which must be removed afterwards by hand from the real file system.
This is one of the reasons why I often install software first in my $HOME/local or later on in /opt/... for all users to have the ability to get rid of it again in an easy way. |
All times are GMT -5. The time now is 04:09 PM. |