just do it
分类: SOLARIS
2013-10-14 21:30:11
一、Server端:
1. /etc/hosts
127.0.0.1 localhost
ServerIP ServerNAME loghost
ClientIP ClientNAME
2. /etc/ethers
Client端以太网地址 ClientNAME
3. # share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
# /usr/lib/nfs/nfsd
# /usr/lib/nfs/mountd
# /cdrom/cdrom0/s0/Solaris_10/Tools/add_install_client ClientNAME sun4u
二、Client端
OK boot net -s
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
以虚拟机做完server端:
例:
一、Server端:
1. /etc/hosts
bash-3.00# more /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
192.168.0.17 sol10 loghost
192.168.0.22 sol02
2. /etc/ethers
bash-3.00# more /etc/ethers
0:3:ba:b:7d:8c sol02
# share -F nfs -o ro,anon=0 /cdrom/cdrom0/s0
# /usr/lib/nfs/nfsd
# /usr/lib/nfs/mountd
# /cdrom/cdrom0/s0/Solaris_10/Tools/add_install_client ClientNAME sun4u
二、Client端
OK boot net -s
---------------------------------------------------------------------------------------------------------------------------------------------------------------
以同处网络中的服务器做完server端
例:
一、Server端:
1. /etc/hosts
bash-2.05# more /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
192.168.100.51 oldmonitor oldmonitor.hecnc.com loghost
192.168.100.59 bimsc
2. /etc/ethers
bash-3.00# more /etc/ethers
0:14:4f:69:a1:70 bimsc
3.
# lofiadm -a /sol-10-u10-ga2-sparc-dvd.iso
# mkdir /wms
# mount /dev/lofi/1 /wms
# mount -F hsfs /dev/lofi/1 /wms
# share -F nfs -o ro,anon=0 /wms
# /usr/lib/nfs/nfsd
# /usr/lib/nfs/mountd
# /wms/Solaris_10/Tools/add_install_client -i 192.168.100.59 -e 0:14:4f:69:a1:70 bimsc sun4u
二、Client端
OK boot net -s