LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to start httpd in fedpra9 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-start-httpd-in-fedpra9-767815/)

ritapk 11-08-2009 11:12 PM

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........

eth1 11-09-2009 12:02 AM

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

chrism01 11-09-2009 12:54 AM

... and you'll need to be root


All times are GMT -5. The time now is 01:45 AM.