LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2009, 12:12 AM   #1
ritapk
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
how to start httpd in fedpra9


Hi everyone...
I installed fedora9 yesterday..
i need to run xhtml programs in browser so i gave service httpd start in commandline..i'm getting an error bash:service command not found..
what i have to do to start httpd?please help me........
 
Old 11-09-2009, 01:02 AM   #2
eth1
Member
 
Registered: May 2008
Posts: 97

Rep: Reputation: 20
Did you select the Web Server package at the time of installation of the OS ? You can check whether Apache has been installed using,

Quote:
rpm -qa | grep httpd
If you do not see any output then you need to install Apache httpd rpm,

Quote:
yum install httpd
Above commmand will download the Apache httpd rpm and any dependencies and install it. After this you can start it,
Quote:
/etc/init.d/httpd start
 
Old 11-09-2009, 01:54 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,405

Rep: Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783Reputation: 2783
... and you'll need to be root
 
  


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
start httpd en vsftpd at start zerocool22 Linux - Server 11 04-25-2008 08:50 AM
httpd won't start charlie2450 Linux - Newbie 17 03-12-2008 08:23 PM
httpd won't start jim.thornton Linux - Newbie 2 01-06-2008 03:57 PM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 08:24 AM
cant start httpd mag_um Linux - Software 2 05-27-2005 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:05 AM.

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
Open Source Consulting | Domain Registration