LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-11-2004, 02:32 PM   #1
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
What would I need to make a File Server / Web Server?


Here is what I want to do. I have an old p2 450Mhz, 128meg ram, 8 gig (adding a couple more) hard drive computer I got for free with my Laptop. I got 3 or 4 questions.

1. I want to make it into a server where people can download off it. And browse it to view forums and so forth.

2. I have red hat 9. Im going to install a basic X server so I can make my site, in HTML or whatever, (I don't know that language yet) but I don't know what servers I need to install to make what I want possible? Anyone with Red Hat knoledge could you tell me what I should install. (NOTE: I won't have X server running when I run the Web Server)

3. What do I need to know to make this possible? I know I need some HTML skills, but what else. And if you know a very good online place that teaches HTML could you give me the link? (Im not going to buy anything, so don't worry about books.)

4. How do I get passed my router? I tried making dedicated servers a few times, but it seems that my Linksys Wireless G router is blocking it. How would I get passed it?

Thanx in advance!
 
Old 12-11-2004, 03:15 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,393

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
1. this is not a question.

2. apache. not affected by it being redhat in the slightest. personally i wouldn't use it with X, if it's a dedicated server tehn edit your documents via nfs share to your normal work station.

3. erm.. nothing really.. a default apache install will be fine to serve html pages. to add a forum like vBulletin (what LQ is based on) then you'd need a db backend, most likely mysql. everything will most likely

4. check your router config. it will be able to enable NAT and port forwarding somewhere in it's interface.
 
Old 12-11-2004, 03:39 PM   #3
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Original Poster
Rep: Reputation: 30
1. Eheh, guess this wasn't a question.

2. What exaclty is mysql, I have a book on it, but its for advance users, I don't konw what a db backend is. Can you explain a little bit more in detail?

3. Ok apache it is. Will this also allow me to upload files to it, so ppl can download from it? Sry, just asking every question I can think of.

4. How do I check my router config?
 
Old 12-11-2004, 03:50 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,393

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
2. it's an sql database... the place where the posts get stored and read from. http://mysql.org

3. apache can do uploads if you configure it correctly, something i've not done before. personally though i'd say just use an ftp server as well (like vsftpd or proftpd) to upload files.

4. how would i know? you bought the thing. you had a manual with it i take it...
 
Old 12-11-2004, 05:35 PM   #5
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Ok. Sry. I won't ask you questions anymore.
 
Old 12-11-2004, 09:02 PM   #6
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Original Poster
Rep: Reputation: 30
I can't find my manual. I wen't to Linksys but they didn't have it. Whats in my manual that I need anyways? Someone help?
 
Old 12-12-2004, 04:46 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,393

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
most cheap off-the-shelf home routers have an http front end of some sort, to allow you to sort out the details of how it works. this is naturally nothing to do with linux whatsoever. There's probably a downloadable PDF on linksys.com if you lost the manual.
 
Old 12-12-2004, 04:58 AM   #8
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Which router? Try using:
http://192.168.1.1

Your default login is a blank username (I think) and the password "admin" (I think). It's a been a while, but I think those were the defaults on both of my last 2 Linksys routers. The default router IP for a Netgear is 192.168.0.1

But, as Acid is hinting, this is completely configurable in your router. You may have changed all of the above, some of it, or have never even seen the router web interface. Depending on the version of the firmware you have on whatever router you've got, the terminology may differ. But if you have a tab called "Gaming and Applications" (or something close to that) that is your port forwarding tab. Forward port 80 to the local IP (private) that your server will run from.

Good luck.

Cool
 
Old 12-12-2004, 03:28 PM   #9
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Original Poster
Rep: Reputation: 30
O kick ass. Thanx master C.
 
Old 12-13-2004, 02:03 AM   #10
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Ok. What exactly do I do when im in the router config?
 
Old 12-13-2004, 03:45 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,393

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
You need to enable port forwarding, and open that external port if needed. Quite why we're telling you how to use a piece hardware you bought yourself (or your parents) i'm not sure... download the manual from linksys website and read it.
 
Old 12-15-2004, 08:21 AM   #12
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Which router? We can link you to the manual if you are having problems locating it (although Linksys's website is very easy to use IMHO to find the manuals).

Cool
 
Old 12-19-2004, 12:15 PM   #13
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Original Poster
Rep: Reputation: 30
WRT56G, or a Linksys Wireless G router. Thanx!
 
Old 12-19-2004, 10:17 PM   #14
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Matey, if you can't figure out how to work your router then you'll struggle setting up a web server.

I ran a web + shoutcast server on a Gentoo box before and it's no challenge but you need to be able to troubleshoot yourself. Once you setup Apache, you'll probably want to install mod_php and/or mod_python or mod_ruby or something and MySQL to get going. Read the manuals, Apache and PHP and MySQL have excellent manuals, Python isn't all that bad either. Have you setup Apache yet? Can you view pages over the network by typing the servers local IP into a browser?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
adding more web servers to make web server farm linuxboy69 Linux - Networking 5 07-09-2004 09:50 AM
Web server/File Sharing Server sschoenb Solaris / OpenSolaris 1 06-24-2004 03:56 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration