RH 7.2 -- how do I run apache?
Ok...so I'm used to running Apache on Windoze, and now I'm trying my hand at Linux; RedHat 7.2 (and so far I'm really liking this).
I installed the Apache RPM that comes with 7.2, and according to the Apache docs I expected to find Apache located in /usr/local/apache. Nope, no such thing. Ok, so I check out the file list in Package Mgr and see that Apache is spread around the file system. But...I can't find the httpd executable anywhere. Nor can I find apachectl. I do see that some scripts have been deposited in init.d/... Sooo....advice on how to start up the Apache that comes with RH 7.2 is what I need, please. Of course, my next question will be how to get Apache kicked off as part of the system startup. Help, please. |
The html document "root" directory is /var/www/html . The config files are in /etc/httpd/conf . And last but not least, httpd is in /etc/rc.d/init.d.
You can select what you want to start up on boot with /usr/sbin/ntsysv |
All times are GMT -5. The time now is 01:51 PM. |