/usr/share/doc/HOWTO/ja-html/KickStart-HOWTO-7.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>RedHat Linux KickStart HOWTO: KickStart ¤ÎÀßÄê¥Õ¥¡¥¤¥ë</TITLE>
<LINK HREF="KickStart-HOWTO-8.html" REL=next>
<LINK HREF="KickStart-HOWTO-6.html" REL=previous>
<LINK HREF="KickStart-HOWTO.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="KickStart-HOWTO-8.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="KickStart-HOWTO-6.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="KickStart-HOWTO.html#toc7">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s7">7. KickStart ¤ÎÀßÄê¥Õ¥¡¥¤¥ë</A></H2>
<P>
<P>ÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤Ï 3 ¤Ä¤Î¼ç¤Ê¥»¥¯¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹:
<P>
<P>
<OL>
<LI> ¥·¥¹¥Æ¥à¾ðÊó(¥Ç¥£¥¹¥¯¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¾ðÊó¤ä¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÀßÄê)</LI>
<LI> ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë RedHat ¤Î¥Ñ¥Ã¥±¡¼¥¸</LI>
<LI> ¥¤¥ó¥¹¥È¡¼¥ë¸å¤Ë¼Â¹Ô¤¹¤ë¥·¥§¥ë¤Î¥³¥Þ¥ó¥É</LI>
</OL>
<P>
<P>¤³¤³¤ÇÀâÌÀ¤·¤Ê¤¤¤â¤Î¤â¾¤Ë¤¤¤¯¤Ä¤«¤¢¤ê¤Þ¤¹¤¬¡¤¤½¤ì¤âÆ°ºî¤¹¤ë¤È
<B>»×¤¤¤Þ¤¹</B>¡¥¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¤
<EM>misc/src/install/ks.samp</EM> ¤Ë¤¢¤ë KickStart ¤ÎÀßÄêÎã¤È
<EM>doc/README.ks</EM> ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡¥¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¤CD-ROM ¤Þ¤¿
¤Ï RedHat ¤Î¥ß¥é¡¼¥µ¥¤¥ÈÆâ¤Î RedHat ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Î¥È¥Ã¥×¥Ç¥£
¥ì¥¯¥È¥ê¤Ë¤¢¤ë <EM>i386</EM> ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡¥
<P>
<P>
<H2><A NAME="ss7.1">7.1 ¥·¥¹¥Æ¥à¾ðÊó</A>
</H2>
<P>
<P>ÍøÍѲÄǽ¤Ê¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Î¤¦¤Á¡¤É®¼Ô¤¬»È¤Ã¤Æ¤¤¤ë¤â¤Î¤ò°Ê²¼¤Ë¼¨¤·¤Þ¤¹:
<P>
<P>
<DL>
<DT><B>lang</B><DD><P>¸À¸ì¤ÎÀßÄê(±Ñ¸ì¤Ê¤É)
<BLOCKQUOTE><CODE>
<PRE>
lang en
</PRE>
</CODE></BLOCKQUOTE>
<DT><B>network</B><DD><P>¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÀßÄê(BOOTP ¤ä DHCP ¤Î»ÈÍѤʤÉ)
<BLOCKQUOTE><CODE>
<PRE>
network --bootp
</PRE>
</CODE></BLOCKQUOTE>
<DT><B>nfs</B><DD><P>¥¤¥ó¥¹¥È¡¼¥ë¸µ¤È¤Ê¤ë NFS ¥µ¡¼¥Ð¤È¥Ç¥£¥ì¥¯¥È¥ê¡¥»ØÄêÎã¤Ï°Ê²¼:
<BLOCKQUOTE><CODE>
<PRE>
nfs --server chicken.swedish-chef.org /mnt/cdrom
</PRE>
</CODE></BLOCKQUOTE>
NFS ¥µ¡¼¥Ð <EM>chicken.swedish-chef.org</EM> ¤ò»È¤¤¡¤RedHat ¥Ç¥£¥¹¥È¥ê
¥Ó¥å¡¼¥·¥ç¥ó¤ò <EM>/mnt/cdrom</EM> ¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¥Þ¥¦¥ó¥È¤·¤Þ¤¹¡¥
<DT><B>keyboard</B><DD><P>¥¡¼¥Ü¡¼¥É¤Î¼ïÎà¤ÎÀßÄê(Î㤨¤Ð¥¤¥®¥ê¥¹ÍÑ¥¡¼¥Ü¡¼¥ÉÅù)
<BLOCKQUOTE><CODE>
<PRE>
keyboard uk
</PRE>
</CODE></BLOCKQUOTE>
<DT><B>zerombr</B><DD><P>MBR(Master Boot Record) ¤ò¾Ãµî¤·¤Þ¤¹¡¥´û¸¤Î¥ª¥Ú¥ì¡¼¥Æ¥£
¥ó¥°¥·¥¹¥Æ¥à¤Î¥Ö¡¼¥È¥í¡¼¥À¤ò¥Ç¥£¥¹¥¯¤«¤é¾Ãµî¤·¤Þ¤¹¡¥
<DT><B>clearpart</B><DD><P>´û¸¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¾Ãµî¤·¤Þ¤¹¡¥Î㤨¤Ð¡¤¥¤¥ó¥¹¥È¡¼¥ë
Á°¤Ë´û¸¤Î¥Ç¥£¥¹¥¯¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÁ´¤Æ¾Ã¤¹Åù¤Î¾ì¹ç¤Ç¤¹¡¥
<BLOCKQUOTE><CODE>
<PRE>
clearpart --all
</PRE>
</CODE></BLOCKQUOTE>
<DT><B>part</B><DD><P>¥Ç¥£¥¹¥¯¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÀÚ¤ê¤Þ¤¹¡¥Î㤨¤Ð¡¤¥ë¡¼¥È¥Õ¥¡¥¤¥ë¥·¥¹¥Æ
¥à¤Ë 500MB ¤ò³ä¤êÅö¤Æ¤Þ¤¹¡¥
<BLOCKQUOTE><CODE>
<PRE>
part / --size 500
</PRE>
</CODE></BLOCKQUOTE>
<DT><B>install</B><DD><P>RedHat Linux ¤ò¿·µ¬¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡¥
<DT><B>mouse</B><DD><P>»ÈÍѤ¹¤ë¥Þ¥¦¥¹¤òÀßÄꤷ¤Þ¤¹¡¥Î㤨¤Ð¡¤PS/2 ¤Þ¤¿¤Ï PS/2 ¸ß´¹¤Î
¡Ö¥Ð¥¹¥Þ¥¦¥¹¡×¤Ç¤Ï°Ê²¼¤Î¤è¤¦¤ËÀßÄꤷ¤Þ¤¹¡¥
<BLOCKQUOTE><CODE>
<PRE>
mouse ps/2
</PRE>
</CODE></BLOCKQUOTE>
<DT><B>timezone</B><DD><P>¥¿¥¤¥à¥¾¡¼¥ó¤òÀßÄꤷ¤Þ¤¹¡¥Î㤨¤Ð¡¤¥¤¥®¥ê¥¹¤Î¥í¡¼¥«¥ë»þ¹ï
¤Ï°Ê²¼¤Î¤è¤¦¤ËÀßÄꤷ¤Þ¤¹¡¥
<BLOCKQUOTE><CODE>
<PRE>
timezone --utc Europe/London
</PRE>
</CODE></BLOCKQUOTE>
<DT><B>rootpw</B><DD><P>root ¤Î½é´ü¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤷ¤Þ¤¹¡¥¤³¤ì¤Ë¤Ïͽ¤á°Å¹æ²½¤·¤¿
¥Ñ¥¹¥ï¡¼¥Éʸ»úÎó¤òÍ¿¤¨¤Þ¤¹¡¥
<BLOCKQUOTE><CODE>
<PRE>
rootpw --iscrypted XaacoeGPmf/A.
</PRE>
</CODE></BLOCKQUOTE>
<DT><B>lilo</B><DD><P>¥Ö¡¼¥È¥í¡¼¥À LILO ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡¥¥Þ¥¹¥¿¡¼¥Ö¡¼¥È¥ì¥³¡¼
¥É(Master Boot Record, MBR)¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë»ØÄꤷ¤Þ
¤¹¡¥
<BLOCKQUOTE><CODE>
<PRE>
lilo --location mbr
</PRE>
</CODE></BLOCKQUOTE>
<DT><B>%packages</B><DD><P>¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸¡¥¾Ü¤·¤¯¤Ï¸å½Ò¤·¤Þ¤¹¡¥
<DT><B>%post</B><DD><P>¥¤¥ó¥¹¥È¡¼¥ë¸å¤Ë¼Â¹Ô¤¹¤ë¥·¥§¥ë¤Î¥³¥Þ¥ó¥É¡¥¾Ü¤·¤¯¤Ï¸å½Ò¤·¤Þ
¤¹¡¥
</DL>
<P>
<P>KickStart ¤¬ RedHat ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤òõ¤¹¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¤
<EM>RedHat</EM> ¤È¤¤¤¦Ì¾Á°¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬É¬ÍפÀ¤È¤¤¤¦¤³¤È¤ËÃí°Õ
¤·¤Æ¤¯¤À¤µ¤¤¡¥¤³¤Î¥Ç¥£¥ì¥¯¥È¥êÆâ¤Ë¤Ï¡¤³ºÅö¥×¥é¥Ã¥È¥Õ¥©¡¼¥àÍѤΠRedHat
¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡¥Àè¤Ë¼¨¤·¤¿Îã¤Ç¤Ï¡¤°Ê²¼¤Î¤è¤¦¤Ê¥Õ¥¡¥¤
¥ë¤È¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤ë¤Ï¤º¤Ç¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
/mnt/cdrom/RedHat
/mnt/cdrom/RedHat/base
/mnt/cdrom/RedHat/contents
/mnt/cdrom/RedHat/i386
/mnt/cdrom/RedHat/instimage
/mnt/cdrom/RedHat/RPMS
/mnt/cdrom/RPM-PGP-KEY
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>¥Í¥Ã¥È¥ï¡¼¥¯·Ðͳ¤Ç¤Ê¤¯ CD-ROM ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤ë¤Ê¤é¡¤¥Ç¥£¥ì¥¯¥È
¥ê¤ÎÆâÍƤϰʲ¼¤Î¤è¤¦¤Ë¤Ê¤ë¤Ï¤º¤Ç¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
RedHat
RedHat/base
RedHat/contents
RedHat/i386
RedHat/instimage
RedHat/RPMS
RPM-PGP-KEY
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>Ê£¿ô¥¢¡¼¥¥Æ¥¯¥Á¥ãÍѤΠRedHat ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤¬¤¢¤ë¾ì¹ç(
NFS ¥µ¡¼¥Ð¾å¤Ê¤É¤Ë¤¢¤ë¤Ï¤º¤Ç¤¹¡¥Ê£¿ô¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Î¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó
¤Ï 1 Ëç¤Î CD-ROM ¤Ë¼ý¤Þ¤ê¤Þ¤»¤ó)¤Ë¤Ï¡¤¤½¤ì¤¾¤ì¤Î¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó
¤Ë¤Ï¡¤°Ê²¼¤Î¤è¤¦¤Ê¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Î²¼¤ËƱ¤¸Ì¾Á°¤Î¥Õ¥¡¥¤¥ë·²¤ä¥Ç¥£¥ì¥¯
¥È¥ê·²¤¬¤¢¤ë¤È»×¤¤¤Þ¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
alpha/RPM-PGP-KEY
i386/RPM-PGP-KEY
sparc/RPM-PGP-KEY
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P><CODE>architecture</CODE>/Redhat/<CODE>architecture</CODE> ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬Â¸
ºß¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó(Îã: <EM>i386/Redhat/i386</EM>)¡¥
<P>
<P>°Å¹æ²½¤·¤¿¥Ñ¥¹¥ï¡¼¥Éʸ»úÎó¤òºî¤ë¤Î¤Ï¡¤Perl ¤ò»È¤¨¤Ð¤È¤Æ¤â´Êñ¤Ç¤¹¡¥Îã
¤¨¤Ð°Ê²¼¤Î¤è¤¦¤Ë¹Ô¤¤¤Þ¤¹¡¥
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
% perl -e 'print crypt("schmurrdegurr", "Xa") . "\n";'p
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>¤½¤Î¾¤Î¥ª¥×¥·¥ç¥ó(¤ª¤è¤Ó¼ÂºÝ¤Ë¤Ï»È¤ï¤ì¤Ê¤¤¥ª¥×¥·¥ç¥ó)¤ò¼¨¤·¤Þ¤¹¡¥É®¼Ô
¤Ï»î¤·¤Æ¤¤¤Þ¤»¤ó:
<P>
<P>
<DL>
<DT><B>cdrom</B><DD><P>¥Í¥Ã¥È¥ï¡¼¥¯¤Ç¤Ï¤Ê¤¯ CD-ROM ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡¥
<DT><B>device</B><DD><P>¥Ç¥Ð¥¤¥¹¤Î¾ÜºÙ»ö¹à¤òÌÀ¼¨Åª¤ËÀë¸À¤·¤Þ¤¹¡¥»ØÄêÎã¤ò°Ê²¼¤Ë¼¨¤·
¤Þ¤¹¡¥
<BLOCKQUOTE><CODE>
<PRE>
device ethernet 3c509 --opts "io=0x330, irq=7"
</PRE>
</CODE></BLOCKQUOTE>
<CODE>device</CODE> ¥ª¥×¥·¥ç¥ó¤Ë»ØÄê¤Ç¤¤ëÃͤϡ¤SCSI ¥³¥ó¥È¥í¡¼¥éÍѤÎ
<CODE>scsi</CODE>, Æȼ« CD-ROM ¥É¥é¥¤¥ÖÍѤΠ<CODE>cdrom</CODE> ¤Ç¤¹¡¥
<DT><B>upgrade</B><DD><P>¿·µ¬¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤Ï¤Ê¤¯¡¤´û¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤ë¤â¤Î¤ò
¹¹¿·¤·¤Þ¤¹¡¥
<DT><B>xconfig</B><DD><P>X ¥¦¥£¥ó¥É¥¦¤Î¥µ¡¼¥Ð¡¤¥°¥é¥Õ¥£¥Ã¥¯¥«¡¼¥É¡¤¥â¥Ë¥¿¤òÀßÄꤷ
¤Þ¤¹¡¥
<BLOCKQUOTE><CODE>
<PRE>
xconfig --server "Mach64" --monitor "tatung cm14uhe"
</PRE>
</CODE></BLOCKQUOTE>
</DL>
<P>
<P>ºÇ¸å¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ï¤¢¤Þ¤ê¾Ü¤·¤¯Ä´¤Ù¤Æ¤¤¤Þ¤»¤ó¡¥¤È¤¤¤¦¤Î¤â¡¤É®¼Ô
¤Ï KickStart ¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¥Þ¥·¥ó¤Î¥³¥ó¥½¡¼¥ë¤Ç X ¤ò¼Â¹Ô¤¹¤ëͽÄ꤬
¤Ê¤¤¤«¤é¤Ç¤¹¡¥É®¼Ô¤Ï KickStart Æâ¤Ç <CODE>xconfig</CODE> ¤ò¼Â¹Ô¤¹¤ë¤ÈÆ°ºî
¤¬¤Á¤ç¤Ã¤ÈÊѤˤʤë¤Èʹ¤¤¤Æ¤¤¤Þ¤¹¤¬¡¤Æ±¤¸µ¡Ç½¤Ï <CODE>Xconfigurator</CODE> ¤ò»È¤Ã
¤Æ¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é¼Â¸½¤Ç¤¤Þ¤¹¡¥¤·¤¿¤¬¤Ã¤Æ¡¤X ¤ÎÀßÄê¤Ï¥¤¥ó¥¹¥È¡¼¥ë¸å
¤Î¥¹¥¯¥ê¥×¥È¤Ë»Ä¤·¤Æ¤ª¤¯¤Î¤¬Îɤ¤¤Ç¤·¤ç¤¦¡¥
<P>
<P>KickStart ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤ÎÉôʬ¤ò¼¨¤·¤Þ¤¹¡¥¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¤ÀèÄøÀâ
ÌÀ¤·¤¿¥ª¥×¥·¥ç¥ó¤òÁȤ߹ç¤ï¤»¤Æºî¤ê¤Þ¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
lang en
network --static --ip 198.168.254.253 --netmask 255.255.255.0
--gateway 198.168.254.1 --nameserver 198.168.254.2
nfs --server chicken.swedish-chef.org /mnt/cdrom
keyboard uk
zerombr yes
clearpart --all
part / --size 500
part swap --size 120
install
mouse ps/2
timezone --utc Europe/London
rootpw --iscrypted XaacoeGPmf/A.
lilo --location mbr
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>RedHat ¤Ë´Ø¤¹¤ë½ñÀҤΰìÉô¤Ë¤Ï¡¤¼ÂºÝ¤Ë¤ÏÆ°ºî¤·¤Ê¤¤ <CODE>network</CODE> ¥Ç¥£
¥ì¥¯¥Æ¥£¥Ö(<CODE>network --option</CODE>)¤ò¸Æ¤Ó½Ð¤¹¤è¤¦¤Êµ½Ò¤ò¹Ô¤Ã¤Æ¤¤¤ë
¤â¤Î¤¬¤¢¤ë¤Î¤ÇÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡¥Àµ¤·¤¤¸Æ¤Ó½Ð¤·Êý¤Ï¡¤<CODE>network</CODE>
¤Î¸å¤Ë <CODE>--static</CODE>, <CODE>--bootp</CODE>, <CODE>--dhcp</CODE> ¤Î¤¤¤º¤ì¤«
¤òµ½Ò¤·¤Þ¤¹¡¥BOOTP ¥ª¥×¥·¥ç¥ó¤È DHCP ¥ª¥×¥·¥ç¥ó¤ÏÊ̤Τâ¤Î¤Ç¤¢¤ë¤³¤È¤ò
³Ð¤¨¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡¥Î¾¼Ô¤ÏÊ̤Υ³¡¼¥É¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¤¯¤é¤¤°ã¤Ã¤Æ¤¤¤Þ¤¹¡¥
<P>
<P><CODE>part</CODE> ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ë¤Ï°ú¤¿ô <CODE>--grow</CODE> ¤òÄɲ乤뤳¤È
¤¬¤Ç¤¤Þ¤¹¡¥¤³¤Î°ú¤¿ô¤Ï¡¤»ØÄꤷ¤¿¥µ¥¤¥º¤è¤ê¤â¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÂ礤¯¤·
¤Æ¤è¤¤¤³¤È¤ò»Ø¼¨¤·¤Þ¤¹¡¥¤³¤Î»ØÄ꤬°ÕÌ£¤ò»ý¤Ä¤Î¤Ï¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬ 1 ¤Ä
¤¢¤ê¡¤¤³¤ì¤Ë <CODE>--grow</CODE> ¤È¤¤¤¦¥¿¥°¤¬ÉÕ¤¤¤Æ¤¤¤ë¾ì¹ç¤À¤±¤Ç¤·¤ç¤¦¡¥
<P>
<P>
<H2><A NAME="ss7.2">7.2 ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ñ¥Ã¥±¡¼¥¸</A>
</H2>
<P>
<P>KickStart ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Î packages ¥»¥¯¥·¥ç¥ó¤ÎÀèƬ¤Ë¤Ï¡¤
<CODE>%packages</CODE> ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤À¤±¤ò½ñ¤¤¤¿¹Ô¤òÃÖ¤¤Þ¤¹¡¥¤³¤Î¸å¤Ë¤Ï
2 ¤Ä¤Î¥¿¥¤¥×¤Î¤¦¤Á¤Î 1 ¤Ä¤¢¤ë¤¤¤ÏξÊý¤Î¥Ñ¥Ã¥±¡¼¥¸»ØÄê»Ò¤ò½ñ¤¤Þ¤¹¡¥
¤½¤ì¤¾¤ì¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¤RPM ¤Î̾Á°(¥Ð¡¼¥¸¥ç¥ó¤È¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Î¾ðÊó
¤Ï´Þ¤á¤Þ¤»¤ó)¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡¥¤Þ
¤¿¥Ñ¥Ã¥±¡¼¥¸¤Î¥°¥ë¡¼¥×¤Ï¡¤¥°¥ë¡¼¥×¤Î̾Á°¤ò»ØÄꤹ¤ì¤Ð¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤¤Þ
¤¹¡¥
<P>
<P>KickStart ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Î <CODE>packages</CODE> ¥»¥¯¥·¥ç¥ó¤ÎÀßÄêÎã¤ò°Ê²¼
¤Ë¼¨¤·¤Þ¤¹:
<P>
<BLOCKQUOTE><CODE>
<PRE>
%packages
@ Base
netkit-base
bind-utils
ncftp
rdate
tcp_wrappers
traceroute
cmu-snmp
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>¤µ¤Æ¡¤¤³¤ì¤é¤Î¥°¥ë¡¼¥×¤Ï²¿¤Ç¤·¤ç¤¦¤«? ¤¿¤¯¤µ¤ó¤Î¥°¥ë¡¼¥×¤¬¥Ç¥Õ¥©¥ë¥È¤Ç
ÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¤Í¡¥¤³¤ì¤Ï RedHat ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Î¥È¥Ã¥×¥ì¥Ù¥ë
¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë <EM>base/comps</EM> ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡¥
Ëܥɥ¥å¥á¥ó¥È¤Î¼¹É®¤Î»þÅÀ¤Ë¤ª¤±¤ë¥°¥ë¡¼¥×¤ò¼¨¤·¤Þ¤¹:
<P>
<P>
<UL>
<LI> Base</LI>
<LI> Printer Support</LI>
<LI> X Window System</LI>
<LI> Mail/WWW/News Tools</LI>
<LI> DOS/Windows Connectivity</LI>
<LI> File Managers</LI>
<LI> Graphics Manipulation</LI>
<LI> X Games</LI>
<LI> Console Games</LI>
<LI> X multimedia support</LI>
<LI> Console Multimedia</LI>
<LI> Print Server</LI>
<LI> Networked Workstation</LI>
<LI> Dialup Workstation</LI>
<LI> News Server</LI>
<LI> NFS Server</LI>
<LI> SMB (Samba) Connectivity</LI>
<LI> IPX/Netware(tm) Connectivity</LI>
<LI> Anonymous FTP/Gopher Server</LI>
<LI> Web Server</LI>
<LI> DNS Name Server</LI>
<LI> Postgres (SQL) Server</LI>
<LI> Network Management Workstation</LI>
<LI> TeX Document Formatting</LI>
<LI> Emacs</LI>
<LI> Emacs with X windows</LI>
<LI> C Development</LI>
<LI> Development Libraries</LI>
<LI> C++ Development</LI>
<LI> X Development</LI>
<LI> Extra Documentation</LI>
</UL>
<P>
<P>¤³¤Î¥ê¥¹¥È¤Ï¼êÆ°¥¤¥ó¥¹¥È¡¼¥ë¤Î»þ¤Ë¥æ¡¼¥¶¤¬¿Ò¤Í¤é¤ì¤ë³Æ¼ïÀßÄê¤ËÂбþ¤·¤Æ
¤¤¤ë¤³¤È¤Ë¤ªµ¤¤Å¤¤«¤È»×¤¤¤Þ¤¹¡¥°ìÉô¤Î¥Ñ¥Ã¥±¡¼¥¸¤ÏÊ£¿ô¤Î¥°¥ë¡¼¥×¤Ë´Þ¤Þ
¤ì¤Æ¤¤¤Þ¤¹¤¬¡¤¤½¤ì¤é¤Î¥°¥ë¡¼¥×¤òƱ»þ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤âÌäÂê¤Ï¤¢¤ê¤Þ¤»
¤ó¡¥<EM>comps</EM> ¥ê¥¹¥ÈÃæ¤Î³Æ¥°¥ë¡¼¥×¥¨¥ó¥È¥ê¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤
¤Þ¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
0 Extra Documentation
sag
lpg
howto
faq
man-pages
end
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>̾Á°(¾å¤Î¥ê¥¹¥È¤ÎºÇ½é¤Î¹Ô)¤ÎÎÙ¤¬ <EM>1</EM> ¤Ç¤¢¤ë¥°¥ë¡¼¥×¤Ï¡¤¥Ç¥Õ¥©¥ë
¥È¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤ë¤â¤Î¤È¤·¤ÆÁªÂò¤µ¤ì¤Þ¤¹¡¥¤³¤Î¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¤ÆÆÈ
¼«¤Î¥°¥ë¡¼¥×¤òºî¤ë¤³¤È¤ä¡¤´û¸¤Î¥°¥ë¡¼¥×¤òºÆÄêµÁ¤¹¤ë¤³¤È¤Ë¤è¤ê¡¤Linux
¤Î¥¤¥ó¥¹¥È¡¼¥ë½èÍý¤ò¤µ¤é¤Ë¥«¥¹¥¿¥Þ¥¤¥º¤Ç¤¤Þ¤¹¡¥
<P>
<P>
<H2><A NAME="ss7.3">7.3 ¥¤¥ó¥¹¥È¡¼¥ë¸å¤Î¥·¥§¥ë¥³¥Þ¥ó¥É</A>
</H2>
<P>
<P>¤³¤Îµ¡Ç½¤¬Â¿Ê¬ºÇ¤âÆÃÉ®¤¹¤Ù¤¤â¤Î¤Ç¤¢¤ê¡¤¼êÆ°¥¤¥ó¥¹¥È¡¼¥ë¤Ë¤Ï¤³¤ìľÀܤË
Âбþ¤¹¤ë¤â¤Î¤Ï¤¢¤ê¤Þ¤»¤ó¡¥¤³¤³¤Ç¹Ô¤¨¤ë¤³¤È¤Ï¥·¥§¥ë¤Î¥³¥Þ¥ó¥ÉÎó¤ò»Ø
Äꤹ¤ë¤³¤È¤Ç¤¢¤ê¡¤¼Â¹Ô¤µ¤ì¤ë¤Î¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤Î¼çÍפÊÉôʬ(¥Ç¥£¥¹¥¯¤Î¥Ñ¡¼
¥Æ¥£¥·¥ç¥óʬ³ä¡¤¥Ñ¥Ã¥±¡¼¥¸¥¤¥ó¥¹¥È¡¼¥ëÅù)¤¬½ª¤ï¤Ã¤¿¸å¤Ë¤Ê¤ê¤Þ¤¹¡¥
<P>
<P>KickStart ¤ÎÀßÄê¥Õ¥¡¥¤¥ëÃæ¤Ë¤ª¤¤¤Æ¡¤¤³¤Î¥»¥¯¥·¥ç¥ó¤ÎÀèƬ¤Î°õ¤Ï
<CODE>%post</CODE> ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ç¤¹¡¥¤³¤ì°Ê¹ß¤ÎÉôʬ¤Ç¤Ï¡¤¿·¤·¤¯¹½ÃÛ¤·¤¿
Linux ¥·¥¹¥Æ¥à¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤òÁ´¤Æ»ÈÍѤ¹¤ë¤³¤È
¤¬¤Ç¤¤Þ¤¹¡¥»ØÄêÎã¤ò°Ê²¼¤Ë¼¨¤·¤Þ¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
%post
ln -s /etc/rc.d/init.d /etc/init.d
ln -s /etc/rc.d/rc.local /etc/rc.local
ln -s /usr/bin/md5sum /usr/bin/md5
ln -s /usr/bin/perl /usr/local/bin/perl
chmod ug-s /bin/linuxconf
mkdir /var/tmp/tmp
perl -spi -e 's!image=/boot/vmlinuz-.*!image=/boot/vmlinuz!' /etc/lilo.conf
rm /etc/rc.d/rc*.d/*sendmail
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>I/O ¥ê¥À¥¤¥ì¥¯¥·¥ç¥ó¤ä¥Ò¥¢¥É¥¥å¥á¥ó¥È¤ò»È¤¦¤³¤È¤â¤Ç¤¤Þ¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
cat <<EOF >>/etc/passwd
squid:*:102:3500:Squid Proxy:/usr/squid:/bin/bash
EOF
cat <<EOF >>/etc/group
cache:x:3500:
EOF
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>°Ê²¼¤Ë¼¨¤¹Îã¤Ï¡¤¥·¥¹¥Æ¥à¤Îµ¯Æ°¥¹¥¯¥ê¥×¥È¤ò½¤Àµ¤¹¤ë¤â¤Î¤Ç¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
cat <<EOF >>/etc/rc.local
echo 8192 > /proc/sys/kernel/file-max
echo 32768 > /proc/sys/kernel/inode-max
[ -x /usr/sbin/sshd ] && /usr/sbin/sshd
[ -x /usr/sbin/cfd ] && /usr/sbin/cfd
EOF
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>¤³¤ì¤Ï <EM>crontab</EM> ¤Î¥¨¥ó¥È¥ê¤ÎÀßÄêÎã¤Ç¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
cat <<EOF >/tmp/crontab.root
# Keep the time up to date
0,15,30,45 * * * * /usr/sbin/ntpdate -s eggtimer 2>&1 >/dev/null
# Recycle Exim log files
1 0 * * * /usr/exim/bin/exicyclog
# Flush the Exim queue
0,15,30,45 * * * * /usr/exim/bin/exim -q
EOF
crontab /tmp/crontab.root
rm /tmp/crontab.root
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>Æȼ«¤Ëºî¤Ã¤¿ RPM ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤â¤Ç¤¤Þ¤¹:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
rpm -i ftp://chicken.swedish-chef.org/rpms/squid.rpm
rpm -i ftp://chicken.swedish-chef.org/rpms/ssh.rpm
rpm -i ftp://chicken.swedish-chef.org/rpms/exim.rpm
rpm -i ftp://chicken.swedish-chef.org/rpms/cfengine.rpm
rpm -i ftp://chicken.swedish-chef.org/rpms/linux.rpm
ssh-keygen -b 1024 -f /etc/ssh_host_key -N ""
depmod -a
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>¤³¤ì¤ÈƱ¤¸¸ú²Ì¤Ï¡¤¼Â¹Ô¤·¤¿¤¤¥³¥Þ¥ó¥É¤ò´Þ¤à RPM ¥Ñ¥Ã¥±¡¼¥¸¤òºî¤ë¤³¤È¤Ë
¤è¤Ã¤Æ¤â¼Â¸½¤Ç¤¤ë¤³¤È¤òÃΤäƤª¤¤¤Æ¤¯¤À¤µ¤¤¡¥¾Ü¤·¤¯¤Ï¸å¤ÇÀâÌÀ¤·¤Þ¤¹¡¥
¤³¤Î¤è¤¦¤Ê RPM ¥Ñ¥Ã¥±¡¼¥¸¤ËÉÕ¤±¤ë̾Á°¤ÏÃí°Õ¤·¤Æ·è¤á¤Æ¤¯¤À¤µ¤¤¡¥¤½¤¦¤¹
¤ì¤Ð¤³¤ì¤òºÇ½é(Îã: 'aaa' ¤Ç»Ï¤Þ¤ë̾Á°¤ò»ØÄê)¤äºÇ¸å(Îã: 'zzz' ¤Ç»Ï¤Þ¤ë
̾Á°¤ò»ØÄê)¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤»¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡¥
<P>
<P>root ¤Î crontab ¥¨¥ó¥È¥ê¤òÀßÄê¤Ç´í¸±¤¬Èæ³ÓŪ¾®¤µ¤¤ÊýË¡¤Ï¡¤¥¨¥ó¥È¥ê¤ò
<EM>/etc/cron.hourly</EM>,
<EM>/etc/cron.daily</EM>, <EM>/etc/cron.weekly</EM>,
<EM>/etc/cron.monthly</EM> ¤Ë¥Õ¥¡¥¤¥ë¤È¤·¤ÆºîÀ®¤¹¤ë¤³¤È¤Ç¤¹¡¥
<P>
<P>Æȼ«¤Î RPM ¥Ñ¥Ã¥±¡¼¥¸¤òºî¤ë¤¿¤á¤Î¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤ÏÉÕÏ¿ B ¤ò¤´Í÷¤¯¤À
¤µ¤¤¡¥
<P>
<P>
<HR>
<A HREF="KickStart-HOWTO-8.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="KickStart-HOWTO-6.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="KickStart-HOWTO.html#toc7">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|