OS/SOLARIS2005. 3. 18. 23:34
반응형
[/]# vi /etc/hosts
# Internet host table
#
127.0.0.1 localhost
192.168.1.226  unix226
192.168.1.227  unix227
192.168.1.228  unix228
192.168.1.229  unix229
192.168.1.230  unix230
192.168.1.231  unix231
192.168.1.232  unix232
192.168.1.233  unix233
192.168.1.234  unix234 unix226 netcollege.co.kr loghost
192.168.1.235  unix235
192.168.1.236  unix236
192.168.1.237  unix237
192.168.1.238  unix238
192.168.1.239  unix239
192.168.1.240  unix240
192.168.1.241  unix241
192.168.1.242  unix242
192.168.1.234  me


[/]# vi /etc/ethers
08:00:20:b0:80:de unix233
08:00:20:f8:42:52 unix236


[/]# mkdir jumpstart

[/]# cd jumpstart

[/jumpstart]# ls

[/jumpstart]# vi sysidcfg
system_locale=ko
system_locale=ko
timezone=ROK
timeserver=localhost
terminal=dtterm
name_service=NONE
network_interface=hme0{netmask=255.255.255.0 protocol_ipv6=no}
root_password='rZQJGqTPDT1BA'
security_policy=NONE

[/jumpstart]# vi host_class
install_type    initial_install
system_type     standalone
locale          ko
cluster         SUNWCXall
partitioning    explicit
filesys         c0t0d0s0        free    /
filesys         c0t0d0s1        512     swap
filesys         c0t0d0s3        10      /p1
filesys         c0t0d0s4        10      /p2
filesys         c0t0d0s5        10      /p3
filesys         c0t0d0s6        10      /p4
filesys         c0t0d0s7        10      /p5


[/jumpstart]# vi rules
any - - host_class -


[/jumpstart]# l cd /export/install/Solaris_8/Misc/justart_sample

[/export/install/Solaris_8/Misc/jumpstart_sample]# ls
any_machine      net924_sun4c     upgrade          x86-class
check*           rules            x86-begin
host_class       set_root_pw*     x86-begin.conf/


[/export/install/Solaris_8/Misc/jumpstart_sample]# cp check /jumpstart

[/export/install/Solaris_8/Misc/jumpstart_sample]# cd -

[/jumpstart]# ls
check*       host_class   rules        sysidcfg


[/jumpstart]# ./check
Validating rules...
Validating profile host_class...
The custom JumpStart configuration is ok.


[/jumpstart]# ls
check*       host_class   rules        rules.ok     sysidcfg


[/jumpstart]# cd /export/install/Solaris _8/Tools/

[/export/install/Solaris_8/Tools]# ls
Boot/                  dial*                  setup_install_server*
add_install_client*    rm_install_client*

[/export/install/Solaris_8/Tools]# ./add _ _install _client  \
> -s  unix234:/export/install  -c unix234:/jumpstart  \
> -p  unix234:/jumpstart  unix236 sun4u
saving original /etc/dfs/dfstab in /etc/dfs/dfstab.orig
Adding "share -F nfs -o ro,anon=0 /export/install" to /etc/dfs/dfstab
making /tftpboot
enabling tftp in /etc/inetd.conf
starting rarpd
starting bootparamd
updating /etc/bootparams
copying inetboot to /tftpboot


[/export/install/Solaris_8/Tools]# vi /etc/dfs/dfstab
# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command '/etc/init.d/nfs.server start' to run the NFS
# daemon processes and the share commands, after adding the very
# first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resou
rce]
# .e.g,
# share  -F nfs  -o rw=engineering  -d "home dirs"  /export/home2
share -F nfs -o ro,anon=0 /export/install
share  /jumpstart


[/export/install/Solaris_8/Tools]# unshareall
[/export/install/Solaris_8/Tools]# shareall
[/export/install/Solaris_8/Tools]# dfshares
RESOURCE                                  SERVER ACCESS    TRANSPORT
   unix234:/export/install               unix234  -         -
   unix234:/jumpstart                    unix234  -         -

[/export/install/Solaris_8/Tools]# cd /tftpboot

[/tftpboot]# ls -l
총 344
lrwxrwxrwx   1 root     other         26  1월  8일  20:37 C0A801EC -> inetboot.SUN4U.Solaris_8-1*
lrwxrwxrwx   1 root     other         26  1월  8일  20:37 C0A801EC.SUN4U -> inetboot.SUN4U.Solaris_8-1*
-rwxr-xr-x   1 root     other     158576  1월  8일  20:37 inetboot.SUN4U.Solaris_8-1*
-rw-r--r--   1 root     other        317  1월  8일  20:37 rm.192.168.1.236
lrwxrwxrwx   1 root     other          1  1월  8일  20:37 tftpboot -> ./

[/tftpboot]# vi /etc/bootparams
unix236 root=unix234:/export/install/Solaris_8/Tools/Boot install=unix
234:/export/install boottype=:in sysid_config=unix234:/jumpstart instal
l_config=unix234:/jumpstart rootopts=:rsize=32768
반응형
Posted by [PineTree]