六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 105|回复: 0

solaris 10 一句话

[复制链接]

升级  0%

156

主题

156

主题

156

主题

进士

Rank: 4

积分
500
 楼主| 发表于 2013-1-16 16:45:26 | 显示全部楼层 |阅读模式
环境: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
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表