LinuxQuestions.org
Register a domain and help support LQ
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-28-2007, 04:12 PM   #1
super_dodge2
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Unhappy Fedora Woes for a N00B!


Hi everybody,

As you can tell from the title I'm a total N00B to Fedora. But I have heard lots of good things about it as a server. So that is exactly what I am trying to do. I am trying to set up a server for a web site that I have built. I am having some trouble with it and google isn't helping matters much. The first thing that I am trying to do is to get the web site to the hard drive. It is stored at the moment on an external pcmcia drive. I cannot for the life of me figure out how to get fedora to see this drive. So if anyone can please do so cause I need all the help that I can get.

the nest thing is, once the i get the site to the hard drive where do i put iot and configure the server so that it will send it to all that request the page. Then how do I go about setting up a mail server and ftp server. As I said before, I'm a total noob. Please help oh mighty gods of linux.
 
Old 11-28-2007, 04:55 PM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
I can't help with the PCMCIA drive but for the webserver set-up you'll need to ensure you have apache2 installed. To install this, either use the Software Manager or start a command prompt as root and run:

yum install apache2

That installs the webserver, to start the webserver you'll need to type:

service apache2 start

To start the websever by default (at boot) you'll have to type:

chkconfig -levels 35 apache2 on

The website files will need installing to /var/www/html/

You will also probably need to open port 80 on your firewall.

There are loads of sites covering simple apache installs: have a trawl around google for info. There are also a few sites doing Pod casts on this subject - here's one:

http://www.linuxreality.com/index.php?s=apache
 
Old 11-30-2007, 09:22 AM   #3
super_dodge2
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
I tried that Then it gave me an error that says unknown service when I try to start the service. Did I miss something?
 
Old 11-30-2007, 11:17 AM   #4
Vitalka
LQ Newbie
 
Registered: Nov 2005
Location: Canada
Distribution: CentOS 5.0 & Suse 10.3
Posts: 26

Rep: Reputation: 15
I think that the service is called httpd.

Code:
service httpd start
This should help.


You can always type
Code:
setup
in command line. Go to system services and check that httpd starts at boot time.

Last edited by Vitalka; 11-30-2007 at 11:18 AM.
 
Old 11-30-2007, 01:46 PM   #5
zeeshanhayat
Member
 
Registered: Oct 2004
Distribution: Fedora, Debian, Free BSD
Posts: 71

Rep: Reputation: 15
To test your website, type http://localhost/YOUR_DIRECTORY_NAME and place the files in /var/www/html directory or whatever you set the document root in the httpd.conf file. Inorder to serve a live site you'll be needing DNS and have it configured properly.
 
Old 11-30-2007, 11:17 PM   #6
super_dodge2
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks so much by the way guys. I really appreciate all your help. I got it up and running. Now all I have to configure is the printer server and mail. But I'm quite happy now with the web server.

Last edited by super_dodge2; 12-01-2007 at 12:12 AM.
 
  


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
n00b internet woes caneman Linux - Newbie 1 01-16-2005 06:56 AM
Fedora N00b, have a few issues for you. gcobb Linux - Newbie 2 10-21-2004 08:11 AM
Fedora n00b, just have a few questions gcobb Fedora 1 10-21-2004 12:24 AM
fedora n00b needs help evensen Linux - Software 2 05-14-2004 08:51 PM
dumb lil n00b Q about RH/Fedora pyre Linux - Newbie 4 04-01-2004 03:20 AM


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