|
|
环境:SunOS szxsolaris 5.10 s10_69 i86pc i386 i86pc
Solaris 10 s10_69 X86
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 05 October 2004
1,设定主机名(/etc/hosts /etc/hostname.网卡名 /etc/nodename /etc/net/ticots/hosts /etc/net/ticosord/hosts /etc/net/ticlts/hosts)
2.网卡配置
# ls /dev |grep “网卡名”
# vi /etc/hostname.网卡名 //配置网卡接口名称
# vi /etc/inet/netmasks //配置子网掩码
如:192.168.0.0 255.255.255.0
# vi /etc/inet/hosts //配置网卡接口地址
如:127.0.0.1 localhost
192.168.0.239 solaris
# vi /etc/inet/ipnodes //统一配置文件
如:
127.0.0.1 localhost
192.168.0.239 solaris host |
|