/[fai]/trunk/INSTALL
ViewVC logotype

Contents of /trunk/INSTALL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16 - (show annotations) (download)
Fri Jun 30 15:06:47 2000 UTC (12 years, 10 months ago) by lange
File size: 3523 byte(s)
min changes
1 # $Id$
2
3 HERE's A LOT TO DO !!!
4
5
6
7 INSTALLATION
8 ------------
9
10 A CVS repository for the development versions is available:
11
12 cvs -d :pserver:anonymous@poolserver.informatik.uni-koeln.de:/home/fai/cvs login
13 #password fai
14 cvs -d :pserver:anonymous@poolserver.informatik.uni-koeln.de:/home/fai/cvs co fai
15
16
17
18
19
20
21
22 Install the newest fai Debian package using apt-get or dpkg
23
24 Even the technical report was written for fai-1.0, it's good to start
25 with it to understand how fai works. The directory layout has changed
26 and new features has beeen added to fai. Read all README files for how to
27 build package and harddisk configurations. Since FAI uses cfengine
28 during the last part of installation, reading the cfengine manual is
29 also recommended (http://www.iu.hioslo.no/cfengine/).
30
31 The file links.html contains links to all important web sites for FAI.
32 In our examples, the root password will be set to: fai
33 -----------------------------------------------------------------------
34 FAI consists of these directories
35
36 usr
37 .
38 |-- lib
39 | `-- fai
40 | |-- etc
41 | |-- kernel
42 | `-- nfsroot
43 |-- local
44 | `-- share
45 | `-- fai
46 | |-- class
47 | |-- disk_config
48 | |-- fai_config
49 | |-- files
50 | |-- package_config
51 | `-- scripts
52 |-- sbin
53 `-- share
54 `-- doc
55 `-- fai
56 |-- examples
57 `-- templates
58
59
60
61 fai step by step
62 ----------------
63
64 Access to a (local) Debian mirror: via NFS, ftp or http
65 It's recommended to build a local mirror, in order to have access via NFS.
66 variables: FAI_PACKAGEDIR FAI_BASETGZ FAI_SOURCES_LIST
67
68 You have to setup a BOOTP server (bootpd) (/etc/bootptab). Fetch the
69 ethernet address (also called MAC address) of your network cards and
70 include them into bootptab. Read also README.collect_sysinfo how you
71 can get the ethernet addresses of your all hosts easily. There's an
72 example how bootptab should look like for fai.
73
74 Create a link /boot/fai/installimage, if you boot via network card or
75 prepare the boot floppy.
76
77 Start with T171="sysinfo" to see if your computer boots successfully.
78
79 The directory layout:
80
81 /usr/lib/fai/nfsroot contains the extracted base2_X.tgz data
82 /usr/lib/fai/etc apt.conf that is used by fai
83 /usr/lib/fai/kernel files for building kernel for tftp boot
84
85 cp -dpR /usr/share/doc/fai/templates/* /usr/local/share/fai
86
87
88 All base FAI scripts are located in subdirectory sbin/. The global
89 configuration file are in fai_config/. They are parse before the
90 installation begins. Subdirectory class/ contains all scripts and
91 files for defining classes for the client. The configuration for
92 partitioning the harddisk and mounting local filesystems are stored in
93 disk_config/. Information for software packages can be found in
94 packages_config/. The scripts that are executed at the end of the
95 installation are stored in subdirectory scripts/. Template for files
96 that are copied onto the clients are located in files/. Subdirectories
97 etc/ and kernel/ contain files for NIS and for BOOTPD and the scripts
98 for the building of different kernels.
99
100 These are important FAI_ Vairables:
101
102 XXXXX
103
104
105
106
107 FAI_NFSSERVER_USR Where the clients are going to mount the /usr
108 from. Not required.
109
110 read_config is used two times. This is a feature, not a bug. It can be
111 used, when you will not use a BOOTP server.
112
113
114 /boot/fai/$HOSTNAME must always be a link to an installimage !
115
116
117 kernelimage if it's not pointing to a debfile, it's the
118 version for the package kernel-image-*
119
120
121 Start with a minimal list of packages to install.

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5