Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fedora core 2 installed a version for me, i want to install my own

Status
Not open for further replies.

touregg

Programmer
Nov 7, 2003
46
0
0
US
How do i disable the version installed with core 2 so i can use my own. When i just install my own, then start up the apache server the version that was installed with core 2 starts up instead of the version i installed. Also when i installed core two i deselected apache, but it installed it anyway and will not let me uninstall it using the add and remove appilcations program
 
To remove apache, issue this command:

rpm -e httpd

then make sure the executables (httpd and apachectl) for the new version are in /usr/sbin. The start up script goes in /etc/rc.d/inet.d and all the support files and directories go in /etc/httpd/. If you change any of these, it must be changed in the start up script.



 
Is the start up script created by the apache install? If apache had differnt default locations, would that be accounted for in the start up script?
I had everything working great in core one, but i wanted support for my usb printer, (print server too)
 
When you said you wanted to use your own, I assumed you compiled apache with the stuff you wanted and it was still using the old has been. I'm not sure what the default locations are for your particular build but you can specify where you want them while doing the ./configure stage. If you open /etc/rc.d/inet.d/httpd, you will see that it assumes the locations I mentioned earlier. This is the startup script I was talking about and not the executable with the same name (/usr/sbin/httpd). You can change any location but the startup script. It tells your system whether to start apache and where it can find the executable and its config files. Usually when you compile a program yourself, the last command, "make install" does this for you. I was just trying to give you a heads up on where they normally go.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top