Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-18-2009, 02:33 AM   #1
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
Publishing ISO through webpage???

I have my senior administrators publish the ISO of different Red Hat Distribution through webpage.
The Structure seems to be like:

Index of /RHEL
 Name Last modified Size Description 

 Parent Directory   -  
 RHEL5.4/ 19-Aug-2009 13:18  -  
 RHEL5.164BIT/ 06-Dec-2007 20:30  -  
 RHEL5.264BIT/ 23-Sep-2008 18:54  -  
 RHEL5.332BIT/ 10-May-2009 06:32  -  
 RHEL5.364BIT/ 04-Mar-2009 15:19  -  
 RHEL5.464BIT/ 04-Jul-2009 05:27  -  
 RHEL5U34092/ 10-Jul-2009 13:49  -  
 RHEL5U34092BOOT/ 06-Jun-2009 04:52  -  
 RHEL532BIT/ 16-Jan-2008 19:10  -  
 RHEL564BIT/ 06-Dec-2007 10:02  -  
 RHELAS4U232BIT/ 16-Jan-2008 15:12  -  
 RHELAS4U264BIT/ 16-Jan-2008 15:12  -  
 RHELAS4U464BIT/ 26-Jan-2009 04:09  -  
 RHELAS4U532BIT/ 03-Jun-2007 12:46  -  
 RHELAS4U564BIT/ 17-May-2007 10:40  -  
 RHELAS4U664BIT/ 26-Jan-2009 04:09  -  
 RHELAS332BIT/ 13-Feb-2007 16:35  -  
 RHELES4U364BIT/ 09-Jun-2007 16:57  -  
 RHELES4U432BIT/ 09-Jan-2008 14:31  -  
 RHELES4U532BIT/ 03-Jan-2008 11:46  -  
 RHELES4U564BIT/ 05-Jun-2007 13:59  -  
 RHELES432BIT/ 14-Feb-2007 09:48  -  
 RHELES464BIT/ 15-Mar-2007 12:49
Say, On Clicking on one of OS:
 Index of /RHEL/RHELES464BIT
 Name Last modified Size Description 

 Parent Directory   -  
 EULA 17-Dec-2004 01:12  6.8K 
 GPL 17-Dec-2004 01:12  18K 
 RELEASE-NOTES-bn.html 07-Jan-2005 23:21  159K 
 RELEASE-NOTES-de.html 07-Jan-2005 23:21  106K 
 RELEASE-NOTES-en 07-Jan-2005 23:21  73K 
 RELEASE-NOTES-en.html 07-Jan-2005 23:21  105K 
 RELEASE-NOTES-es.html 07-Jan-2005 23:21  103K 
 RELEASE-NOTES-fr.html 07-Jan-2005 23:21  110K 
 RELEASE-NOTES-gu.html 07-Jan-2005 23:21  152K 
 RELEASE-NOTES-hi.html 07-Jan-2005 23:21  151K 
 RELEASE-NOTES-it.html 07-Jan-2005 23:21  104K 
 RELEASE-NOTES-ja.html 07-Jan-2005 23:21  113K 
 RELEASE-NOTES-ko.html 07-Jan-2005 23:21  108K 
 RELEASE-NOTES-pa.html 07-Jan-2005 23:21  145K 
 RELEASE-NOTES-pt_BR.html 07-Jan-2005 23:21  102K 
 RELEASE-NOTES-ta.html 07-Jan-2005 23:21  145K 
 RELEASE-NOTES-zh_CN.html 07-Jan-2005 23:21  94K 
 RELEASE-NOTES-zh_TW.html 07-Jan-2005 23:21  94K 
 RPM-GPG-KEY 17-Dec-2004 01:12  1.9K 
 RedHat/ 15-Mar-2007 09:16  -  
 SRPMS/ 15-Mar-2007 09:18  -  
 TRANS.TBL 08-Jan-2005 01:15  9.1K 
 autorun 07-Jan-2005 23:21  248  
 images/ 15-Mar-2007 09:15  -  
 isolinux/ 15-Mar-2007 09:16  -  


Apache/2.2.3 (Red Hat) Server at Port 80

Can anyone help me how could it be setup?
All we follow for installing the packages as:
mkdir /mnt/iso
mount -t nfs /mnt/iso

cd /mnt/iso
cd RedHat
rpm -ivh nmap<tab>
and there it installs the package.

Any Idea how could it be setup?

Last edited by your_shadow03; 10-18-2009 at 02:37 AM.
Old 10-18-2009, 05:20 AM   #2
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
I would ask your "Senior Administrators" how they do it.

If I was them, this is what I would do;

1. Setup Apache to allow Indexing of directories.

2. Download the ISOs for whichever Linux distro I wanted to share.

3. Move them into the "htdocs" directory (or whatever DocumentRoot was set to in the httpd.conf file).

4. Setup NFS, and share-out the "htdocs" directory as READ-Only.

5. Have a script run that would search the "htdocs" directory for ISOs and loop-back mount them at boot. As read-only of course.

Old 10-18-2009, 05:36 AM   #3
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
I think when I have done something similar in the past, I mounted a .iso file to a directory like...

mount -o loop /var/www/distro.iso /var/www/html/distro

Where /var/www/distro.iso is a normal version of the cd image and /var/www/html/distro refers to say

Not sure if that is what your after...

Last edited by r3sistance; 10-18-2009 at 05:38 AM.
Old 10-18-2009, 05:40 AM   #4
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Thanks to Both..
I got the concept..


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
Publishing hostname brgsousa Linux - Server 5 07-09-2008 04:38 PM
anonymous publishing frieza General 1 11-03-2006 02:05 AM
Browser publishing? nglbrkr Linux - Software 2 01-31-2006 12:24 AM
desktop publishing Smokeyone Linux - Software 3 09-22-2005 09:09 AM
Does anyone Know how to open either .iso.rz or these .iso.xdelta,.iso.bz2,.iso.lzma?? maximalred Debian 5 06-09-2004 07:15 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration