LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 09-22-2003, 10:51 AM   #1
umannu
LQ Newbie
 
Registered: Sep 2003
Location: DUBAI, UAE
Posts: 7

Rep: Reputation: 0
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,
 
Old 09-22-2003, 12:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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
 
Old 11-23-2003, 04:02 AM   #3
jamie_barrow
Member
 
Registered: Jul 2003
Location: Gauteng, South Africa
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107

Rep: Reputation: 15
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.
 
Old 11-23-2003, 02:21 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You could try webmin but personally I would do the config by hand. Make sure you make a backup first either way.
 
Old 11-23-2003, 11:17 PM   #5
lynger
Member
 
Registered: Nov 2003
Posts: 36

Rep: Reputation: 15
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
 
Old 12-07-2003, 04:50 PM   #6
jamie_barrow
Member
 
Registered: Jul 2003
Location: Gauteng, South Africa
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to tell if i have run make clean? dtra Linux - Software 2 11-17-2005 03:45 AM
Can't make a script run hanasi Linux - Newbie 14 08-27-2005 03:14 PM
Can't Run Make (any programs) on FC2 beefheart Fedora 4 10-26-2004 03:18 PM
A way to make PAM to run in silence Half_Elf Linux - General 6 08-05-2003 09:29 PM
Can I make Linux run faster?? justiceisblind Linux - Newbie 3 06-17-2002 01:25 AM


All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration