LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-19-2006, 01:24 PM   #1
disastafer
LQ Newbie
 
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10

Rep: Reputation: 0
CD Server


I am trying to setup a linux box that with be able to distribute multiple cd or dvd images. The only thing I have been able to find is this CDServer-HOWTO.

Is this what I am looking for or is there something else out there?

Thanks for the help.
 
Old 12-19-2006, 01:35 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
sorry if i'm missing something, but a CD server is just a file server with cd images on it... what special functinality are you looking for over samba / nfs?
 
Old 12-19-2006, 01:44 PM   #3
bluesman2333
Member
 
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330

Rep: Reputation: 30
You are looking for a file server.
 
Old 12-19-2006, 02:12 PM   #4
disastafer
LQ Newbie
 
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10

Original Poster
Rep: Reputation: 0
It will be going into a school. I'd like to have all the cd/dvd the school will use on this server. Hopefully this will reduce lost cd/dvd and such.
 
Old 12-19-2006, 02:16 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yeah, so that's just samba and nfs. i guess you could be looking at some sort of web interface to mount different images on the fly, but i would think that just permanently mounting them would be more suitable, or maybe a proxy through autofs could add a little bit of dynamism to remove and configuration after the initial build.
 
Old 12-19-2006, 02:51 PM   #6
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
You could also try http://www.freenas.org/
It's a great and easy to use file server with web administration based on FreeBSD.
 
Old 12-19-2006, 03:51 PM   #7
bluesman2333
Member
 
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330

Rep: Reputation: 30
I've used Debian and SME successfully for file servers too.
 
Old 12-20-2006, 06:40 AM   #8
disastafer
LQ Newbie
 
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10

Original Poster
Rep: Reputation: 0
so I can make each cd/dvd it's own nfs/samba share. then have each machine access the cd/dvd they need as needed. Is there any way to automated the machine accessing the shares? This needs to be pretty simple because it is for younger kids.
 
Old 12-20-2006, 06:56 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you can, but i'd wonder where the benefit of a seperate share really would be though, why not just have a single share with a directory for each? the usability for the end user is really very straight forward.

If you are interested in making it more sophisticated on the management side you might want to look at this http://gentoo-wiki.com/HOWTO_Auto_mo...)#Config_files which does give a small example of the scenario i mentioned above. normally you'd use an /etc/fstab entry for each iso, which kinda sucks really. instead you can use autofs to map directories automatically.

for example you have a directory /var/iso/ which contains your iso images. you then have a blank directory /var/cds on which autofs lives. now it *should* be fairly simple to configure autofs to say that should someone wish to access an "example" cd, they go to the path of /var/cds/example (via nfs / samba etc...) and autofs takes that directory request and attempts to mount /var/iso/example.iso at that location. this sort of scenario means that you have to do absolutely nothing to integrate a new iso into the system that to drop it into the iso directory, and the rest is implicit. you do have the missing link of getting them to access the right path (as it wouldn't normally exist to click on) but in general, it'd be a very hands off mechanism.
 
Old 12-21-2006, 05:43 AM   #10
disastafer
LQ Newbie
 
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10

Original Poster
Rep: Reputation: 0
acid_kewpie, thanks for the link.

I finally got autofs working after many frustrating hours. For some reason I though autofs should run on the server instead of the client box. Once I put autofs on the client box and configured the files it worked like a charm. There is only last question/problem I have.

I was unable to use autofs to mount files from a remote nfs box. It will mount them from a nfs mount to the local machine. What am I missing here?
 
Old 12-21-2006, 05:50 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well i did mean to run autofs on the server, but i guess with the correct config you could mount an nfs located iso image locally rather than from the server... so mnay ways to achieve a single task.

not sure what problems you're having on the nfs side in your second part though...
 
Old 12-21-2006, 05:57 AM   #12
disastafer
LQ Newbie
 
Registered: Sep 2004
Distribution: ubuntu 6.10, fedora core 6
Posts: 10

Original Poster
Rep: Reputation: 0
Well I got thinking about. What sense does it make to have both the iso image and the iso image mounted through autofs on the same box. Basically each cd/dvd will use twice it's size on the hosting box. Or am I thinking about this wrong?

Here is the setup. hosting box has iso files shared via nfs as readonly. client box mounts the "iso share" then uses autofs to mount files from "iso share" on client box.
 
Old 12-21-2006, 05:59 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
mounting an image doesn't affect disk space at all, no need to worry about that.
 
  


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
best distrubition for nas server and p2p download server and web server geosko Linux - Distributions 8 10-13-2006 09:20 AM
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
Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus admore Linux - General 0 11-02-2004 08:46 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:45 PM.

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