Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Tutorials



Rolling Out Unattended Debian Installations (Part 1)
Configuring The FAI Server

Carla Schroder
Monday, December 6, 2004 03:47:59 PM

While the mirror files are downloading is a good time to configure the server. Open /etc/fai/sources.list and configure one section to point to your local FAI server; this is what the client machines will use. See /usr/share/doc/examples/etc/sources.list for help with this.

Next, edit /etc/fai/fai.conf. In this example, the mirror server is Windbag, configured to use FTP. You may choose FTP, HTTP, or NFS:

installserver=windbag
mirrorhost=$installserver

# if your server has multiple network cards, specify
# the correct one here SERVERINTERFACE=eth0

FAI_DEBMIRROR=$mirrorhost:/files/scratch/debmirror # the fai-setup script will create the "fai" user
LOGUSER=fai
FAI_LOGPROTO=ftp
# Name of log-server. If undefined, the install server will be used.
LOGSERVER=windbag
# writable directory on remote server, when using FTP protocol
LOGREMOTEDIR="upload"
# password for login to log server, when using FTP protocol
LOGPASSWD=

# the configuration space on the install server
FAI_CONFIGDIR=/usr/local/share/fai
# the location of the config space, as seen by the install client
# it can also be overwritten with T170 via BOOTP
FAI_LOCATION=$installserver:$FAI_CONFIGDIR
# the local configuration directory on the install client
FAI=/fai

# the type of operating system (linux, sunos)
OS_TYPE=`uname -s | tr /A-Z/ /a-z/`

Finally, edit /etc/fai/make-fai-nfsroot.conf. NFS is the fastest method for the client installations, the FAI server installation requires it, and you'll still have the option to use FTP or HTTP for the client installation.

NFSROOT_ETC_HOSTS="192.168.1.100 $mirrorhost"
FAI_DEBOOTSTRAP="sid file:/files/scratch/debmirror"

Now run the fai-setup script:

# fai-setup

This will take awhile, as it needs to build a nice chrooted NFS filesystem, generate SSH keys, and copy lots of files. When it is all finished, your FAI server is ready to go. Come back next week to learn how to configure and perform the client installation.

Next: Resources »

Skip Ahead

1 Requirements and Overview
2 Setting Up A Local Debian Mirror
3 Configuring The FAI Server
4 Resources





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers