LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to make Apache run (https://www.linuxquestions.org/questions/linux-software-2/how-to-make-apache-run-95525/)

umannu 09-22-2003 10:51 AM

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:

david_ross 09-22-2003 12:11 PM

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

jamie_barrow 11-23-2003 04:02 AM

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.

david_ross 11-23-2003 02:21 PM

You could try webmin but personally I would do the config by hand. Make sure you make a backup first either way.

lynger 11-23-2003 11:17 PM

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 :)

jamie_barrow 12-07-2003 04:50 PM

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.