How to make Apache run
I somehow or rather RedHat 7.1 finally installed for me.!!! I don't know how it went ahead and installed after 3 days of struggle and It looks pretty old stuff. Anyways,
I selected APACHE and PHP while installing software packages. How do i make Apache run as we do in Win 2000, Control panel, services, Autostart on boot. Where are the options to start these Apache server. As, i wanted to work with PHP based web store provided by OSCommerce. Can some1 let me know how do i begin installing and configuring Apache to begin with. Thanks,:newbie: |
To make apache run on boot:
chkconfig --levels 345 httpd on To start apache: /etc/init.d/httpd restart To configure apache - edit: /etc/httpd/conf/httpd.conf It is a good idea to make a copy of httpd.conf before you make any changes. It should work out of the box unless you have special requirements. NOTE: You need to restart apache once you have changed httpd.conf |
Does anybody know of any graphical configuration tools for use on X windows will make configuring Apache easier? Or a site that has a Idiots Guide to configuring Apache?
I have it pre-installed with Redhat 9 but httpd fails to start. This is probably because of the Apache config file, but i dont have enough time at the moment to read in depth documentation as I'm busy creating a web site for my sister's business. I will be using Apache on my home system, also with osCommerce to set up and test out the site before uploading it to the actual server. |
You could try webmin but personally I would do the config by hand. Make sure you make a backup first either way.
|
hi : )
you install apache via rpm.. issue the command: # rpm -Uvh httpd-ver. configure httpd.conf and before it, don't forget to check if apache needs some dependencies when installing.. then start apache by: # /etc/init.d/httpd start goodluck :) |
Apache works now, I just reinstalled Redhat (extreme, but not really because I didn't have many files to backup) after realising it comes with Apache pre-installed (duh) and just used their HTTP server config tool.
But thanks anyway :) |
All times are GMT -5. The time now is 11:57 PM. |