LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-10-2005, 02:46 AM   #1
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Rep: Reputation: 15
Question Can Linux do this in Cyber Cafe with such Spec??


Hello everyone,

I've been heard of an specification as below which has been applied in a Cyber Cafe locally:

Main Server Specification:
======================
- Celeron 500
- 256MB SDRam
- 20GB Harddisk


Client Computers
==============
- There are about 150 client computers (all in Windows XP Platform) in the CC for Internet surfing, Network Gaming and so on.

- Using ---> IPMASQ+Squid as the Proxy Server.

- Also the "Squid" has been used for setting up some rules on the "syntax" (for eg: Sex, fxxk, hardcore) to prevent the CC users to browse these website.

- Samba has been setup for "File Sharing", the boss from CC told that he is using this to enable about 60 client computers of watching Real format Movies with totally no problem at all. (p/s: the Real Movie are stored in a server locally, there are about 3000 movies and up to 8000 video Clips stored in the file server that's connect up to LINUX.

- He also setup the DHCP and DNS's CACHE for certain service.

- He claim that this make his Server to run up successfully with totally no problem at all after 6 months till now.


My Questions
===========
1) Is it possible?

2) May i know what is the usage of PROXY SERVER?

3) Why he need to setup the SQUID? and also IPMASQ?

4) There are about 60 compters open different RM format movie at the same time with no problem at all, I'm wonder, is that the Server which storing these RM movies must be a SCSI Harddisk so it only acquire such fast speed to support the file access request from 60 client computers?? I'm dont understand everything about how powerful a SERVER can be by using a such low computer specification but with a LINUX OS platform... as it just really amzed me as LINUX is so powerful!! can someone show me more about this and what LINUX can be?

5) I don't understand why he still need to setup the DHCP and the DNS's CACHE? What is the usage for this?

6) I just feel that this is a good idea since he can run up his Cyber Cafe like this. What do you guys think?

Lets try to exchange your idea on this ~~~


Last edited by seow_ming; 07-10-2005 at 02:55 AM.
 
Old 07-10-2005, 03:07 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
http://www.clarkconnect.com/ if you want 5 years of support.
http://www.ipcop.org/ if you want to handle support yourself.

No need to reinvent the wheel. You are probably the last person to want to do this. There are doc's and tutorials for each.
 
Old 07-10-2005, 03:55 AM   #3
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Thanks Thoreau,

but it seems not the page that lead me about how to configure the low spec of PC to be a server....

Last edited by seow_ming; 07-10-2005 at 09:02 AM.
 
Old 07-10-2005, 04:03 AM   #4
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
hm.....

the http://www.ipcop.org/ <--- This is seems like a Firewall for LINUX?? but i just need to know about how to configure the LINUX to be the server and then the rest computers is sharing the Internet Access, and also the file from the LINUX box hehe....
 
Old 07-10-2005, 04:03 AM   #5
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
1) Yes it is possible.
2) The Proxy server is used to retrieve the informatiom from the remote server and passes it onto the local browsers. The proxy server will keep the data for period of time so that the next person to retrieve tha page gets it from the local server and not the remote one. This saves on bandwidth usage.

3) squid is the proxy server. ipmasq is IP masquerade, this allows the CC computers on a closed private network to communicate with the internet.

4) the real player clients sort out the the different codecs for playback.

5) DHCP allows the computers on the local CC network to obtain an IP address. DNS cache is used to reolve site names to IP addresses.

6) If you want to give it a go, then go for it.
 
Old 07-10-2005, 05:38 AM   #6
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Michael Johnson,

Thanks for your clear explaination. But I'm still don't understand about my Questions no.4. It just seems not possible for a Celeron 500 + 256MB RAM of computer spec to support up to 60 clients by watching different Real Media Movies at a sametime. Can other people explain this to me? Do you guys think this is possible for such specification of LINUX SERVER to support the rest client request? Thanks
 
Old 07-10-2005, 07:13 AM   #7
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Look at the network. It is probably a 100Mhz network cards which is five times slower than the system it running on. The other 400Mhz is used to run all the applications required. The server would NOT be running a gui as this is unnessesary and just a waste of resources.
 
Old 07-10-2005, 09:10 AM   #8
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Michael Johnson,

Thanks again for the explaination. So what you mean is, it is POSSIBLE for the above spec to run on LINUX and supporting such operation. And if the system will running smoothly if it is in a Terminal without GUI right?

One more question here.

If you are the system administrator of the CC. If the System's harddisk is big enought for all the real format movie. Will you just store all the .rm movies adn clips in the LINUX System or You will use another system to be the FILE SERVER by storing all the movies and clips? Im just want to learn more about this as I think i could be very useful in the future.

As I'm not very good in Networking, so I could learn it from this

Thankyou for your patient to read and reply my post~~

Last edited by seow_ming; 07-10-2005 at 09:16 AM.
 
Old 07-10-2005, 06:02 PM   #9
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
A separate file server would be the way to go.
 
Old 07-12-2005, 10:31 AM   #10
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Why?
 
Old 07-12-2005, 07:08 PM   #11
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Load sharing across servers will give better reponse times. It's not really necessary but it helps. The main point is to have enough storage capacity and bandwidth. You can run it all on one server if you wish.
The second reason is backup.
 
Old 07-15-2005, 08:33 AM   #12
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Thanks,

So is it it will be better for me to use a LINUX BOX to be the server which store up the movies rather than windows. (what i mean here is about the system performance base on same hardware requirement but under different O/S)
 
Old 07-15-2005, 09:11 AM   #13
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Linux will always make a better and more stable server than windoze.
 
Old 07-15-2005, 10:04 AM   #14
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Files stored on the hard disk are cached into any remaining available RAM, thus if 30 people watch the same movie, one guy is reading it off the HDD and 29 are getting it off the RAM cache. It can be done just as easily in a samba share, but he could also have it in a local web server, which does the same thing.

The proxy (squid) allows cached web pages, same thing as above, if everyone goes to google then one request is sent to google's site and all the subsequent replies come off squid's cached copy.

DNS cache is the same deal, repeated hits to the same domains don't have to come down his Internet connection because they are also cached on his server.
 
Old 09-03-2005, 02:45 AM   #15
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
so may i know what will be the fastest way for me to copy all the huge movies files into the harddisk folder?(let says there are 100GB Files) Don't tell me, the best way is just using "cp" command? I'm sure there is a better way for doing this so the file will be copied in a faster way.
 
  


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
Any application that monitors usage time just like in cyber cafe? Niceman2005 Linux - Software 0 10-27-2005 08:44 AM
nis or ldap? and other questions for a cyber cafe el_pajaro! Linux - Networking 4 08-18-2005 12:22 PM
Linux Cafe Software?? matux Linux - Software 3 07-30-2005 02:47 PM
what Linux cyber cafe management software is out there? eantoranz Linux - Software 1 02-10-2005 07:48 PM
Linux Internet Cafe Elijah General 19 02-09-2005 06:06 PM

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

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