Rolling Out Unattended Debian Installations (Part 1) - page 3
Requirements and OverviewWhile 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:
# if your server has multiple network cards, specify
# the correct one here SERVERINTERFACE=eth0
# the fai-setup script will create the "fai" user
# Name of log-server. If undefined, the install server will be used.
# writable directory on remote server, when using FTP protocol
# password for login to log server, when using FTP protocol
# the configuration space on the install server
# the location of the config space, as seen by the install client
# it can also be overwritten with T170 via BOOTP
# the local configuration directory on the install client
# 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.
Now run the fai-setup script:
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.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Gives Up on Upstart, Ubuntu and Linux Kernel Updates