LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-19-2004, 05:00 AM   #1
lil_ak
LQ Newbie
 
Registered: Jun 2004
Posts: 7

Rep: Reputation: 0
Win2k Advanced Server 2 Fedora Core 1


ok people i need some quick advice. how would i go about setting up my own web server on fedora ? is fedora as simple as setting up iis for windows? and what ip you can choose from? any links to articles or something would be nice ... thnx.. :P
 
Old 06-19-2004, 06:10 AM   #2
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
To setup a webserver on fedora just type:

service httpd start

It is really a piece of cake! Try the official site : www.apache.org for some documentation.
 
Old 06-19-2004, 10:14 PM   #3
lil_ak
LQ Newbie
 
Registered: Jun 2004
Posts: 7

Original Poster
Rep: Reputation: 0
---if i am correct that doesnt really sound like a command do i need to type that in , in the terminal or the run line? please help im still stuck.....
 
Old 06-20-2004, 02:09 AM   #4
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
Apache, the most common web server all around the world, is propably installed with your linux distro. So, the only thing you have to do is just start the daemon (like the windows' service). To do that just run from a terminal window (command prompt) the following.

service httpd start

That will start the deamon (service) and you will be able to see your home page. How? If your linux box is in a LAN, just type the IP address from another PC. Let's just say that it is 192.168.0.10. So open a browser window in a pc connected to tha e LAN and in the address bar, just type:

http://192.168.0.10

Let me know how it goes!
 
Old 06-20-2004, 04:33 PM   #5
lil_ak
LQ Newbie
 
Registered: Jun 2004
Posts: 7

Original Poster
Rep: Reputation: 0
ok this is what i got i keep getting this message when i do it....

[admin@localhost admin]$ su root
Password:
[root@localhost admin]# service httpd start
bash: service: command not found
[root@localhost admin]# httpd start
bash: httpd: command not found
[root@localhost admin]# service httpd start
bash: service: command not found
[root@localhost admin]#service httpd start
bash: httpd: command not found
 
Old 06-20-2004, 09:57 PM   #6
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
You could use "chkconfig --list" to see if httpd is installed. If it is then use "chkconfig --level" to enable it on bootup for runlevel 3 and 5.
 
Old 06-20-2004, 10:07 PM   #7
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
It is assumed RedHat installed apache rpms by default.

you can check the existence of apache on your system with

#rpm -q apache

If apache is missing, you can install it from your CDs ... better still download the latest rpm
from RedHat.


#su - root
#rpm -ivh apache<full filename>

Modify /etc/httpd/conf/httpd.conf and start apache with

#service httpd start
 
  


Reply



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
Fedora Core 3 Server Magma_11 Linux - Newbie 3 02-10-2005 12:11 AM
Fedora as server + win2k Velocide Fedora 16 12-13-2004 11:14 PM
[again...] GRUB problem on a Fedora Core 2/Win2k system Ghost Line Linux - Newbie 3 09-12-2004 10:25 AM
Networking problems between Fedora Core 1, WinXP, and Win2k neon_knight Linux - Newbie 1 08-01-2004 01:50 PM
backup via Win2K from Fedora Core 2 rporter1980 Fedora 0 06-19-2004 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:28 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