Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am running red hat 7.2 and would like to upgrade apache from 1.3.22 to 1.3.26. I was only able to find the binaries and when I configure and install it, it overwrites everything and creates a brand new httpd.conf file. Is there anyway to upgrade and keep my existing conf file?
I searched high and low for the RPM but the only one I could find was 1.3.23 not 1.3.26. I was able to find the version I wanted , but it said it was for PLD Linux and I am running red hat. Will that make a difference?
If you're going to compile Apache from source you can save your current config file by using the --sysconfdir= option during the configure stage to put the default one in a new place and update the startup script . You should also use --prefix= to specify a new location for the binaries.
./configure --prefix=/usr/local/apache --sysconfdir=/etc/httpd
Or just make a backup copy of your conf file before doing the compile.
I did it the way you suggested and it seemed to install without a hitch. I restarted the daemon but the server is still using the old version of apache. I installed the new version in the same location as the old version. What did I miss??
Yeah, either do a 'ps aux' and look at the apache binary that's running (maybe that's the old version) or look through your startup files to make sure it's starting the new apache binary.
When compiling from source and specifying a different sysconfig directory, doesn't this make apache look there when it looks for config files? He was going to install the files there temporarily just to keep the old config files in a different directory....will this work?
Unfortunately, that didn't work either. I did it from within rc3.d and then typed /usr/local/apache/bin/apachectl restart
This may be totally normal but when I type /usr/local/apache/bin/apachectl start it says httpd started, which is fine. If I type /usr/local/apache/bin/apachectl stop it says httpd (no pid file) not running. If it's running why can't I stop it? Something has to be running because I have webpages that work.
Hmm, it works for me, and for testing purposes I set it up to run on runlevel3 (this is where I boot), and I make the K symlinks in /etc/rc.d/rc0.d and /etc/rc.d/rc6.d for a webserver to shutdown gracefully on system shutdown/reboot.