LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-24-2011, 06:50 PM   #1
oscargim
Member
 
Registered: Mar 2011
Location: Argentina
Distribution: CentOS 5.8 32 Bits
Posts: 30

Rep: Reputation: 0
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
 
Old 04-25-2011, 12:13 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 04-25-2011, 07:11 AM   #3
oscargim
Member
 
Registered: Mar 2011
Location: Argentina
Distribution: CentOS 5.8 32 Bits
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by paulsm4 View Post
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

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?
 
Old 04-25-2011, 08:04 AM   #4
nidhinmd
Member
 
Registered: Aug 2007
Location: Cochin, Kerala, India
Posts: 32

Rep: Reputation: 3
Go to mod_fastcgi-2.4.6 and run "make clean"
 
Old 04-25-2011, 01:20 PM   #5
oscargim
Member
 
Registered: Mar 2011
Location: Argentina
Distribution: CentOS 5.8 32 Bits
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nidhinmd View Post
Go to mod_fastcgi-2.4.6 and run "make clean"

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???

Last edited by oscargim; 04-25-2011 at 01:28 PM.
 
Old 04-26-2011, 04:25 AM   #6
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cleaning my installation (remove all software and settings) Xenogis Slackware 10 02-21-2006 10:15 AM
remove dev libs from installation bhomass Debian 5 02-15-2006 11:50 AM
Installation Advice - Apt-get will remove a lot Ingla Linux - General 0 11-13-2005 12:47 PM
how to remove rpm installation? kpachopoulos Fedora 2 06-16-2005 08:13 AM
10.0 Help with usb cable modem or to remove installation wes_catfish Mandriva 2 01-24-2005 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration