LinuxQuestions.org
Register a domain and help support LQ
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 06-27-2014, 06:32 AM   #1
Anna23
LQ Newbie
 
Registered: Jun 2014
Posts: 9

Rep: Reputation: Disabled
Need to setup NFS based OS installation server.


Hi,

I am trying to setup a NFS based install server through which I can install Fedora to my client PCs.

I don't want to use DVD/CD anymore.

Can someone help me with the procedure.

-Thx
 
Old 06-27-2014, 07:37 AM   #2
kbnuts
Member
 
Registered: Apr 2014
Posts: 45

Rep: Reputation: Disabled
make your directory
put your iso contents in it.
edit /etc/exports and put contents like
/isodir *(ro)

However what you really want (imo) is to setup a pxe server. there's a few youtube videos to help but you need tftp server, dhcp and syslinux (basically you run dhcp on your box so it can point other machines to the pxe server)
that way you turn the thing on, write an automated anaconda kickstart file and you're laughing.
 
Old 06-27-2014, 07:59 AM   #3
Anna23
LQ Newbie
 
Registered: Jun 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks kbnuts for quick reply..

I am done with PXEboot and DHCP stuffs, actually I am looking for automated KS file.
My client will use 192.168.1.100 and Server IP is 192.168.0.99. ISO is at /data/network-install/ISO.
Could you help me with KS file.
Appreciate all who help me on this.

-Thx
 
Old 06-27-2014, 10:45 AM   #4
canussie
Member
 
Registered: Jun 2014
Location: Calgary
Posts: 50

Rep: Reputation: 7
You should really look into using cobbler. Cobbler can make installing/automating installations VERY simple.
 
Old 06-27-2014, 10:55 AM   #5
notsure
Member
 
Registered: Jun 2012
Location: Detroit
Distribution: Arch x86_64
Posts: 112

Rep: Reputation: 10
kickstart is a GUI based app that will create your ks.cfg file. It's in CentOS so I'll assume Fedora has it.

However, you need to initially boot the system with a CD/DVD/USB and point the install to the ks file.

It sounds like you want cobbler as stated above.

--edit replaced PXE with cobbler after I searched for what cobbler was

Last edited by notsure; 06-27-2014 at 10:57 AM.
 
Old 06-27-2014, 10:56 AM   #6
canussie
Member
 
Registered: Jun 2014
Location: Calgary
Posts: 50

Rep: Reputation: 7
cobbler manages dhcp/pxe/kickstart ect. Does the lot.
 
Old 06-27-2014, 10:59 AM   #7
kbnuts
Member
 
Registered: Apr 2014
Posts: 45

Rep: Reputation: Disabled
as to the ks file just alter the anaconda.ks.cfg you have in /root/ and copy it over.
Change the install location for cdrom to be
ks=nfs:192.168.0.99:/data/network-install/ks.cfg
method=nfs:192.168.0.99:/data/network-install/ISO
for network stuff
ip=192.168.1.100
netmask=255.255.255.0
gateway=whateverthegatewayis

don't forget to uncomment/edit the hard drive stuff.

The documentation on the hundreds of options you have are here: http://fedoraproject.org/wiki/Anaconda/Kickstart
You can run allsorts in the %post as well (it reads normal bash here if needed)
For example my pxe server at home names each server with two random swear words because I'm all grown up.
 
  


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
[SOLVED] LDAP and NFS server setup linux-noob Linux - Server 2 05-31-2014 01:34 PM
12.2 NFS installation - Where are the setup logfiles? tmcguinness Slackware 2 12-18-2008 02:17 PM
NFS server setup: what's wrong? purplefish Linux - Networking 9 08-20-2008 11:15 AM
CentOS based NFS Server and Mac OS X not mounting exported shares Jamesk5 Linux - Server 1 01-31-2008 04:15 PM
Firewall setup for NFS server, Suse 9.1 deh6 Linux - Networking 1 08-25-2004 03:24 AM


All times are GMT -5. The time now is 05:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration