Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to start Fedora webserver?

Status
Not open for further replies.

QASA25

Technical User
Jun 23, 2005
63
NL
Hi all i just installed fedora core 4 and want to run a webserver. could any one tell me how to find and run this webserver in fedora?Thanks
 
service httpd start

-or-

/etc/init.d/httpd start

Take a look if https is starting at boot time:

chkconfig --list httpd

Cheers.

Chacal, Inc.[wavey]
 
Thank u for u reply. could u tell me where should type service httpd start. I am very new to fedora.Thanks
 
in a shell/console/command prompt/terminal

In KDE :
Click the "Red Hat" on the bottom left
Click "System Tools"
Click "Terminal"

You'll need to su to root .

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
open a terminal as root and issue it wherever you are, service should be in the PATH environment variable.

Cheers.

Chacal, Inc.[wavey]
 
Thanks all for helpin me. I am now in terminal but when ever i type /etc/init.d/httpd start i get this error :

bash: service : command not found

how to get to root ? i tried cd.. but no luck!! Thanks
 
su root

and enter the password for root.

but.. do you have apache installed?

Chacal, Inc.[wavey]
 
Thanks man that worked liek the charm. yes when installed fedora i selected server option and now i see the welcome page of apache. how to get to folder where i can place my files?Thanks
 
Your default web root in Fedora should be /var/www/html. If not, check your config /etc/httpd/conf/httpd.conf to see where DocumentRoot is pointing to.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top