Chinaunix首页 | 论坛 | 博客
  • 博客访问: 651498
  • 博文数量: 128
  • 博客积分: 265
  • 博客等级: 二等列兵
  • 技术积分: 1464
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-27 20:44
个人简介

just do it

文章分类

全部博文(128)

文章存档

2023年(1)

2020年(1)

2019年(1)

2018年(3)

2017年(6)

2016年(17)

2015年(16)

2014年(39)

2013年(34)

2012年(10)

分类: 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

 

  1.  

# 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

阅读(630) | 评论(0) | 转发(0) |
0

上一篇:SOLARIS的关机

下一篇:oracle stream脚本

给主人留下些什么吧!~~