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.
Notices
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.
I'm a newbie here, but i think the startup scripts for services are located in /etc/init.d. I think that doing a 'make install' after building apache would install the startup script for you already.
Copy the startup script to /etc/init.d/ and make a symbolic link to this script from the run level you're running. This is what I did for Apache 1.3 (havent installed apache 2 from source yet). Since you said that you installed it from source, the startup script should be in the installation folder i.e. --prefix=path/to/apache/bin
Just find out where the start-script of apache is isntalled, look in your makefile where the bindir is ..
The start-script is called apachectl, on slackware it resides in /usr/sbin/apachectl on redhat9 it is in /sbin/apachectl. Just type in prompt:
apachectl start , then u have it as service, to stop it type: apachectl stop
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.