毕业四年,一直在 windows 下做开发,来到了这家公司工作,总被一些使用命令行的家伙笑话,他们号称是 unix 高手,所以,决定学习一下 unix, 查了一下,公司用的 unix Sun Solaris. 决定在自己家的机器上安装一个 Sun Solaris. 下面详细的叙述一下安装的步骤,
 
 
2. 把这 5 ISO 分别刻录到 5 CD 盘上。安装盘准备好了,开始安装系统。
 
3. 我的机器上原来安装有 Windows XP ,所以,我要安装双系统在我的机器上。在 Solaris 的安装过程,只能识别 windows 下的 C 盘( Primary Disk ),其他所有逻辑盘和未用空间都被认为是一块可以安装 Solaris 的空闲区,所以, 我只好把所有除了 C 盘以外所有的空间都备份。
 
3. 开始安装 Solaris. 重启机器,进入 bios, 设置从光驱启动,重启。
 
4. 进入安装程序,选择安装的界面语言和决定其他一些选项,然后,开始选择图形界面还是文本界面,建议选择图形界面,然后继续。
 
5. 选择了图形界面就容易得多了,图形界面和安装 Windows 基本差不多。但是应该注意有一些选项。
 
    1). 在输入网络用户名的时候,一定不要有特殊字符,例如, -.
 
    2). 安装程序询问是 1. Standard 2. Customize, 一定要选择 2. Customize, 否则,标准安装将会跳过第 3,4 张盘, JDS 就不会被默认安装。
 
    3). 选择哪些软件组被安装。 请选择 The whole group plus OEM. 类型选择 Default Customize, 最好选择 Customize, 然后确认所有的程序都被选择。 这个原因和第 2 )个是一样的。不知道是不是安装程序的一个 Bug.
 
6. 然后,重启机器, 默认进入得图形界面 JDS/CDE
 
7. 打开一个命令行终端,执行命令, ifconfig -a, 如果,只有 lo0, 那说明网卡驱动没有安装。
 
8. 然后,我找的我得网卡是 BROADCOM 4401   打开了 Sun HCL: http://www.sun.com/bigadmin/hcl/data/sol/components/views/networking_all_results.page1.html   其中有一项是
 
  42. Broadcom  
Networking: 10/100 Ethernet
On-Board
 
  这就是我的网卡,打开描述 http://www.sun.com/bigadmin/hcl/data/components/details/923.html ,里面说明哪里去下载驱动, http://homepage2.nifty.com/mrym3/taiyodo/eng/ ,共两个文件,只下载第一个 X86 的驱动就行了。
 
9. 下载后,解压,是驱动的源程序和 make 程序,里面有一个文件, Readme, 按照里面的步骤安装网卡驱动,然后,并按照其步骤配置。
 
10. 重启机器,重启后,就可以上网了。

All of the configuration about net.

# cat /etc/hostname.bfe0
robert

# cat /etc/resolv.conf
nameserver 192.168.0.1

# cat /etc/inet/hosts
#
# Internet host table
#
192.168.0.101   localhost       loghost robert  # Added by DHCP

# cat /etc/inet/netmasks
128.32.0.0 255.255.255.0

# cat /etc/nsswitch.conf
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

#
# /etc/nsswitch.dns:
#
# An example file that could be copied over to /etc/nsswitch.conf; it uses
# DNS for hosts lookups, otherwise it does not use any other naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

# DNS service expects that an instance of svc:/network/dns/client be
# enabled and online.

passwd:     files
group:      files

# You must also set up the /etc/resolv.conf file for DNS name
# server lookup.  See resolv.conf(4).
hosts:      files dns

# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes:   files dns

networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files
bootparams: files
publickey:  files
# At present there isn't a 'files' backend for netgroup;  the system will
#   figure it out pretty quickly, and won't use netgroups at all.
netgroup:   files
automount:  files
aliases:    files
services:   files
printers:       user files

auth_attr:  files
prof_attr:  files
project:    files

tnrhtp:     files
tnrhdb:     files

# cat /etc/dhcp.bfe0

可以参考的贴子和文章,

这里有一篇官方文档,
Please see the installation FAQ in Chinese,

Please see the item about network adaptor not found.