LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-13-2009, 06:52 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
How Can I make NFS Repository for Linux Network?


I have around 10 ISO of Fedora, Ubuntu and RHEL System. I wnat to put them so as to share them through NFS.I have as of now put into /opt/distros directory. All i did is:

Code:
/opt/distros  10.14.*.*(rw,no_root_squash)
under /etc/exports.

What steps I need to follow up?
 
Old 10-13-2009, 07:39 AM   #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
Restart the NFS service and the ISO's should then be accessible over NFS, but how far do you want to get?
 
Old 10-14-2009, 03:45 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Sorry for the incomplete requirmnt.
All I wanted is to publish the ISO through web server.
Also, I need colleagues to mount those Repository like
Say, If the NFS Server Link is http://10.14.236.40/RHEL/
And Let client mount it as:


LINUX CLIENT MACHINE
------------------------
Code:
#mkdir /mnt/iso
#mount -t nfs 10.14.236.40:/mnt/lv01 /mnt/iso
# cd /mnt/iso
#cd RHEL
#cd RHELAS4U664BIT
#cd Redhat
#cd RPMS
It should work like this.

What my attempt was to create NFS like:
Code:
#cat /etc/exports


/mnt/lv07         10.14.*.*(ro,no_root_squash)

Are these entries correct? ( I mean ro,no_root_squash)

#service nfs restart
#service portmap restart
, then Configure Apache to locate this ISO Directorties.Do I need to make entry in httpd.conf?
What entry I need to enter? How can I make them possible access mounting through /mnt/lv07.
Pls Suggest.

Last edited by your_shadow03; 10-14-2009 at 03:49 AM.
 
  


Reply



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
Installing Linux through NFS overa network lucky123 Linux - Networking 2 02-02-2007 04:25 AM
Linux Network (Samba vs NFS) djgerbavore Linux - Networking 9 05-31-2005 12:48 AM
Trouble Installing Linux across the network using NFS krishvij Linux - Networking 5 02-23-2005 12:14 AM
How to make a parallel repository (e.g. with CVS) esben Linux - Software 0 01-18-2004 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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