LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-08-2009, 11:12 PM   #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, 12: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, 12:54 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

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

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

All times are GMT -5. The time now is 06:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration