Ocenite etot tekst:


my zhelaem podklyuchit' bezdiskovyj Sun3/50 v kachestve X-Terminala
pod imenem  moon. Dlya etogo nuzhno na servere sdelat' sleduyushchee:

********0)   ubezhdaemsya, chto na servere zapushcheny servery bootp, rarp, tftp, nfs
             pri nachal'noj zagruzke ne zabyt' zapustit' demonov:

inetd
rarpd      -a opredelyaet IP-adres po Ethernetnomu (na vse dostupnye interfejsy)
bootparamd    soobshchaet klientam parametry nachal'noj zagruzki
rpc.mountd -n obsluzhivaet nfs montirovaniya
nfsd          obsluzhivaet nfs zaprosy

(esli na hoste sushchetvuyut fajly /etc/ethers , /etc/bootparams ,
 /etc/exports, to eti demony avtomaticheski budut zapushcheny
pri nachal'noj zagruzke hosta)

               v fajle /etc/inetd.conf dolzhna byt' raskommentirovaana stroka
tftp	dgram	udp	wait	root	/usr/sbin/in.tftpd

********1)
/etc/hosts      zadaem imya mashiny
===================================================
193.124.148.97  moon moon.ac.msk.su
===================================================

*******2)
/etc/ethers     privyazyvaem IP imya hosta k ego ethernetnoj karte
===================================================
8:0:20:1:d6:f4  moon
===================================================

******3)
===================================================
/tftpboot/  dlya mashiny s IP adresom C17C9461 (193.124.148.97 shestnadcaterichn.)
            v etot katalog kladem fajl s setevym butil'nikom dlya moon
lrwxrwxrwx  1 /tftpboot/C17C9461 -> boot.sun3.sunos.4.1.1
===================================================

******4)
/etc/bootparams	ukazyvaem montiruemye dlya nego koren' i swap
===================================================
moon.ac.msk.su  root=ipsun:/export/root/star.sun3 \
	swap=ipsun:/export/swap/star
moon	root=ipsun:/export/root/star.sun3 \
	swap=ipsun:/export/swap/star
===================================================

******5)
/etc/exports   razreshaem montirovanie etih katalogov dlya mashiny moon
===================================================
/export/root/star.sun3	-access=star:moon,root=star:moon
/export/swap/star	-access=star:moon,root=star:moon
===================================================

******6)
skladyvaem /export/root/star.sun3/ polnocennuyu fajlovuyu sistemu dlya klienta

       teper' nemnogo liriki.
na moone, pri nachal'noj zagruzke my govorim:
b [imya_yadra]    (po umolchaniyu - vmunix)
boot-prom daet broadcastom rarp-zapros.
rarpd-demon lovit etot zapros, i otvechaet klientu ego IP adres
boot-prom klienta daet tftp-broadcast zapros prislat' na svoj IP butil'nik
tftp-demon servera posylaet klientu /tftpboot/C[ego_shestnadcaterichnyj_IP_adres]
etot fajl zapuskaetsya na kliente, delaet zapros soobshchit', u kogo lezhit
root dlya klienta, bootparamd-demon soobshchaet klientu, u kogo i gde
lezhit ego root, i prochie parametry, ispol'zuemye pri zagruzke.
butil'nik gruzit yadro iz proeksportirovannogo dlya klienta kataloga,
etot zhe katalog montiruetsya yadrom na root.

sobstvenno - eto vse. yadro zapuskaet init process, a uzh on
podnimaet Xserver v rezhime XDMC-query ili XDMC-broadcast.

Last-modified: Thu, 12 Feb 1998 07:30:20 GMT
Ocenite etot tekst: